From 0439dd4664ae6e0d8c4660e3e88d2122893450d9 Mon Sep 17 00:00:00 2001 From: sotatek Date: Thu, 26 Dec 2024 16:26:18 +0700 Subject: [PATCH 1/5] feat: rename XDEFI Wallet to Ctrl Wallet --- packages/example/src/wagmi.ts | 4 +- .../WalletButton/WalletButton.test.tsx | 2 +- packages/rainbowkit/src/locales/ar_AR.json | 6 +- packages/rainbowkit/src/locales/de_DE.json | 6 +- packages/rainbowkit/src/locales/en_US.json | 6 +- packages/rainbowkit/src/locales/es_419.json | 6 +- packages/rainbowkit/src/locales/fr_FR.json | 6 +- packages/rainbowkit/src/locales/hi_IN.json | 6 +- packages/rainbowkit/src/locales/id_ID.json | 6 +- packages/rainbowkit/src/locales/ja_JP.json | 6 +- packages/rainbowkit/src/locales/ko_KR.json | 6 +- packages/rainbowkit/src/locales/ms_MY.json | 6 +- packages/rainbowkit/src/locales/pt_BR.json | 6 +- packages/rainbowkit/src/locales/ru_RU.json | 6 +- packages/rainbowkit/src/locales/th_TH.json | 6 +- packages/rainbowkit/src/locales/tr_TR.json | 6 +- packages/rainbowkit/src/locales/uk_UA.json | 6 +- packages/rainbowkit/src/locales/vi_VN.json | 6 +- packages/rainbowkit/src/locales/zh_CN.json | 6 +- packages/rainbowkit/src/locales/zh_HK.json | 6 +- packages/rainbowkit/src/locales/zh_TW.json | 6 +- packages/rainbowkit/src/types/utils.ts | 2 +- .../walletConnectors/ctrlWallet/ctrlWallet.ts | 47 +++++ .../xdefiWallet.svg | 0 .../src/wallets/walletConnectors/index.ts | 4 +- .../metaMaskWallet/metaMaskWallet.ts | 2 +- .../xdefiWallet/xdefiWallet.ts | 44 ----- site/data/de/docs/custom-wallet-list.mdx | 150 +++++++-------- site/data/en-US/docs/custom-wallet-list.mdx | 150 +++++++-------- site/data/es-419/docs/custom-wallet-list.mdx | 150 +++++++-------- site/data/fr/docs/custom-wallet-list.mdx | 150 +++++++-------- site/data/hi/docs/custom-wallet-list.mdx | 150 +++++++-------- site/data/id/docs/custom-wallet-list.mdx | 150 +++++++-------- site/data/ja/docs/custom-wallet-list.mdx | 176 +++++++++--------- site/data/ko/docs/custom-wallet-list.mdx | 150 +++++++-------- site/data/ms/docs/custom-wallet-list.mdx | 150 +++++++-------- site/data/pt-BR/docs/custom-wallet-list.mdx | 150 +++++++-------- site/data/ru/docs/custom-wallet-list.mdx | 150 +++++++-------- site/data/th/docs/custom-wallet-list.mdx | 150 +++++++-------- site/data/tr/docs/custom-wallet-list.mdx | 150 +++++++-------- site/data/ua/docs/custom-wallet-list.mdx | 150 +++++++-------- site/data/vi/docs/custom-wallet-list.mdx | 150 +++++++-------- site/data/zh-CN/docs/custom-wallet-list.mdx | 164 ++++++++-------- site/data/zh-HK/docs/custom-wallet-list.mdx | 150 +++++++-------- site/data/zh-TW/docs/custom-wallet-list.mdx | 158 ++++++++-------- 45 files changed, 1485 insertions(+), 1482 deletions(-) create mode 100644 packages/rainbowkit/src/wallets/walletConnectors/ctrlWallet/ctrlWallet.ts rename packages/rainbowkit/src/wallets/walletConnectors/{xdefiWallet => ctrlWallet}/xdefiWallet.svg (100%) delete mode 100644 packages/rainbowkit/src/wallets/walletConnectors/xdefiWallet/xdefiWallet.ts diff --git a/packages/example/src/wagmi.ts b/packages/example/src/wagmi.ts index f864be49fc..87f28a7632 100644 --- a/packages/example/src/wagmi.ts +++ b/packages/example/src/wagmi.ts @@ -15,6 +15,7 @@ import { coinbaseWallet, compassWallet, coreWallet, + ctrlWallet, dawnWallet, desigWallet, enkryptWallet, @@ -57,7 +58,6 @@ import { valoraWallet, walletConnectWallet, wigwamWallet, - xdefiWallet, zealWallet, zerionWallet, } from '@rainbow-me/rainbowkit/wallets'; @@ -221,6 +221,7 @@ export const config = getDefaultConfig({ coin98Wallet, compassWallet, coreWallet, + ctrlWallet, dawnWallet, desigWallet, enkryptWallet, @@ -259,7 +260,6 @@ export const config = getDefaultConfig({ uniswapWallet, valoraWallet, wigwamWallet, - xdefiWallet, zealWallet, zerionWallet, ], diff --git a/packages/rainbowkit/src/components/WalletButton/WalletButton.test.tsx b/packages/rainbowkit/src/components/WalletButton/WalletButton.test.tsx index 5ea2951334..1e3c0955f3 100644 --- a/packages/rainbowkit/src/components/WalletButton/WalletButton.test.tsx +++ b/packages/rainbowkit/src/components/WalletButton/WalletButton.test.tsx @@ -68,7 +68,7 @@ describe('', () => { }); it('should throw error for non ready connectors', () => { - for (const connector of ['argent', 'xdefi', 'uniswap']) { + for (const connector of ['argent', 'ctrl', 'uniswap']) { expect(() => renderWithProviders(, { chains: [mainnet], diff --git a/packages/rainbowkit/src/locales/ar_AR.json b/packages/rainbowkit/src/locales/ar_AR.json index 96ac407025..dbe006c172 100644 --- a/packages/rainbowkit/src/locales/ar_AR.json +++ b/packages/rainbowkit/src/locales/ar_AR.json @@ -1130,11 +1130,11 @@ } } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "قم بتثبيت إضافة XDEFI Wallet", - "description": "نوصي بتثبيت XDEFI Wallet على شريط المهام للوصول الأسرع إلى محفظتك." + "title": "قم بتثبيت إضافة Ctrl Wallet", + "description": "نوصي بتثبيت Ctrl Wallet على شريط المهام للوصول الأسرع إلى محفظتك." }, "step2": { "title": "أنشئ محفظة أو استورد محفظة", diff --git a/packages/rainbowkit/src/locales/de_DE.json b/packages/rainbowkit/src/locales/de_DE.json index 9e572bbf5a..b7396d2145 100644 --- a/packages/rainbowkit/src/locales/de_DE.json +++ b/packages/rainbowkit/src/locales/de_DE.json @@ -1130,11 +1130,11 @@ } } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "Installieren Sie die XDEFI Wallet-Erweiterung", - "description": "Wir empfehlen, die XDEFI Wallet an Ihre Taskleiste anzuheften, um schnelleren Zugriff auf Ihre Wallet zu haben." + "title": "Installieren Sie die Ctrl Wallet-Erweiterung", + "description": "Wir empfehlen, die Ctrl Wallet an Ihre Taskleiste anzuheften, um schnelleren Zugriff auf Ihre Wallet zu haben." }, "step2": { "title": "Erstellen oder importieren Sie ein Wallet", diff --git a/packages/rainbowkit/src/locales/en_US.json b/packages/rainbowkit/src/locales/en_US.json index feeb3a8dc3..871f57eb01 100644 --- a/packages/rainbowkit/src/locales/en_US.json +++ b/packages/rainbowkit/src/locales/en_US.json @@ -1199,11 +1199,11 @@ } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "Install the XDEFI Wallet extension", - "description": "We recommend pinning XDEFI Wallet to your taskbar for quicker access to your wallet." + "title": "Install the Ctrl Wallet extension", + "description": "We recommend pinning Ctrl Wallet to your taskbar for quicker access to your wallet." }, "step2": { "title": "Create or Import a Wallet", diff --git a/packages/rainbowkit/src/locales/es_419.json b/packages/rainbowkit/src/locales/es_419.json index 4304e73dfc..65d5681860 100644 --- a/packages/rainbowkit/src/locales/es_419.json +++ b/packages/rainbowkit/src/locales/es_419.json @@ -1130,11 +1130,11 @@ } } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "Instala la extensión de la billetera XDEFI", - "description": "Recomendamos anclar XDEFI Wallet a su barra de tareas para un acceso más rápido a su billetera." + "title": "Instala la extensión de la billetera Ctrl", + "description": "Recomendamos anclar Ctrl Wallet a su barra de tareas para un acceso más rápido a su billetera." }, "step2": { "title": "Crear o Importar una Billetera", diff --git a/packages/rainbowkit/src/locales/fr_FR.json b/packages/rainbowkit/src/locales/fr_FR.json index 777e43f981..907c4a110f 100644 --- a/packages/rainbowkit/src/locales/fr_FR.json +++ b/packages/rainbowkit/src/locales/fr_FR.json @@ -1130,11 +1130,11 @@ } } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "Installez l'extension du portefeuille XDEFI", - "description": "Nous vous recommandons d'épingler XDEFI Wallet à votre barre des tâches pour un accès plus rapide à votre portefeuille." + "title": "Installez l'extension du portefeuille Ctrl", + "description": "Nous vous recommandons d'épingler Ctrl Wallet à votre barre des tâches pour un accès plus rapide à votre portefeuille." }, "step2": { "title": "Créer ou Importer un portefeuille", diff --git a/packages/rainbowkit/src/locales/hi_IN.json b/packages/rainbowkit/src/locales/hi_IN.json index 6e17aeb858..4a0105c9fa 100644 --- a/packages/rainbowkit/src/locales/hi_IN.json +++ b/packages/rainbowkit/src/locales/hi_IN.json @@ -1130,11 +1130,11 @@ } } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "XDEFI वॉलेट एक्सटेंशन स्थापित करें", - "description": "हम आपकी वॉलेट की जल्दी से पहुँच के लिए XDEFI Wallet को अपने टास्कबार में पिन करने की सलाह देते हैं।" + "title": "Ctrl वॉलेट एक्सटेंशन स्थापित करें", + "description": "हम आपकी वॉलेट की जल्दी से पहुँच के लिए Ctrl Wallet को अपने टास्कबार में पिन करने की सलाह देते हैं।" }, "step2": { "title": "एक वॉलेट बनाएं या आयात करें", diff --git a/packages/rainbowkit/src/locales/id_ID.json b/packages/rainbowkit/src/locales/id_ID.json index 53f725ec73..8b9dd6dfea 100644 --- a/packages/rainbowkit/src/locales/id_ID.json +++ b/packages/rainbowkit/src/locales/id_ID.json @@ -1130,11 +1130,11 @@ } } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "Instal ekstensi Dompet XDEFI", - "description": "Kami merekomendasikan menempelkan XDEFI Wallet ke taskbar Anda untuk akses lebih cepat ke dompet Anda." + "title": "Instal ekstensi Dompet Ctrl", + "description": "Kami merekomendasikan menempelkan Ctrl Wallet ke taskbar Anda untuk akses lebih cepat ke dompet Anda." }, "step2": { "title": "Buat atau Impor Dompet", diff --git a/packages/rainbowkit/src/locales/ja_JP.json b/packages/rainbowkit/src/locales/ja_JP.json index 6f0050810a..fda5b8d7a1 100644 --- a/packages/rainbowkit/src/locales/ja_JP.json +++ b/packages/rainbowkit/src/locales/ja_JP.json @@ -1130,11 +1130,11 @@ } } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "XDEFI Wallet拡張機能をインストールする", - "description": "XDEFI Walletをタスクバーにピン留めすることで、ウォレットへのアクセスが速くなることをお勧めします。" + "title": "Ctrl Wallet拡張機能をインストールする", + "description": "Ctrl Walletをタスクバーにピン留めすることで、ウォレットへのアクセスが速くなることをお勧めします。" }, "step2": { "title": "ウォレットの作成またはインポート", diff --git a/packages/rainbowkit/src/locales/ko_KR.json b/packages/rainbowkit/src/locales/ko_KR.json index 9ce62332a0..eda17dc55e 100644 --- a/packages/rainbowkit/src/locales/ko_KR.json +++ b/packages/rainbowkit/src/locales/ko_KR.json @@ -1130,11 +1130,11 @@ } } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "XDEFI 지갑 확장 프로그램을 설치하세요", - "description": "지갑에 빠르게 액세스하기 위해 작업 표시줄에 XDEFI Wallet을 고정하는 것을 권장합니다." + "title": "Ctrl 지갑 확장 프로그램을 설치하세요", + "description": "지갑에 빠르게 액세스하기 위해 작업 표시줄에 Ctrl Wallet을 고정하는 것을 권장합니다." }, "step2": { "title": "지갑을 만들거나 가져오기", diff --git a/packages/rainbowkit/src/locales/ms_MY.json b/packages/rainbowkit/src/locales/ms_MY.json index 30a2e9f782..81d2c12c78 100644 --- a/packages/rainbowkit/src/locales/ms_MY.json +++ b/packages/rainbowkit/src/locales/ms_MY.json @@ -1130,11 +1130,11 @@ } } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "Pasang sambungan XDEFI Wallet", - "description": "Kami mengesyorkan anda pin XDEFI Wallet ke taskbar anda untuk akses lebih cepat ke dompet anda." + "title": "Pasang sambungan Ctrl Wallet", + "description": "Kami mengesyorkan anda pin Ctrl Wallet ke taskbar anda untuk akses lebih cepat ke dompet anda." }, "step2": { "title": "Cipta atau Import Dompet", diff --git a/packages/rainbowkit/src/locales/pt_BR.json b/packages/rainbowkit/src/locales/pt_BR.json index 47fb73dd60..2b7d264556 100644 --- a/packages/rainbowkit/src/locales/pt_BR.json +++ b/packages/rainbowkit/src/locales/pt_BR.json @@ -1130,11 +1130,11 @@ } } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "Instale a extensão XDEFI Wallet", - "description": "Recomendamos fixar a Carteira XDEFI na sua barra de tarefas para um acesso mais rápido à sua carteira." + "title": "Instale a extensão Ctrl Wallet", + "description": "Recomendamos fixar a Carteira Ctrl na sua barra de tarefas para um acesso mais rápido à sua carteira." }, "step2": { "title": "Criar ou Importar uma Carteira", diff --git a/packages/rainbowkit/src/locales/ru_RU.json b/packages/rainbowkit/src/locales/ru_RU.json index 2553a25264..659af65829 100644 --- a/packages/rainbowkit/src/locales/ru_RU.json +++ b/packages/rainbowkit/src/locales/ru_RU.json @@ -1130,11 +1130,11 @@ } } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "Установите расширение кошелька XDEFI", - "description": "Мы рекомендуем закрепить XDEFI Wallet на панели задач для более быстрого доступа к вашему кошельку." + "title": "Установите расширение кошелька Ctrl", + "description": "Мы рекомендуем закрепить Ctrl Wallet на панели задач для более быстрого доступа к вашему кошельку." }, "step2": { "title": "Создать или Импортировать кошелек", diff --git a/packages/rainbowkit/src/locales/th_TH.json b/packages/rainbowkit/src/locales/th_TH.json index 75a9e24a01..6bc7609042 100644 --- a/packages/rainbowkit/src/locales/th_TH.json +++ b/packages/rainbowkit/src/locales/th_TH.json @@ -1130,11 +1130,11 @@ } } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "ติดตั้งส่วนขยาย XDEFI Wallet", - "description": "เราแนะนำให้คุณตรา XDEFI Wallet ไว้ที่แถบงานเพื่อเข้าถึงกระเป๋าเงินของคุณได้เร็วขึ้น" + "title": "ติดตั้งส่วนขยาย Ctrl Wallet", + "description": "เราแนะนำให้คุณตรา Ctrl Wallet ไว้ที่แถบงานเพื่อเข้าถึงกระเป๋าเงินของคุณได้เร็วขึ้น" }, "step2": { "title": "สร้างหรือนำเข้ากระเป๋าเงิน", diff --git a/packages/rainbowkit/src/locales/tr_TR.json b/packages/rainbowkit/src/locales/tr_TR.json index 5cc55dea5a..5cdbf7e094 100644 --- a/packages/rainbowkit/src/locales/tr_TR.json +++ b/packages/rainbowkit/src/locales/tr_TR.json @@ -1130,11 +1130,11 @@ } } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "XDEFI Cüzdan eklentisini yükleyin", - "description": "Cüzdanınıza daha hızlı erişim için XDEFI Wallet'ı görev çubuğunuza sabitlemenizi öneririz." + "title": "Ctrl Cüzdan eklentisini yükleyin", + "description": "Cüzdanınıza daha hızlı erişim için Ctrl Wallet'ı görev çubuğunuza sabitlemenizi öneririz." }, "step2": { "title": "Bir Cüzdan Oluşturun veya İçe Aktarın", diff --git a/packages/rainbowkit/src/locales/uk_UA.json b/packages/rainbowkit/src/locales/uk_UA.json index b20a915a90..a5421984d6 100644 --- a/packages/rainbowkit/src/locales/uk_UA.json +++ b/packages/rainbowkit/src/locales/uk_UA.json @@ -1130,11 +1130,11 @@ } } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "Встановіть розширення гаманця XDEFI", - "description": "Ми рекомендуємо закріпити гаманець XDEFI на панелі задач для швидшого доступу до вашого гаманця." + "title": "Встановіть розширення гаманця Ctrl", + "description": "Ми рекомендуємо закріпити гаманець Ctrl на панелі задач для швидшого доступу до вашого гаманця." }, "step2": { "title": "Створити або Імпортувати Гаманець", diff --git a/packages/rainbowkit/src/locales/vi_VN.json b/packages/rainbowkit/src/locales/vi_VN.json index 9789652e34..64dbe94962 100644 --- a/packages/rainbowkit/src/locales/vi_VN.json +++ b/packages/rainbowkit/src/locales/vi_VN.json @@ -1130,11 +1130,11 @@ } } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "Cài đặt tiện ích mở rộng XDEFI Wallet", - "description": "Chúng tôi khuyên bạn nên ghim XDEFI Wallet vào thanh tác vụ để truy cập ví nhanh hơn." + "title": "Cài đặt tiện ích mở rộng Ctrl Wallet", + "description": "Chúng tôi khuyên bạn nên ghim Ctrl Wallet vào thanh tác vụ để truy cập ví nhanh hơn." }, "step2": { "title": "Tạo hoặc Nhập ví", diff --git a/packages/rainbowkit/src/locales/zh_CN.json b/packages/rainbowkit/src/locales/zh_CN.json index 247b714ace..6d281f3f12 100644 --- a/packages/rainbowkit/src/locales/zh_CN.json +++ b/packages/rainbowkit/src/locales/zh_CN.json @@ -1130,11 +1130,11 @@ } } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "安装 XDEFI 钱包扩展程序", - "description": "我们建议将XDEFI钱包固定到您的任务栏,以便更快地访问您的钱包。" + "title": "安装 Ctrl 钱包扩展程序", + "description": "我们建议将Ctrl钱包固定到您的任务栏,以便更快地访问您的钱包。" }, "step2": { "title": "创建或导入钱包", diff --git a/packages/rainbowkit/src/locales/zh_HK.json b/packages/rainbowkit/src/locales/zh_HK.json index b06df97e9f..4e8a4b46e4 100644 --- a/packages/rainbowkit/src/locales/zh_HK.json +++ b/packages/rainbowkit/src/locales/zh_HK.json @@ -1130,11 +1130,11 @@ } } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "安裝 XDEFI Wallet 擴充功能", - "description": "我們建議把 XDEFI Wallet 釘在工作列上,以便更快捷地進入你的錢包。" + "title": "安裝 Ctrl Wallet 擴充功能", + "description": "我們建議把 Ctrl Wallet 釘在工作列上,以便更快捷地進入你的錢包。" }, "step2": { "title": "創建或導入錢包", diff --git a/packages/rainbowkit/src/locales/zh_TW.json b/packages/rainbowkit/src/locales/zh_TW.json index 0c9e190cf8..b74ac59acd 100644 --- a/packages/rainbowkit/src/locales/zh_TW.json +++ b/packages/rainbowkit/src/locales/zh_TW.json @@ -1130,11 +1130,11 @@ } } }, - "xdefi": { + "ctrl": { "extension": { "step1": { - "title": "安裝 XDEFI Wallet 擴展程序", - "description": "我們建議將 XDEFI Wallet 釘選到您的任務欄,以便更快訪問錢包。" + "title": "安裝 Ctrl Wallet 擴展程序", + "description": "我們建議將 Ctrl Wallet 釘選到您的任務欄,以便更快訪問錢包。" }, "step2": { "title": "創建或導入錢包", diff --git a/packages/rainbowkit/src/types/utils.ts b/packages/rainbowkit/src/types/utils.ts index bac7c16aca..4ca2a45e95 100644 --- a/packages/rainbowkit/src/types/utils.ts +++ b/packages/rainbowkit/src/types/utils.ts @@ -53,7 +53,7 @@ export type WalletProviderFlags = | 'isTokenary' | 'isTrust' | 'isTrustWallet' - | 'isXDEFI' + | 'isCtrl' | 'isZerion' | 'isTalisman' | 'isZeal' diff --git a/packages/rainbowkit/src/wallets/walletConnectors/ctrlWallet/ctrlWallet.ts b/packages/rainbowkit/src/wallets/walletConnectors/ctrlWallet/ctrlWallet.ts new file mode 100644 index 0000000000..4eda5bc250 --- /dev/null +++ b/packages/rainbowkit/src/wallets/walletConnectors/ctrlWallet/ctrlWallet.ts @@ -0,0 +1,47 @@ +import type { Wallet } from '../../Wallet'; +import { + getInjectedConnector, + hasInjectedProvider, +} from '../../getInjectedConnector'; + +const iconUrl = + 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA0NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDkuMS1jMDAyIDc5LmYzNTRlZmM3MCwgMjAyMy8xMS8wOS0xMjowNTo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDI1LjQgKDIwMjMxMjIwLm0uMjQzOSBjZWI5OWVmKSAgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjNGRDkwNzlFRjRGMTFFRTlFRjJERDZFQkZDREE0OTUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjNGRDkwN0FFRjRGMTFFRTlFRjJERDZFQkZDREE0OTUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGM0ZEOTA3N0VGNEYxMUVFOUVGMkRENkVCRkNEQTQ5NSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGM0ZEOTA3OEVGNEYxMUVFOUVGMkRENkVCRkNEQTQ5NSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pp1Y9zMAAAD8UExURf///+/w7+/x7+/x8N/h4N/i4M/T0M/T0b/EwL/Ewa+1sK+2sZ+noY+YkY+YkoCKgoCKg3+JgX+JgnB7c3B8c296cW96cm97cmBsZGBtY19sYl9sY1BeVE9dU0BPRDBANDBBNDBBNSAyJCAyJRAjFBAjFQAUBRAiFRAjFSAxJCAxJSAyJCAyJTBANDBBNEBPRFBdVFBeU1BeVF9sY2BsY2BtY297cnB6cnB7cnB7c3+Jgn+KgoCJgoCKgo+YkY+YkpCYkpCZkp+moZ+noaCnoa+1sa+2sLC1sb/EwL/Ewc/S0M/T0M/T0d/h39/h4N/i39/i4O/w7+/x7////9thEPoAAAAmdFJOUwAQEBAgIDAwQEBQUGBwcH9/gICPj5CQkJ+foKCvsL/Pz8/f3+/vvw5Z9wAADB1JREFUeNrtnX1jmzgSxun5pXZC7nZ9uca9+uwcqRVCyrJ1zYbtkQ2L422ovQ6E7/9dTgL8ltiJBIxWRZ1/Y8c8P/QyMxpJigJltXr9dbutqmqn0znuYutjO9VSQzss+xP5WL+HP3+Mv4i/3m636/WaIrzVsFxVPep0uz0iE5VuCRpCRT3ESGqCaD5Uj46x4ucEG4ZhWpZlY3NcYjf+Xkv+7jr4oyP8FQt/df//fX+KeWAcmAZf2UR1p9s71d4/fSgdax3Ztuv6/jQIwjCMS7AwnAfBlNBxbMsyDX1X88CdpnN0CMiiVs9kP5U8wm/W94N5+BBzsocQE7lJeBg7GkYXN4vXJfaRmnp8+v6RaouInnLU/FwLCQLfdUaWud003vePDxslqP+hv5Y9snEHnoexsBaShmFvoOirxRi0U/WmczMV4mXTd5J5cOOYycP32sXk67b/TUnfwjAdJyOkml++dfPNqs8YTD4QBOwdofZPIj+IK2AB6QpvGRG08XR3WQn5xEgrYOsH5PV/foirY5+xoB+o5TdOEfppFlfKQtwITim7QQM3/18e4qrZFe1Y2MRe301cQfsNoWGTSr8+iytpM52CANZ/eR9X1PBA8BKBRpX1pwQaL4x/eoX1YwL68yMhnv9mcaXtDs+G+/X/o6Lj/6O54HiffhXP/3HlDfsD7b0DwGX19ceRibS/7QTwFqF7CQDEsz2doInQ/2IpzN3dCeToAEkn+ID6O0fAiSQAyFzY3tEArFgas542gQOEAnkA7GgCfWlGgN1NoCHRCEDMQ2jbFzhCeiQTgEhHnUc9YBxLZePtPoB7wFQuAP52H8BzQCQXgAihzYWCN8iMJTMTnWwNAQ448sBJyl5etpHLwyO52kqMDJEH/HvX5ywFURe3HCbC4Vr/K2g3cGGy1oT9Cg3gy+YoiCPhOah+g70qDnpaDhF6vQLQgp0EIiNPXSBwG8DTwOFGKKzDOh257A6WgL4xD3ZAZ8FFztJQ4PDc2HCG34H+2DhvcSxsE/iIupwiASMvAFjfZIz+swIwQC7oaCNkH3CRxscPCnIDuAAOh9aeEGgsKCoA7AltBMOBfABmCNXXftC9fAA2XMEDhGL5AMRrV/AI1BEUFsDaFYR1BIUFsHYFYR1BYQFYK1ewh0YyAli7grAJMWEBrJNiGqQnLC4Ab+ULI3QrI4C1LwybERQWwCor2JAUwMoXhvWExQWw8oVboJ6wuABWvrAqK4ClL9yB/SVxASx94Q5s7klcAMv10XeyAljmhYGrQ8QFsAwGgNfGxQVwlZXJgCbFRQawTIwDFwd8ERaAnwGAjYVIOZKwABCP6ghXWABBGg0Bx0J4shEVQBYNAcdCsSksgCwagi4PQcICiNKacdhlkQKTADiAOC2WFLM+hguANBwEDgYNgQGk4SDsutAECQzATAC8AQ0GLZEBpGtDoNHwAokMII2HQaPhsdAA0ngYMhqeIsEB9BMALuAwKzQAN1kdBFwZdJHoALQEAFQ0HCDBAaQJAbB0wMIQHwACLBIsrB9+M3NSKgiVD4nMovrh9zElGRGgfMiiuH743dwByYg0QLbLfDWK64ffzR0SACAJIe+8uH4Oe1lDkhEBALCwSpDP40SfJYCSR7/rMl4/+hRzMFIhUHJ1wLwc+ZxOdCI5sTIBhF4pjZ/fcbYpADaHKwx2mu85I9Z3rxs79w7bN4/lR/OAyuas6W0DA2BKCUbXRjmvWLduAtpjSycMzcq6ZQTQYQLgnZfUwqf0Z7ayehQXd8wAaF3u6Ody5Dss0+4t+/+/ZsuK0udEy9H/M5PX8Ueen/idISt6Qp8TdcuQz3hc9yJXn9P/ZEkL0wJYlPL6Gc9rzplTtdgAjCCfZctYj+vLDf2OGnBX6VFmxUuY/5jPK72CziQQAJTLArO/QH/+0oILagB9WgBfuLf/xFPNa0wAqNqL/xfoLwDgnraP9WnXRYpOgrnSO+AAXG4A8h3YzQHAKe3CkMt7AOQEQOMDIGd+szoAJpIDyJvgBgfgJQBuwQFMRAXg8wGQe4WjKgDGQgNA8ADmAgNAHADkX+OrCICR7AA82QEEsgOIJAdQoBi/GgBM2QFY3wF8B/AdQD6LZAcQyg5gJjuAQHYAnuwArmQHYMkOAEkOIOADQBMWwJgHAE1gAIbkAIpsu2YD4IkJwOIAgMvaoMV/CKwEAENyAIVGACYAAyEBFN11KVKNkMXbB2AGAFwmlwdA4cJspjK5MSyAHEuDfxTVz1YoCVwqy346wdfCG1NMBgDvKOsXdG5Lg8X1U5dkkENEaAHk7ZbM1QG3JWxMooX+kWHDRJSzCUx4j3+IecME5cd/y/UsPzHO/6XsvLxnAUC/aepTng7AVCNc0rZj+rpcsmmK4SixT7D6S5LPUpdsMW6c/Mz4KCx7pAKnHPlM+9JYd47GofOBvjDCpn6U0HdK2pJrsY25BADr5ukHun3MQfj0Fe++eNlk1a6b9o0/3fmbjLvyks3TwLcLLK2k/o10J3go76kQLwBlnCmTtPCSzxUgAFocACwMIeUTAG3wY4XjvBcvFxreKQdfAqAJD8ApQ/8vDzEMgAY4gDK2XesTiCebZSdJAZ9YclVC85+BPFlylNYrcADFZ4BLoDaaHi8PfWZVJKz+7OZd4PsVSth3PoN6tPRARQ0YQMAxumMGoIFft1gcAOCpx+mhqgOxAVzeQwI4hb9nqSiACeCjpRcN9YQGAHqwanqy9DvQS3c5LfTns4/wp8sXBQD7aFZy3RzsBQsFAcD6aOkFC0fAJzgXAQB8sGx6xQbwJSuFAMAOz9klK9A5sSIAgMO09NZV4IuWigCAbZrLi5agU0KBqHNAmhBSgM7WLgUArI+e5kPgr9sLRJ0El9ftQScECgCYwwJI8yHgCYECACJYAD4aZgAEvXQVesVmeemqsNfuAs+Cq2t3e/JevNzPrt4eyQnAyq7efgMbDooMIL19HjgcFBeAkQEADgfFBZAGg8mtq5GUANJQADwaEhZAuAQAHA0JCyCLhZJoaCopgCQWUpQhaDAgLIDs8nnwYEBYAMtQgKwOOjICWIYC0MGAsADGKwCwa0PCAliGAtC3jwsLwMw8YWhfWFgAOvp7BuAANPciLIB0WQTeFxYVwMoThvaFRQWw8oShE+OiAviycgQV2mM08tlMUABelhRXoAvF8leKwi4NpiViPFzB3LsFYC9eXjuC0Hnh3NXisNUBa0cQ2hXMezAkcH3M2hEET4vmbAITPilRDmnR6EMe/cAX70ZrP0gB3zYT5iDwCTgljGfn1ysAr6BrEdgJgF+8vM4IpllBD/j3PjMh4HDx8qYfBL5CntjUsejs6cXLsAkxDuujIpqZ1Amv50HochTRLFpnA7JR8FYuADgWbChbg8BYLgDjjVCI2I9Il6oPROuE4KoPeDIBmDzqAaQPWDIBMLYmQSWtGb+TR3+wPQfI1wQsdPZYv1RNYII2QuGNJnARSTMCPG0ASRO4lkO/i1BzBwDlX4Ab1UWyBUJvd+lXXp0hM5KjAzR2AiCd4Nfq63d2joCrTvB71fV7aCMb/MQGlZ8LvyL03/36lcYZ0v+s9AB4vncAyAgM0UWFCSwMNHxWv6I0q0yA6G8qyosE9Iq6A8E5hf6EQDXnAjz+0+hPRsIK+gMRnv/PGgqVNfBsWLWB4KuJ5z9K/UmKsFqRUXSNBZ0oDKbibnBRmUx5YODm31KYrPFvPkt0POST88pPagqrNc9IodbtNx4fRh6R328peYz0A3Q+nn6zDCLfPs8vPykd6Ser1abjBfNvCkMUTj0nPcqygPxkLDgaLBftz03Ldr3p00OzxbFwPvVde2SsjrHu/1hTClvj4KQ/3KpfICgc1w/EYEFUe45tGdundw8HJ2oJ6pdWa7bUTrc/GD4u5jCsBMYU04j4NfB54PuuY49M4/GZ5UOt1+2oB80StT+yeuvgCKPoaztKW84NM+Hh+oTIPCylhYRhGARTLNi17ZH1VHKiepDKris8rVZv4WaRwBjur/cxDIMUvoxsm5Ah5u+19O82seTgfeOZMltN6/e6J4nqmiKAERoHGMcJ5jHQNFS6adoAK+52OqraEkTzS0QwkpaqYiiYSrfb6xPTUtutMLEB+Rj+PH67RKx60GrVAfX+H4bAlyrre0h5AAAAAElFTkSuQmCC'; + +export const ctrlWallet = (): Wallet => { + return { + id: 'ctrl', + name: 'Ctrl Wallet', + rdns: 'ctrl.xyz', + installed: hasInjectedProvider({ namespace: 'xfi.ethereum' }), + iconUrl, + iconBackground: '#fff', + downloadUrls: { + chrome: + 'https://chromewebstore.google.com/detail/ctrl-wallet/hmeobnfnfcmdkdcmlblgagmfpfboieaf', + browserExtension: 'https://ctrl.xyz', + }, + extension: { + instructions: { + learnMoreUrl: 'https://ctrl.xyz', + steps: [ + { + description: 'wallet_connectors.ctrl.extension.step1.description', + step: 'install', + title: 'wallet_connectors.ctrl.extension.step1.title', + }, + { + description: 'wallet_connectors.ctrl.extension.step2.description', + step: 'create', + title: 'wallet_connectors.ctrl.extension.step2.title', + }, + { + description: 'wallet_connectors.ctrl.extension.step3.description', + step: 'refresh', + title: 'wallet_connectors.ctrl.extension.step3.title', + }, + ], + }, + }, + createConnector: getInjectedConnector({ namespace: 'xfi.ethereum' }), + }; +}; diff --git a/packages/rainbowkit/src/wallets/walletConnectors/xdefiWallet/xdefiWallet.svg b/packages/rainbowkit/src/wallets/walletConnectors/ctrlWallet/xdefiWallet.svg similarity index 100% rename from packages/rainbowkit/src/wallets/walletConnectors/xdefiWallet/xdefiWallet.svg rename to packages/rainbowkit/src/wallets/walletConnectors/ctrlWallet/xdefiWallet.svg diff --git a/packages/rainbowkit/src/wallets/walletConnectors/index.ts b/packages/rainbowkit/src/wallets/walletConnectors/index.ts index 60ad42fba8..5e469dd73a 100644 --- a/packages/rainbowkit/src/wallets/walletConnectors/index.ts +++ b/packages/rainbowkit/src/wallets/walletConnectors/index.ts @@ -14,6 +14,7 @@ import { coin98Wallet } from './coin98Wallet/coin98Wallet'; import { coinbaseWallet } from './coinbaseWallet/coinbaseWallet'; import { compassWallet } from './compassWallet/compassWallet'; import { coreWallet } from './coreWallet/coreWallet'; +import { ctrlWallet } from './ctrlWallet/ctrlWallet'; import { dawnWallet } from './dawnWallet/dawnWallet'; import { desigWallet } from './desigWallet/desigWallet'; import { enkryptWallet } from './enkryptWallet/enkryptWallet'; @@ -58,7 +59,6 @@ import { uniswapWallet } from './uniswapWallet/uniswapWallet'; import { valoraWallet } from './valoraWallet/valoraWallet'; import { walletConnectWallet } from './walletConnectWallet/walletConnectWallet'; import { wigwamWallet } from './wigwamWallet/wigwamWallet'; -import { xdefiWallet } from './xdefiWallet/xdefiWallet'; import { zealWallet } from './zealWallet/zealWallet'; import { zerionWallet } from './zerionWallet/zerionWallet'; @@ -123,7 +123,7 @@ export { valoraWallet, walletConnectWallet, wigwamWallet, - xdefiWallet, + ctrlWallet, zealWallet, zerionWallet, }; diff --git a/packages/rainbowkit/src/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.ts b/packages/rainbowkit/src/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.ts index 294d0a612d..f20c45a793 100644 --- a/packages/rainbowkit/src/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.ts +++ b/packages/rainbowkit/src/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.ts @@ -50,7 +50,7 @@ function isMetaMask(ethereum?: WindowProvider['ethereum']): boolean { if (ethereum.isTokenPocket) return false; if (ethereum.isTokenary) return false; if (ethereum.isTrust || ethereum.isTrustWallet) return false; - if (ethereum.isXDEFI) return false; + if (ethereum.isCtrl) return false; if (ethereum.isZeal) return false; if (ethereum.isZerion) return false; if (ethereum.__seif) return false; diff --git a/packages/rainbowkit/src/wallets/walletConnectors/xdefiWallet/xdefiWallet.ts b/packages/rainbowkit/src/wallets/walletConnectors/xdefiWallet/xdefiWallet.ts deleted file mode 100644 index 980eb73ec5..0000000000 --- a/packages/rainbowkit/src/wallets/walletConnectors/xdefiWallet/xdefiWallet.ts +++ /dev/null @@ -1,44 +0,0 @@ -import type { Wallet } from '../../Wallet'; -import { - getInjectedConnector, - hasInjectedProvider, -} from '../../getInjectedConnector'; - -export const xdefiWallet = (): Wallet => { - return { - id: 'xdefi', - name: 'XDEFI Wallet', - rdns: 'io.xdefi', - installed: hasInjectedProvider({ namespace: 'xfi.ethereum' }), - iconUrl: async () => (await import('./xdefiWallet.svg')).default, - iconBackground: '#fff', - downloadUrls: { - chrome: - 'https://chrome.google.com/webstore/detail/xdefi-wallet/hmeobnfnfcmdkdcmlblgagmfpfboieaf', - browserExtension: 'https://xdefi.io', - }, - extension: { - instructions: { - learnMoreUrl: 'https://xdefi.io/support-categories/xdefi-wallet/', - steps: [ - { - description: 'wallet_connectors.xdefi.extension.step1.description', - step: 'install', - title: 'wallet_connectors.xdefi.extension.step1.title', - }, - { - description: 'wallet_connectors.xdefi.extension.step2.description', - step: 'create', - title: 'wallet_connectors.xdefi.extension.step2.title', - }, - { - description: 'wallet_connectors.xdefi.extension.step3.description', - step: 'refresh', - title: 'wallet_connectors.xdefi.extension.step3.title', - }, - ], - }, - }, - createConnector: getInjectedConnector({ namespace: 'xfi.ethereum' }), - }; -}; diff --git a/site/data/de/docs/custom-wallet-list.mdx b/site/data/de/docs/custom-wallet-list.mdx index 5bb62d3236..a70a378b01 100644 --- a/site/data/de/docs/custom-wallet-list.mdx +++ b/site/data/de/docs/custom-wallet-list.mdx @@ -12,22 +12,22 @@ Sie können einzelne Wallets aus `'@rainbow-me/rainbowkit/wallets'` zusammen mit Zum Beispiel können Sie sich entscheiden, nur Rainbow zusammen mit generischen Fallback-Wallets anzuzeigen. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: 'My RainbowKit App', - projectId: 'YOUR_PROJECT_ID', + appName: "My RainbowKit App", + projectId: "YOUR_PROJECT_ID", } ); ``` @@ -73,7 +73,7 @@ Dies ist eine Fallback-Wallet-Option, die für WalletConnect-basierte Wallets au **Es wird empfohlen, diese Wallet immer in der Liste zu halten, um sicherzustellen, dass alle WalletConnect-basierten Wallets unterstützt werden.** ```tsx -import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; +import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Eingespritzte Wallet @@ -83,7 +83,7 @@ Dies ist eine Fallback-Wallet-Option für Szenarien, in denen `window.ethereum` **Es wird empfohlen, diese Wallet immer in die Liste aufzunehmen, um sicherzustellen, dass alle eingespritzten Wallets unterstützt werden.** ```tsx -import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; +import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Sichere Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; Für dApps, die Safe Apps unterstützen, um es Benutzern zu erleichtern, sich mit ihrem Safe-Tresor oder Multi-Sig zu verbinden, fügen Sie die Option `safeWallet` für automatische Verbindungen hinzu. Die Safe-Option erscheint nur in der Browserumgebung der Safe-Wallet. ```tsx -import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Spezifische Wallets @@ -101,73 +101,73 @@ Die folgenden Wallets werden über das `wallet`-Objekt bereitgestellt (in alphab #### 1inch Wallet ```tsx -import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Argent ```tsx -import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; +import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### BeraSig ```tsx -import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; +import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bestes Wallet ```tsx -import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; +import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitget ```tsx -import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitski ```tsx -import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitverse ```tsx -import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Brave Wallet ```tsx -import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; +import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet wird ab Anfang Juni standardmäßig mit `all` aktiviert, ohne ein w Entwickler können Smart Wallet bereits heute mit `sepolia` und `baseSepolia`-Chains testen, indem sie `smartWalletOnly` setzen und `coinbaseWallet` in ihre Wallet-Liste wie folgt aufnehmen: ```tsx -import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = 'smartWalletOnly'; +coinbaseWallet.preference = "smartWalletOnly"; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; +import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Compass Wallet ```tsx -import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; +import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; ``` #### Kern ```tsx -import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; +import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; +import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### FoxWallet ```tsx -import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frame Wallet ```tsx -import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Gate Wallet ```tsx -import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; +import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### imToken ```tsx -import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; +import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaikas ```tsx -import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MEW Wallet ```tsx -import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; +import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MetaMask ```tsx -import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OKX Wallet ```tsx -import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Omni ```tsx -import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; +import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OneKey ```tsx -import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Phantom ```tsx -import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Regenbogen ```tsx -import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ronin Wallet ```tsx -import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; +import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safeheron ```tsx -import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Taho ```tsx -import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Talisman ```tsx -import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; +import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Tokenary ```tsx -import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Trust Wallet ```tsx -import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; +import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Valora ```tsx -import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; +import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; ``` -#### XDEFI Wallet +#### Ctrl Wallet ```tsx -import { xdefiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Zerion ```tsx -import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; +import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Wigwam ```tsx -import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; +import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Beispiele @@ -430,38 +430,38 @@ Hier sind ein paar Beispiele, wie verschiedene Wallets in unterschiedlicher Reih Zeige MetaMask zusammen mit generischen Fallback-Wallets. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { metaMaskWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` Zeige Rainbow, MetaMask und Coinbase zusammen mit generischen Fallback-Wallets. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Suggested', + groupName: "Suggested", wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` @@ -483,25 +483,25 @@ Sie können den Schlüssel `groupName` verwenden, um verschiedenen Wallet-Gruppe Empfehlen Sie Rainbow und MetaMask, bieten Sie aber auch Coinbase zusammen mit generischen Fallback-Wallets an. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: 'Others', + groupName: "Others", wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` diff --git a/site/data/en-US/docs/custom-wallet-list.mdx b/site/data/en-US/docs/custom-wallet-list.mdx index 4dfdda4af3..2b4b2f1da2 100644 --- a/site/data/en-US/docs/custom-wallet-list.mdx +++ b/site/data/en-US/docs/custom-wallet-list.mdx @@ -12,22 +12,22 @@ You can import individual wallets from `'@rainbow-me/rainbowkit/wallets'` along For example, you can choose to only show Rainbow along with generic fallback wallets. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: 'My RainbowKit App', - projectId: 'YOUR_PROJECT_ID', + appName: "My RainbowKit App", + projectId: "YOUR_PROJECT_ID", } ); ``` @@ -73,7 +73,7 @@ This is a fallback wallet option designed for WalletConnect-based wallets that h **It's recommended that you always include this wallet in the list to ensure all WalletConnect-based wallets are supported.** ```tsx -import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; +import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Injected Wallet @@ -83,7 +83,7 @@ This is a fallback wallet option designed for scenarios where `window.ethereum` **It's recommended that you always include this wallet in the list to ensure all injected wallets are supported.** ```tsx -import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; +import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Safe Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; For dApps that support Safe Apps to allow users to easily connect with their Safe vault or multi-sig, include the `safeWallet` option for automatic connections. The Safe option will only appear in the Safe Wallet browser environment. ```tsx -import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Specific Wallets @@ -101,73 +101,73 @@ The following wallets are provided via the `wallet` object (in alphabetical orde #### 1inch Wallet ```tsx -import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Argent ```tsx -import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; +import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### BeraSig ```tsx -import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; +import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Best Wallet ```tsx -import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; +import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitget ```tsx -import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitski ```tsx -import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitverse ```tsx -import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Brave Wallet ```tsx -import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; +import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet will be enabled by default with `all` in early June, without a furt Developers can test Smart Wallet with `sepolia` and `baseSepolia` chains today by setting `smartWalletOnly` and including `coinbaseWallet` in their wallet list like so: ```tsx -import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = 'smartWalletOnly'; +coinbaseWallet.preference = "smartWalletOnly"; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; +import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Compass Wallet ```tsx -import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; +import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; ``` #### Core ```tsx -import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; +import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; +import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### FoxWallet ```tsx -import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frame Wallet ```tsx -import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Gate Wallet ```tsx -import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; +import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### imToken ```tsx -import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; +import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaikas ```tsx -import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MEW Wallet ```tsx -import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; +import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MetaMask ```tsx -import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OKX Wallet ```tsx -import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Omni ```tsx -import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; +import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OneKey ```tsx -import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Phantom ```tsx -import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rainbow ```tsx -import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ronin Wallet ```tsx -import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; +import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safeheron ```tsx -import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Taho ```tsx -import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Talisman ```tsx -import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; +import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Tokenary ```tsx -import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Trust Wallet ```tsx -import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; +import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Valora ```tsx -import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; +import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; ``` -#### XDEFI Wallet +#### Ctrl Wallet ```tsx -import { xdefiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Zerion ```tsx -import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; +import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Wigwam ```tsx -import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; +import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Examples @@ -430,38 +430,38 @@ Here are a few examples of displaying different wallets, in different order. Show MetaMask along with generic fallback wallets. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { metaMaskWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` Show Rainbow, MetaMask and Coinbase along with generic fallback wallets. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Suggested', + groupName: "Suggested", wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` @@ -483,25 +483,25 @@ You can use the `groupName` key to name different wallet groups. This is useful Recommend Rainbow and MetaMask, but also offer Coinbase along with generic fallback wallets. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: 'Others', + groupName: "Others", wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` diff --git a/site/data/es-419/docs/custom-wallet-list.mdx b/site/data/es-419/docs/custom-wallet-list.mdx index d73fa4235d..c2eafb1280 100644 --- a/site/data/es-419/docs/custom-wallet-list.mdx +++ b/site/data/es-419/docs/custom-wallet-list.mdx @@ -12,22 +12,22 @@ Puedes importar carteras individuales desde `'@rainbow-me/rainbowkit/wallets'` j Por ejemplo, puedes elegir mostrar solo Rainbow junto con carteras de respaldo genéricas. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: 'My RainbowKit App', - projectId: 'YOUR_PROJECT_ID', + appName: "My RainbowKit App", + projectId: "YOUR_PROJECT_ID", } ); ``` @@ -73,7 +73,7 @@ Esta es una opción de monedero de respaldo diseñada para wallets basadas en Wa **Se recomienda que siempre incluya este monedero en la lista para asegurar que todas las wallets basadas en WalletConnect estén soportadas.** ```tsx -import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; +import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Monedero inyectado @@ -83,7 +83,7 @@ Esta es una opción de cartera de respaldo diseñada para escenarios donde `wind **Se recomienda que siempre incluyas esta cartera en la lista para asegurar que todas las carteras inyectadas sean compatibles.** ```tsx -import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; +import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Cartera Safe @@ -91,7 +91,7 @@ import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; Para dApps que soportan Safe Apps para permitir a los usuarios conectarse fácilmente con su bóveda Safe o multi-firma, incluya la opción `safeWallet` para conexiones automáticas. La opción Safe solo aparecerá en el entorno del navegador Safe Wallet. ```tsx -import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Carteras Específicas @@ -101,73 +101,73 @@ Las siguientes billeteras se proporcionan a través del objeto `wallet` (en orde #### Cartera 1inch ```tsx -import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Argent ```tsx -import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; +import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### BeraSig ```tsx -import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; +import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Mejor Billetera ```tsx -import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; +import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitget ```tsx -import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitski ```tsx -import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitverse ```tsx -import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Brave Wallet ```tsx -import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; +import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet estará habilitado por defecto con `all` a principios de junio, sin Los desarrolladores pueden probar Smart Wallet con las cadenas `sepolia` y `baseSepolia` hoy configurando `smartWalletOnly` e incluyendo `coinbaseWallet` en su lista de carteras de la siguiente manera: ```tsx -import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = 'smartWalletOnly'; +coinbaseWallet.preference = "smartWalletOnly"; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; +import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Compass Wallet ```tsx -import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; +import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; ``` #### Core ```tsx -import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; +import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; +import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### FoxWallet ```tsx -import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frame Wallet ```tsx -import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Gate Wallet ```tsx -import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; +import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### imToken ```tsx -import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; +import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaikas ```tsx -import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MEW Wallet ```tsx -import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; +import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MetaMask ```tsx -import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OKX Wallet ```tsx -import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Omni ```tsx -import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; +import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OneKey ```tsx -import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Phantom ```tsx -import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rainbow ```tsx -import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ronin Wallet ```tsx -import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; +import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safeheron ```tsx -import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Taho ```tsx -import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Talisman ```tsx -import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; +import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Tokenary ```tsx -import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Trust Wallet ```tsx -import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; +import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Valora ```tsx -import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; +import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; ``` -#### XDEFI Wallet +#### Ctrl Wallet ```tsx -import { xdefiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Zerion ```tsx -import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; +import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Wigwam ```tsx -import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; +import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Ejemplos @@ -430,38 +430,38 @@ Aquí hay algunos ejemplos de cómo mostrar diferentes billeteras, en diferentes Mostrar MetaMask junto con billeteras de reserva genéricas. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { metaMaskWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` Mostrar Rainbow, MetaMask y Coinbase junto con billeteras de reserva genéricas. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Suggested', + groupName: "Suggested", wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` @@ -483,25 +483,25 @@ Puedes usar la clave `groupName` para nombrar diferentes grupos de billeteras. E Recomienda Rainbow y MetaMask, pero también ofrece Coinbase junto con billeteras genéricas de reserva. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: 'Others', + groupName: "Others", wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` diff --git a/site/data/fr/docs/custom-wallet-list.mdx b/site/data/fr/docs/custom-wallet-list.mdx index 5aebdd3599..799b5998b6 100644 --- a/site/data/fr/docs/custom-wallet-list.mdx +++ b/site/data/fr/docs/custom-wallet-list.mdx @@ -12,22 +12,22 @@ Vous pouvez importer des portefeuilles individuels depuis `'@rainbow-me/rainbowk Par exemple, vous pouvez choisir de n'afficher que Rainbow avec des portefeuilles de repli génériques. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: 'My RainbowKit App', - projectId: 'YOUR_PROJECT_ID', + appName: "My RainbowKit App", + projectId: "YOUR_PROJECT_ID", } ); ``` @@ -73,7 +73,7 @@ Il s'agit d'une option de portefeuille de secours conçue pour les portefeuilles **Il est recommandé d'inclure toujours ce portefeuille dans la liste pour assurer la prise en charge de tous les portefeuilles basés sur WalletConnect.** ```tsx -import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; +import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Portefeuille Injecté @@ -83,7 +83,7 @@ Il s'agit d'une option de portefeuille de secours conçue pour les scénarios o **Il est recommandé d'inclure toujours ce portefeuille dans la liste pour assurer la prise en charge de tous les portefeuilles injectés.** ```tsx -import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; +import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Portefeuille Safe @@ -91,7 +91,7 @@ import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; Pour les dApps qui prennent en charge les Safe Apps pour permettre aux utilisateurs de se connecter facilement à leur coffre-fort Safe ou multi-signature, incluez l'option `safeWallet` pour des connexions automatiques. L'option Safe n'apparaîtra que dans l'environnement du navigateur Safe Wallet. ```tsx -import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Portefeuilles spécifiques @@ -101,73 +101,73 @@ Les wallets suivants sont fournis via l'objet `wallet` (par ordre alphabétique) #### Portefeuille 1inch ```tsx -import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Argent ```tsx -import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; +import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### BeraSig ```tsx -import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; +import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Meilleur Portefeuille ```tsx -import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Binance Web3 ```tsx -import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; +import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitget ```tsx -import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Bifrost ```tsx -import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitski ```tsx -import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitverse ```tsx -import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Bloom ```tsx -import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Brave ```tsx -import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; +import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Bybit ```tsx -import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet sera activé par défaut avec `all` début juin, sans mise à jour Les développeurs peuvent tester Smart Wallet avec les chaînes `sepolia` et `baseSepolia` dès aujourd'hui en définissant `smartWalletOnly` et en incluant `coinbaseWallet` dans leur liste de portefeuilles comme suit : ```tsx -import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = 'smartWalletOnly'; +coinbaseWallet.preference = "smartWalletOnly"; ``` #### Portefeuille Coin98 ```tsx -import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; +import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Compass ```tsx -import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; +import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; ``` #### Core ```tsx -import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Dawn ```tsx -import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; +import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Enkrypt ```tsx -import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; +import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### FoxWallet ```tsx -import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Frame ```tsx -import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Frontier ```tsx -import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Gate ```tsx -import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; +import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### imToken ```tsx -import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille ioPay ```tsx -import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; +import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Kaia ```tsx -import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaikas ```tsx -import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Kraken ```tsx -import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Kresus ```tsx -import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Magic Eden ```tsx -import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille MEW ```tsx -import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; +import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MetaMask ```tsx -import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille OKX ```tsx -import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Omni ```tsx -import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; +import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OneKey ```tsx -import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Phantom ```tsx -import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Rabby ```tsx -import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rainbow ```tsx -import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Ramper ```tsx -import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Ronin ```tsx -import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; +import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safeheron ```tsx -import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Taho ```tsx -import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Talisman ```tsx -import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; +import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Tokenary ```tsx -import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Trust ```tsx -import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; +import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Portefeuille Uniswap ```tsx -import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Valora ```tsx -import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; +import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; ``` -#### Portefeuille XDEFI +#### Portefeuille Ctrl ```tsx -import { xdefiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Zerion ```tsx -import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; +import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Wigwam ```tsx -import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; +import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Exemples @@ -430,38 +430,38 @@ Voici quelques exemples d'affichage de différents portefeuilles, dans un ordre Affichez MetaMask avec des portefeuilles génériques de secours. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { metaMaskWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` Affichez Rainbow, MetaMask et Coinbase ainsi que les portefeuilles génériques de secours. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Suggested', + groupName: "Suggested", wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` @@ -483,25 +483,25 @@ Vous pouvez utiliser la clé `groupName` pour nommer différents groupes de port Recommandez Rainbow et MetaMask, mais proposez aussi Coinbase ainsi que des portefeuilles génériques de secours. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: 'Others', + groupName: "Others", wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` diff --git a/site/data/hi/docs/custom-wallet-list.mdx b/site/data/hi/docs/custom-wallet-list.mdx index 4f626c780c..73793a3f0f 100644 --- a/site/data/hi/docs/custom-wallet-list.mdx +++ b/site/data/hi/docs/custom-wallet-list.mdx @@ -12,22 +12,22 @@ description: वॉलेट सूची को कस्टमाइज़ क उदाहरण के लिए, आप सामान्य फ़ॉलबैक वॉलेट्स के साथ केवल Rainbow दिखाने का चयन कर सकते हैं। ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: 'My RainbowKit App', - projectId: 'YOUR_PROJECT_ID', + appName: "My RainbowKit App", + projectId: "YOUR_PROJECT_ID", } ); ``` @@ -73,7 +73,7 @@ const App = () => ( **यह सिफारिश की जाती है कि आप इस वॉलेट को सूची में हमेशा शामिल करें ताकि सुनिश्चित किया जाए कि सभी WalletConnect-आधारित वॉलेट्स समर्थित हैं।** ```tsx -import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; +import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Injected Wallet @@ -83,7 +83,7 @@ import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; **यह सिफारिश की जाती है कि आप इस वॉलेट को सूची में हमेशा शामिल करें ताकि सुनिश्चित किया जाए कि सभी injected वॉलेट्स समर्थित हैं।** ```tsx -import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; +import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Safe Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; उन dApps के लिए जो उपयोगकर्ताओं को उनके Safe vault या multi-sig से आसानी से कनेक्ट होने की अनुमति देने के लिए Safe Apps का समर्थन करते हैं, स्वचालित कनेक्शनों के लिए `safeWallet` विकल्प को शामिल करें। Safe विकल्प केवल Safe Wallet ब्राउज़र वातावरण में ही प्रदर्शित होगा। ```tsx -import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### विशिष्ट वॉलेट्स @@ -101,73 +101,73 @@ import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; #### 1inch Wallet ```tsx -import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Argent ```tsx -import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; +import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### बेरा सिग ```tsx -import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; +import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### सर्वश्रेष्ठ वॉलेट ```tsx -import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; +import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitget ```tsx -import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitski ```tsx -import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitverse ```tsx -import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Brave Wallet ```tsx -import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; +import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet प्रारंभिक जून में बिना कि विकसितकर्ता Smart Wallet का परीक्षण कर सकते हैं `sepolia` और `baseSepolia` चैन के साथ आज ही `smartWalletOnly` सेट करके और `coinbaseWallet` को अपनी वॉलेट सूची में शामिल करके जैसे: ```tsx -import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = 'smartWalletOnly'; +coinbaseWallet.preference = "smartWalletOnly"; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; +import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Compass Wallet ```tsx -import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; +import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; ``` #### Core ```tsx -import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; +import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; +import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### FoxWallet ```tsx -import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frame Wallet ```tsx -import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Gate Wallet ```tsx -import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; +import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### imToken ```tsx -import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; +import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaikas ```tsx -import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MEW Wallet ```tsx -import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; +import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MetaMask ```tsx -import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OKX Wallet ```tsx -import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Omni ```tsx -import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; +import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OneKey ```tsx -import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### पारा स्वैप ```tsx -import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Phantom ```tsx -import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rainbow ```tsx -import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ronin Wallet ```tsx -import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; +import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safeheron ```tsx -import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Taho ```tsx -import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Talisman ```tsx -import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; +import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Tokenary ```tsx -import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Trust Wallet ```tsx -import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; +import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### वैलोरा ```tsx -import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; +import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; ``` -#### XDEFI Wallet +#### Ctrl Wallet ```tsx -import { xdefiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Zerion ```tsx -import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; +import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### विगवाम ```tsx -import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; +import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### उदाहरण @@ -430,38 +430,38 @@ import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; मेटामास्क के साथ सामान्य फॉलबैक वॉलेट्स दिखाएं। ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { metaMaskWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` रेनबो, मेटामास्क और कोइनबेस को सामान्य फ़ॉलबैक वॉलेट्स के साथ दिखाएं। ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Suggested', + groupName: "Suggested", wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` @@ -483,25 +483,25 @@ const connectors = connectorsForWallets( रेनबो और मेटामास्क की सिफारिश करें, लेकिन सामान्य फ़ॉलबैक वॉलेट्स के साथ कोइनबेस की भी पेशकश करें। ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: 'Others', + groupName: "Others", wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` diff --git a/site/data/id/docs/custom-wallet-list.mdx b/site/data/id/docs/custom-wallet-list.mdx index 322b5de33c..079a68af4d 100644 --- a/site/data/id/docs/custom-wallet-list.mdx +++ b/site/data/id/docs/custom-wallet-list.mdx @@ -12,22 +12,22 @@ Anda dapat mengimpor dompet individual dari `'@rainbow-me/rainbowkit/wallets'` b Misalnya, Anda bisa memilih untuk hanya menunjukkan Rainbow bersama dengan dompet pengganti generik. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: 'My RainbowKit App', - projectId: 'YOUR_PROJECT_ID', + appName: "My RainbowKit App", + projectId: "YOUR_PROJECT_ID", } ); ``` @@ -73,7 +73,7 @@ Ini adalah opsi dompet cadangan yang dirancang untuk dompet berbasis WalletConne **Direkomendasikan untuk selalu menambahkan dompet ini dalam daftar untuk memastikan semua dompet berbasis WalletConnect didukung.** ```tsx -import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; +import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Injected Wallet @@ -83,7 +83,7 @@ Ini adalah opsi dompet cadangan yang dirancang untuk skenario di mana `window.et **Direkomendasikan untuk selalu menambahkan dompet ini dalam daftar untuk memastikan semua dompet yang diinjeksikan didukung.** ```tsx -import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; +import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Safe Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; Untuk dApps yang mendukung Safe Apps untuk memungkinkan pengguna dengan mudah terhubung dengan vault Safe atau multi-sig mereka, sertakan opsi `safeWallet` untuk koneksi otomatis. Opsi Safe hanya akan muncul di lingkungan browser Safe Wallet. ```tsx -import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Dompet Spesifik @@ -101,73 +101,73 @@ Dompet berikut disediakan melalui objek `wallet` (dalam urutan abjad). #### 1inch Wallet ```tsx -import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Argent ```tsx -import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; +import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### BeraSig ```tsx -import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; +import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Best Wallet ```tsx -import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; +import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitget ```tsx -import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitski ```tsx -import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitverse ```tsx -import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Brave Wallet ```tsx -import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; +import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet akan diaktifkan secara default dengan `all` pada awal Juni, tanpa p Pengembang dapat menguji Smart Wallet dengan rantai `sepolia` dan `baseSepolia` hari ini dengan mengatur `smartWalletOnly` dan menyertakan `coinbaseWallet` dalam daftar dompet mereka seperti ini: ```tsx -import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = 'smartWalletOnly'; +coinbaseWallet.preference = "smartWalletOnly"; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; +import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Compass Wallet ```tsx -import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; +import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; ``` #### Core ```tsx -import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; +import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; +import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### FoxWallet ```tsx -import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frame Wallet ```tsx -import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Gate Wallet ```tsx -import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; +import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### imToken ```tsx -import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; +import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaikas ```tsx -import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MEW Wallet ```tsx -import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; +import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MetaMask ```tsx -import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OKX Wallet ```tsx -import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Omni ```tsx -import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; +import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OneKey ```tsx -import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Phantom ```tsx -import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rainbow ```tsx -import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ronin Wallet ```tsx -import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; +import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safeheron ```tsx -import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Taho ```tsx -import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Talisman ```tsx -import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; +import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Tokenary ```tsx -import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Trust Wallet ```tsx -import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; +import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Valora ```tsx -import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; +import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; ``` -#### XDEFI Wallet +#### Ctrl Wallet ```tsx -import { xdefiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Zerion ```tsx -import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; +import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Wigwam ```tsx -import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; +import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Contoh @@ -430,38 +430,38 @@ Berikut ini adalah beberapa contoh menampilkan dompet yang berbeda, dalam urutan Menampilkan MetaMask bersama dengan dompet fallback generik. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { metaMaskWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` Tampilkan Rainbow, MetaMask dan Coinbase bersama dengan dompet cadangan generik. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Suggested', + groupName: "Suggested", wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` @@ -483,25 +483,25 @@ Anda dapat menggunakan kunci `groupName` untuk menamai grup dompet yang berbeda. Rekomendasikan Rainbow dan MetaMask, tetapi juga tawarkan Coinbase bersama dengan dompet cadangan generik. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: 'Others', + groupName: "Others", wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` diff --git a/site/data/ja/docs/custom-wallet-list.mdx b/site/data/ja/docs/custom-wallet-list.mdx index be053e0a59..b01b7dd871 100644 --- a/site/data/ja/docs/custom-wallet-list.mdx +++ b/site/data/ja/docs/custom-wallet-list.mdx @@ -9,30 +9,30 @@ description: ウォレットリストのカスタマイズ '@rainbow-me/rainbowkit/wallets'から個々のウォレットをインポートし、その必要なコネクターを持つウォレットのリストを作成するために`connectorsForWallets`関数を使うことができます。 これにより、どのウォレットを表示するか、そしてどの順序で表示するかを完全に制御することができます。 これにより、どのウォレットを表示するか、そしてどの順序で表示するかを完全に制御することができます。 -例えば、Rainbowと一般的なフォールバックウォレットのみを表示するように選択できます。 +例えば、Rainbow と一般的なフォールバックウォレットのみを表示するように選択できます。 ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: 'My RainbowKit App', - projectId: 'YOUR_PROJECT_ID', + appName: "My RainbowKit App", + projectId: "YOUR_PROJECT_ID", } ); ``` -次に、コネクタをWagmiの`createConfig`に渡すことができます。 +次に、コネクタを Wagmi の`createConfig`に渡すことができます。 ```tsx import { connectorsForWallets } from '@rainbow-me/rainbowkit'; @@ -68,12 +68,12 @@ const App = () => ( ##### WalletConnect -これは、リストの他のウォレットで提供されていないWalletConnectベースのウォレット用に設計されたフォールバックウォレットオプションです。 +これは、リストの他のウォレットで提供されていない WalletConnect ベースのウォレット用に設計されたフォールバックウォレットオプションです。 -**全てのWalletConnectベースのウォレットがサポートされるように、常にこのウォレットをリストに含めることをお勧めします。** +**全ての WalletConnect ベースのウォレットがサポートされるように、常にこのウォレットをリストに含めることをお勧めします。** ```tsx -import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; +import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### インジェクトウォレット @@ -83,15 +83,15 @@ import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; **全てのインジェクトウォレットがサポートされるように、常にこのウォレットをリストに含めることをお勧めします。** ```tsx -import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; +import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### セーフウォレット -Safe AppsをサポートするdAppsのために、ユーザーがセーフボールトまたはマルチシグに簡単に接続できるようにするには、自動接続のための`safeWallet`オプションを含めてください。 セーフオプションはセーフウォレットブラウザ環境でのみ表示されます。 セーフオプションはセーフウォレットブラウザ環境でのみ表示されます。 +Safe Apps をサポートする dApps のために、ユーザーがセーフボールトまたはマルチシグに簡単に接続できるようにするには、自動接続のための`safeWallet`オプションを含めてください。 セーフオプションはセーフウォレットブラウザ環境でのみ表示されます。 セーフオプションはセーフウォレットブラウザ環境でのみ表示されます。 ```tsx -import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### 特定のウォレット @@ -101,324 +101,324 @@ import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; #### 1inch Wallet ```tsx -import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Argent ```tsx -import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; +import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### BeraSig ```tsx -import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; +import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ベストウォレット ```tsx -import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; +import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitget ```tsx -import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitski ```tsx -import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitverse ```tsx -import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Brave Wallet ```tsx -import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; +import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase -このウォレットコネクタは、Coinbase Walletアプリと拡張機能、およびウェブ上でのCoinbase Smart Walletの両方をサポートします。 +このウォレットコネクタは、Coinbase Wallet アプリと拡張機能、およびウェブ上での Coinbase Smart Wallet の両方をサポートします。 -Smart Walletがユーザーに対して有効で利用可能かどうかを制御するために、`preference`引数が使用可能です。 Smart Walletがユーザーに対して有効で利用可能かどうかを制御するために、`preference`引数が使用可能です。 [ここ](https://www.smartwallet.dev/sdk/makeWeb3Provider#parameters)にプリファレンスに基づく振る舞いが記述されています。 +Smart Wallet がユーザーに対して有効で利用可能かどうかを制御するために、`preference`引数が使用可能です。 Smart Wallet がユーザーに対して有効で利用可能かどうかを制御するために、`preference`引数が使用可能です。 [ここ](https://www.smartwallet.dev/sdk/makeWeb3Provider#parameters)にプリファレンスに基づく振る舞いが記述されています。 -Smart Walletは、追加のアップグレードなしに、6月初旬からデフォルトで`all`と共に有効になります。 +Smart Wallet は、追加のアップグレードなしに、6 月初旬からデフォルトで`all`と共に有効になります。 -開発者は今日、`sepolia`および`baseSepolia`チェーンで`smartWalletOnly`を設定し、次のように`coinbaseWallet`をウォレットリストに含めることでSmart Walletをテストできます: +開発者は今日、`sepolia`および`baseSepolia`チェーンで`smartWalletOnly`を設定し、次のように`coinbaseWallet`をウォレットリストに含めることで Smart Wallet をテストできます: ```tsx -import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = 'smartWalletOnly'; +coinbaseWallet.preference = "smartWalletOnly"; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; +import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Compass Wallet ```tsx -import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; +import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; ``` #### Core ```tsx -import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; +import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; +import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### FoxWallet ```tsx -import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frame Wallet ```tsx -import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Gate Wallet ```tsx -import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; +import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### imToken ```tsx -import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; +import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaikas ```tsx -import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MEW Wallet ```tsx -import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; +import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MetaMask ```tsx -import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OKX Wallet ```tsx -import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Omni ```tsx -import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; +import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OneKey ```tsx -import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Phantom ```tsx -import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rainbow ```tsx -import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ronin Wallet ```tsx -import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; +import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safeheron ```tsx -import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Taho ```tsx -import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Talisman ```tsx -import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; +import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Tokenary ```tsx -import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Trust Wallet ```tsx -import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; +import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ヴァローラ ```tsx -import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; +import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; ``` -#### XDEFI Wallet +#### Ctrl Wallet ```tsx -import { xdefiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Zerion ```tsx -import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; +import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ウィグワム ```tsx -import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; +import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### 例 @@ -427,41 +427,41 @@ import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; さまざまなウォレットをさまざまな順序で表示するいくつかの例をここに示します。 -Metamaskと一般的なfallbackウォレットを並べて表示します。 +Metamask と一般的な fallback ウォレットを並べて表示します。 ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { metaMaskWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` -Rainbow、MetaMask、Coinbaseおよび一般的なフォールバックウォレットを表示します。 +Rainbow、MetaMask、Coinbase および一般的なフォールバックウォレットを表示します。 ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Suggested', + groupName: "Suggested", wallets: [ rainbowWallet, metaMaskWallet, @@ -470,38 +470,38 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` -> リマインダー:`wallets` 配列の順序は、UIでウォレットが表示される順序を定義します。 +> リマインダー:`wallets` 配列の順序は、UI でウォレットが表示される順序を定義します。 #### 複数のグループ `groupName`キーを使用して、異なるウォレットグループに名前をつけることができます。 これは、推奨するウォレットやその他の可能性のあるウォレットをユーザーに伝えたい場合に便利です。 これは、推奨するウォレットやその他の可能性のあるウォレットをユーザーに伝えたい場合に便利です。 -RainbowとMetaMaskを推奨しますが、Coinbaseと一般的なフォールバックウォレットも提供します。 +Rainbow と MetaMask を推奨しますが、Coinbase と一般的なフォールバックウォレットも提供します。 ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: 'Others', + groupName: "Others", wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` diff --git a/site/data/ko/docs/custom-wallet-list.mdx b/site/data/ko/docs/custom-wallet-list.mdx index 529a852c96..4a1286c60a 100644 --- a/site/data/ko/docs/custom-wallet-list.mdx +++ b/site/data/ko/docs/custom-wallet-list.mdx @@ -12,22 +12,22 @@ description: 지갑 목록 사용자 정의하기 예를 들어, Rainbow와 일반적인 대체 지갑만 표시하기로 선택할 수 있습니다. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: 'My RainbowKit App', - projectId: 'YOUR_PROJECT_ID', + appName: "My RainbowKit App", + projectId: "YOUR_PROJECT_ID", } ); ``` @@ -73,7 +73,7 @@ const App = () => ( **모든 WalletConnect 기반 지갑이 지원되도록 이 지갑을 항상 목록에 포함하는 것이 권장됩니다.** ```tsx -import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; +import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Injected Wallet @@ -83,7 +83,7 @@ import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; **모든 주입된 지갑이 지원되도록 이 지갑을 항상 목록에 포함하는 것이 권장됩니다.** ```tsx -import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; +import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Safe Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; 사용자들에게 Safe 금고 또는 다중 서명으로 쉽게 연결할 수 있도록 다양한 앱을 지원하는 dApp의 경우, 자동 연결을 위해 `safeWallet` 옵션을 포함시키십시오. Safe 옵션은 Safe Wallet 브라우저 환경에서만 나타납니다. ```tsx -import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### 특정 지갑들 @@ -101,73 +101,73 @@ import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; #### 1inch Wallet ```tsx -import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Argent ```tsx -import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; +import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### BeraSig ```tsx -import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; +import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### 최고의 지갑 ```tsx -import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; +import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### 비트겟 ```tsx -import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitski ```tsx -import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitverse ```tsx -import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Brave Wallet ```tsx -import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; +import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet은 추가 업그레이드 없이 6월 초에 기본적으로 `all` 개발자들은 오늘 `sepolia`와 `baseSepolia` 체인으로 Smart Wallet을 테스트할 수 있으며, 그들의 지갑 목록에 `coinbaseWallet`을 포함시켜 `smartWalletOnly`를 설정할 수 있습니다. ```tsx -import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = 'smartWalletOnly'; +coinbaseWallet.preference = "smartWalletOnly"; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; +import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Compass Wallet ```tsx -import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; +import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; ``` #### Core ```tsx -import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; +import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; +import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### FoxWallet ```tsx -import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frame Wallet ```tsx -import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Gate Wallet ```tsx -import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; +import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### imToken ```tsx -import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; +import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaikas ```tsx -import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MEW Wallet ```tsx -import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; +import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MetaMask ```tsx -import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OKX Wallet ```tsx -import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Omni ```tsx -import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; +import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OneKey ```tsx -import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Phantom ```tsx -import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rainbow ```tsx -import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ronin Wallet ```tsx -import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; +import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safeheron ```tsx -import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Taho ```tsx -import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Talisman ```tsx -import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; +import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Tokenary ```tsx -import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Trust Wallet ```tsx -import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; +import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### 발로라 ```tsx -import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; +import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; ``` -#### XDEFI Wallet +#### Ctrl Wallet ```tsx -import { xdefiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Zerion ```tsx -import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; +import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### 위그왬 ```tsx -import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; +import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### 예제 @@ -430,38 +430,38 @@ import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; 일반적인 백업 지갑과 함께 MetaMask를 표시합니다. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { metaMaskWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` Rainbow, MetaMask 및 Coinbase를 일반적인 백업 지갑과 함께 표시합니다. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Suggested', + groupName: "Suggested", wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` @@ -483,25 +483,25 @@ const connectors = connectorsForWallets( Rainbow과 MetaMask를 추천하되, 일반적인 백업 지갑과 함께 Coinbase도 제공합니다. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: 'Others', + groupName: "Others", wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` diff --git a/site/data/ms/docs/custom-wallet-list.mdx b/site/data/ms/docs/custom-wallet-list.mdx index 8498b06c49..6891f33959 100644 --- a/site/data/ms/docs/custom-wallet-list.mdx +++ b/site/data/ms/docs/custom-wallet-list.mdx @@ -12,22 +12,22 @@ Anda boleh mengimport dompet individu dari `'@rainbow-me/rainbowkit/wallets'` be Sebagai contoh, anda boleh memilih untuk hanya menunjukkan Rainbow bersama-sama dengan dompet gantian generik. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: 'My RainbowKit App', - projectId: 'YOUR_PROJECT_ID', + appName: "My RainbowKit App", + projectId: "YOUR_PROJECT_ID", } ); ``` @@ -73,7 +73,7 @@ Ini adalah pilihan dompet gantian yang direka untuk dompet berdasarkan WalletCon **Adalah disyorkan agar anda sentiasa memasukkan dompet ini dalam senarai untuk memastikan semua dompet berdasarkan WalletConnect disokong.** ```tsx -import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; +import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Dompet Disuntik @@ -83,7 +83,7 @@ Ini adalah pilihan dompet gantian yang direka untuk senario di mana `window.ethe **Disyorkan supaya anda sentiasa memasukkan dompet ini dalam senarai untuk memastikan semua dompet yang disuntik disokong.** ```tsx -import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; +import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Dompet Selamat @@ -91,7 +91,7 @@ import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; Untuk dApps yang menyokong Aplikasi Safe untuk membolehkan pengguna dengan mudah berhubung dengan peti simpanan Safe mereka atau multi-sig, sertakan pilihan `safeWallet` untuk sambungan automatik. Pilihan Safe hanya akan muncul dalam persekitaran pelayar Safe Wallet. ```tsx -import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Dompet Tertentu @@ -101,73 +101,73 @@ Dompet berikut disediakan melalui objek `wallet` (mengikut urutan abjad). #### Dompet 1inch ```tsx -import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Argent ```tsx -import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; +import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### BeraSig ```tsx -import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; +import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dompet Terbaik ```tsx -import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dompet Binance Web3 ```tsx -import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; +import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitget ```tsx -import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dompet Bifrost ```tsx -import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitski ```tsx -import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitverse ```tsx -import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dompet Bloom ```tsx -import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dompet Brave ```tsx -import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; +import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dompet Bybit ```tsx -import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet akan diaktifkan secara lalai dengan `all` pada awal bulan Jun, tanp Pembangun boleh menguji Smart Wallet dengan rantaian `sepolia` dan `baseSepolia` hari ini dengan menetapkan `smartWalletOnly` dan memasukkan `coinbaseWallet` dalam senarai dompet mereka seperti ini: ```tsx -import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = 'smartWalletOnly'; +coinbaseWallet.preference = "smartWalletOnly"; ``` #### Dompet Coin98 ```tsx -import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; +import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### '' ```tsx -import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; +import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; ``` #### Teras ```tsx -import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### '' ```tsx -import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; +import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### '' ```tsx -import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; +import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### '' ```tsx -import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### '' ```tsx -import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### '' ```tsx -import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dompet Gate ```tsx -import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; +import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### imToken ```tsx -import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dompet ioPay ```tsx -import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; +import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### '' ```tsx -import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaikas ```tsx -import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### '' ```tsx -import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### '' ```tsx -import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### '' ```tsx -import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dompet MEW ```tsx -import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; +import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MetaMask ```tsx -import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### '' ```tsx -import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Omni ```tsx -import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; +import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### '' ```tsx -import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### '' ```tsx -import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### '' ```tsx -import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rainbow ```tsx -import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### '' ```tsx -import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### '' ```tsx -import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; +import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safeheron ```tsx -import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Taho ```tsx -import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### '' ```tsx -import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; +import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Tokenary ```tsx -import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dompet Trust ```tsx -import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; +import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dompet Uniswap ```tsx -import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Valora ```tsx -import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; +import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; ``` -#### Dompet XDEFI +#### Dompet Ctrl ```tsx -import { xdefiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Zerion ```tsx -import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; +import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Wigwam ```tsx -import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; +import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Contoh-contoh @@ -430,38 +430,38 @@ Berikut adalah beberapa contoh bagaimana menampilkan pelbagai dompet dalam susun Tunjukkan MetaMask bersama-sama dengan dompet fallback umum. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { metaMaskWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` Tunjukkan Rainbow, MetaMask dan Coinbase bersama-sama dengan dompet fallback umum. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Suggested', + groupName: "Suggested", wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` @@ -483,25 +483,25 @@ Anda boleh menggunakan kekunci `groupName` untuk menamakan kumpulan dompet yang Syorkan Rainbow dan MetaMask, tetapi juga tawarkan Coinbase serta dompet fallback umum. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: 'Others', + groupName: "Others", wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` diff --git a/site/data/pt-BR/docs/custom-wallet-list.mdx b/site/data/pt-BR/docs/custom-wallet-list.mdx index f1fd4e9e96..991a009b11 100644 --- a/site/data/pt-BR/docs/custom-wallet-list.mdx +++ b/site/data/pt-BR/docs/custom-wallet-list.mdx @@ -12,22 +12,22 @@ Você pode importar carteiras individuais de `'@rainbow-me/rainbowkit/wallets'` Por exemplo, você pode optar por mostrar apenas a Rainbow junto com carteiras genéricas de fallback. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: 'My RainbowKit App', - projectId: 'YOUR_PROJECT_ID', + appName: "My RainbowKit App", + projectId: "YOUR_PROJECT_ID", } ); ``` @@ -73,7 +73,7 @@ Esta é uma opção de carteira de fallback projetada para carteiras baseadas em **É recomendado que você sempre inclua esta carteira na lista para garantir que todas as carteiras baseadas em WalletConnect sejam suportadas.** ```tsx -import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; +import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Carteira Injetada @@ -83,7 +83,7 @@ Esta é uma opção de carteira de fallback projetada para cenários onde `windo **É recomendado que você sempre inclua esta carteira na lista para garantir que todas as carteiras injetadas sejam suportadas.** ```tsx -import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; +import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Safe Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; Para dApps que suportam Safe Apps e permitem que os usuários se conectem facilmente com seu cofre Safe ou multi-sig, inclua a opção `safeWallet` para conexões automáticas. A opção Safe só aparecerá no ambiente do navegador Safe Wallet. ```tsx -import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Carteiras Especificas @@ -101,73 +101,73 @@ As seguintes carteiras são fornecidas através do objeto `wallet` (em ordem alf #### 1inch Wallet ```tsx -import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Argent ```tsx -import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; +import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### BeraSig ```tsx -import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; +import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Melhor Carteira ```tsx -import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; +import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitget ```tsx -import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitski ```tsx -import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitverse ```tsx -import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Brave Wallet ```tsx -import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; +import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase @@ -181,244 +181,244 @@ O Smart Wallet será habilitado por padrão com `all` no início de junho, sem u Os desenvolvedores podem testar o Smart Wallet com as cadeias `sepolia` e `baseSepolia` hoje, configurando `smartWalletOnly` e incluindo `coinbaseWallet` em sua lista de carteiras da seguinte forma: ```tsx -import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = 'smartWalletOnly'; +coinbaseWallet.preference = "smartWalletOnly"; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; +import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Compass Wallet ```tsx -import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; +import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; ``` #### Core ```tsx -import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; +import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; +import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### FoxWallet ```tsx -import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frame Wallet ```tsx -import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Gate Wallet ```tsx -import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; +import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### imToken ```tsx -import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; +import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaikas ```tsx -import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MEW Wallet ```tsx -import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; +import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MetaMask ```tsx -import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OKX Wallet ```tsx -import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Omni ```tsx -import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; +import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OneKey ```tsx -import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Phantom ```tsx -import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rainbow ```tsx -import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ronin Wallet ```tsx -import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; +import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safeheron ```tsx -import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Taho ```tsx -import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Talisman ```tsx -import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; +import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Tokenary ```tsx -import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Trust Wallet ```tsx -import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; +import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Valora ```tsx -import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; +import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; ``` -#### XDEFI Wallet +#### Ctrl Wallet ```tsx -import { xdefiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Zerion ```tsx -import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; +import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Wigwam ```tsx -import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; +import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Exemplos @@ -430,38 +430,38 @@ Aqui estão alguns exemplos de exibição de diferentes carteiras, em diferentes Mostrar Rainbow, MetaMask e Coinbase juntamente com carteiras genéricas de fallback. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { metaMaskWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` Mostre MetaMask junto com carteiras genéricas de fallback. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Suggested', + groupName: "Suggested", wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` @@ -483,25 +483,25 @@ Você pode usar a chave `groupName` para nomear diferentes grupos de carteira. I Recomende Rainbow e MetaMask, mas também ofereça Coinbase juntamente com carteiras genéricas de fallback. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: 'Others', + groupName: "Others", wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` diff --git a/site/data/ru/docs/custom-wallet-list.mdx b/site/data/ru/docs/custom-wallet-list.mdx index edd992f6cd..77d2285116 100644 --- a/site/data/ru/docs/custom-wallet-list.mdx +++ b/site/data/ru/docs/custom-wallet-list.mdx @@ -12,22 +12,22 @@ description: Настройка списка кошельков Например, вы можете выбрать, чтобы показывать только Rainbow вместе с общими резервными кошельками. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: 'My RainbowKit App', - projectId: 'YOUR_PROJECT_ID', + appName: "My RainbowKit App", + projectId: "YOUR_PROJECT_ID", } ); ``` @@ -73,7 +73,7 @@ const App = () => ( **Рекомендуется всегда включать этот кошелек в список, чтобы обеспечить поддержку всех кошельков основанных на WalletConnect.** ```tsx -import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; +import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Injected Wallet @@ -83,7 +83,7 @@ import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; **Рекомендуется всегда включать этот кошелек в список, чтобы обеспечить поддержку всех внедренных кошельков.** ```tsx -import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; +import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Safe Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; Для dApps, которые поддерживают Safe Apps, чтобы позволить пользователям легко подключаться к своему сейфу или мультиподписи, включите опцию `safeWallet` для автоматических подключений. Опция Safe будет отображаться только в среде браузера Safe Wallet. ```tsx -import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Конкретные кошельки @@ -101,73 +101,73 @@ import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; #### 1inch Wallet ```tsx -import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Argent ```tsx -import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; +import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### BeraSig ```tsx -import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; +import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Лучший кошелек ```tsx -import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; +import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitget ```tsx -import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitski ```tsx -import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitverse ```tsx -import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Brave Wallet ```tsx -import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; +import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet будет включен по умолчанию с `all` в на Разработчики могут протестировать Smart Wallet с цепочками `sepolia` и `baseSepolia` уже сегодня, установив `smartWalletOnly` и включив `coinbaseWallet` в свой список кошельков следующим образом: ```tsx -import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = 'smartWalletOnly'; +coinbaseWallet.preference = "smartWalletOnly"; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; +import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Compass Wallet ```tsx -import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; +import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; ``` #### Core ```tsx -import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; +import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; +import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### FoxWallet ```tsx -import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frame Wallet ```tsx -import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Gate Wallet ```tsx -import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; +import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### imToken ```tsx -import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; +import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaikas ```tsx -import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MEW Wallet ```tsx -import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; +import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MetaMask ```tsx -import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OKX Wallet ```tsx -import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Omni ```tsx -import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; +import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OneKey ```tsx -import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Phantom ```tsx -import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rainbow ```tsx -import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ronin Wallet ```tsx -import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; +import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safeheron ```tsx -import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Taho ```tsx -import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Talisman ```tsx -import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; +import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Tokenary ```tsx -import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Trust Wallet ```tsx -import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; +import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Валора ```tsx -import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; +import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; ``` -#### XDEFI Wallet +#### Ctrl Wallet ```tsx -import { xdefiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Zerion ```tsx -import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; +import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Вигвам ```tsx -import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; +import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Примеры @@ -430,38 +430,38 @@ import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; Показать MetaMask наряду с общими кошельками резервного хранения. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { metaMaskWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` Показать Rainbow, MetaMask и Coinbase вместе с общими резервными кошельками. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Suggested', + groupName: "Suggested", wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` @@ -483,25 +483,25 @@ const connectors = connectorsForWallets( Рекомендовать Rainbow и MetaMask, но также предлагать Coinbase вместе с общими резервными кошельками. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: 'Others', + groupName: "Others", wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` diff --git a/site/data/th/docs/custom-wallet-list.mdx b/site/data/th/docs/custom-wallet-list.mdx index fa2f199063..8748edb86f 100644 --- a/site/data/th/docs/custom-wallet-list.mdx +++ b/site/data/th/docs/custom-wallet-list.mdx @@ -12,22 +12,22 @@ description: การปรับแต่งรายการ wallet ตัวอย่างเช่น คุณสามารถเลือกแสดงเฉพาะ Rainbow พร้อมกับ wallet ที่เป็นทั่วไป ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: 'My RainbowKit App', - projectId: 'YOUR_PROJECT_ID', + appName: "My RainbowKit App", + projectId: "YOUR_PROJECT_ID", } ); ``` @@ -73,7 +73,7 @@ Wallet ต่อไปนี้จัดลำดับตามเมธอด **แนะนำให้คุณเสมอรวมกระเป๋าเงินนี้ไว้ในรายการเพื่อให้แน่ใจว่ารองรับกระเป๋าเงินที่ใช้ WalletConnect ทั้งหมด.** ```tsx -import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; +import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Injected Wallet @@ -83,7 +83,7 @@ import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; **แนะนำให้คุณเสมอรวมกระเป๋าเงินนี้ไว้ในรายการเพื่อให้แน่ใจว่ารองรับกระเป๋าเงินที่ถูก Inject ทั้งหมด.** ```tsx -import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; +import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Safe Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; สำหรับ dApps ที่รองรับ Safe Apps เพื่อให้ผู้ใช้สามารถเชื่อมต่อกับตู้นิรภัยของพวกเขาหรือ multi-sig ได้อย่างง่ายดาย ให้รวมตัวเลือก `safeWallet` สำหรับการเชื่อมต่ออัตโนมัติ ตัวเลือก Safe จะปรากฏขึ้นเฉพาะในสภาพแวดล้อมของเบราว์เซอร์กระเป๋าเงินที่ปลอดภัยเท่านั้น ตัวเลือก Safe จะปรากฏขึ้นเฉพาะในสภาพแวดล้อมของเบราว์เซอร์กระเป๋าเงินที่ปลอดภัยเท่านั้น ```tsx -import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### กระเป๋าเงินเฉพาะ @@ -101,73 +101,73 @@ import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; #### 1inch Wallet ```tsx -import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Argent ```tsx -import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; +import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### BeraSig ```tsx -import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; +import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### กระเป๋าที่ดีที่สุด ```tsx -import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; +import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitget ```tsx -import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitski ```tsx -import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitverse ```tsx -import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Brave Wallet ```tsx -import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; +import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet จะถูกเปิดใช้งานโดยค่าเ นักพัฒนาสามารถทดสอบ Smart Wallet กับเชน `sepolia` และ `baseSepolia` ได้ในวันนี้โดยตั้งค่า `smartWalletOnly` และรวม `coinbaseWallet` ในรายการกระเป๋าเงินของพวกเขา เช่น: ```tsx -import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = 'smartWalletOnly'; +coinbaseWallet.preference = "smartWalletOnly"; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; +import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Compass Wallet ```tsx -import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; +import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; ``` #### Core ```tsx -import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; +import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; +import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### FoxWallet ```tsx -import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frame Wallet ```tsx -import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Gate Wallet ```tsx -import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; +import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### imToken ```tsx -import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; +import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaikas ```tsx -import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MEW Wallet ```tsx -import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; +import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MetaMask ```tsx -import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OKX Wallet ```tsx -import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Omni ```tsx -import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; +import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OneKey ```tsx -import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Phantom ```tsx -import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rainbow ```tsx -import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ronin Wallet ```tsx -import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; +import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safeheron ```tsx -import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Taho ```tsx -import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Talisman ```tsx -import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; +import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Tokenary ```tsx -import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Trust Wallet ```tsx -import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; +import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### วาลอร่า ```tsx -import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; +import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; ``` -#### XDEFI Wallet +#### Ctrl Wallet ```tsx -import { xdefiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Zerion ```tsx -import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; +import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### วิกวัม ```tsx -import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; +import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### ตัวอย่าง @@ -430,38 +430,38 @@ import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; แสดง MetaMask พร้อมกับกระเป๋าสตางค์ fallback ทั่วไป. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { metaMaskWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` แสดง Rainbow, MetaMask และ Coinbase พร้อมกับกระเป๋าเงิน fallback ทั่วไป ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Suggested', + groupName: "Suggested", wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` @@ -483,25 +483,25 @@ const connectors = connectorsForWallets( แนะนำ Rainbow และ MetaMask, แต่ยังเสนอ Coinbase พร้อมกับกระเป๋าเงิน fallback ทั่วไป ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: 'Others', + groupName: "Others", wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` diff --git a/site/data/tr/docs/custom-wallet-list.mdx b/site/data/tr/docs/custom-wallet-list.mdx index 928a1ca0da..b3f3b0d483 100644 --- a/site/data/tr/docs/custom-wallet-list.mdx +++ b/site/data/tr/docs/custom-wallet-list.mdx @@ -12,22 +12,22 @@ description: Cüzdan listesini özelleştirme Örneğin, sadece Rainbow ve genel yedek cüzdanları göstermeyi seçebilirsiniz. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: 'My RainbowKit App', - projectId: 'YOUR_PROJECT_ID', + appName: "My RainbowKit App", + projectId: "YOUR_PROJECT_ID", } ); ``` @@ -73,7 +73,7 @@ Bu, listeye başka bir cüzdan tarafından sağlanmamış olan CüzdanBağlantı **Tüm CüzdanBağlantısı tabanlı cüzdanların desteklendiğini garantilemek için bu cüzdanı her zaman listenize dahil etmeniz önerilir.** ```tsx -import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; +import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Injected Wallet @@ -83,7 +83,7 @@ import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; Safe Wallet ```tsx -import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; +import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Safe Cüzdan @@ -91,7 +91,7 @@ import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; Safe seçeneği sadece Safe Wallet tarayıcı ortamında görünecektir. Safe seçeneği yalnızca Safe Cüzdan tarayıcı ortamında görünecektir. ```tsx -import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Özel Cüzdanlar @@ -101,73 +101,73 @@ Aşağıdaki cüzdanlar `wallet` nesnesi aracılığıyla sağlanır (alfabetik #### Argent ```tsx -import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Binance Web3 Wallet ```tsx -import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; +import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### BeraSig ```tsx -import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; +import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### En İyi Cüzdan ```tsx -import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitget ```tsx -import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; +import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bifrost Wallet ```tsx -import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitski ```tsx -import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitverse ```tsx -import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bloom Wallet ```tsx -import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Brave Wallet ```tsx -import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bybit Wallet ```tsx -import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; +import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase ```tsx -import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet, erken Haziran'da herhangi bir ek yükseltme yapmadan `all` ile var Geliştiriciler, `smartWalletOnly` ayarını yaparak ve `coinbaseWallet`'i cüzdan listesine dahil ederek bugün `sepolia` ve `baseSepolia` zincirlerinde Smart Wallet'ı test edebilirler: ```tsx -import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = 'smartWalletOnly'; +coinbaseWallet.preference = "smartWalletOnly"; ``` #### Core ```tsx -import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; +import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safe Cüzdan ```tsx -import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; +import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; ``` #### Enkrypt Wallet ```tsx -import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### FoxWallet ```tsx -import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; +import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frame Wallet ```tsx -import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; +import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frontier Wallet ```tsx -import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Gate Wallet ```tsx -import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frontier Cüzdan ```tsx -import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Gate Cüzdan ```tsx -import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; +import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### imToken ```tsx -import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ioPay Cüzdan ```tsx -import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; +import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Gate Cüzdan ```tsx -import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kresus Wallet ```tsx -import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Magic Eden Wallet ```tsx -import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MetaMask ```tsx -import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OKX Wallet ```tsx -import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; +import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Omni ```tsx -import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OneKey ```tsx -import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Phantom ```tsx -import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; +import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rabby Wallet ```tsx -import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rainbow ```tsx -import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ramper Wallet ```tsx -import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ronin Wallet ```tsx -import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safeheron ```tsx -import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Taho ```tsx -import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; +import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Talisman ```tsx -import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Tokenary ```tsx -import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### TokenPocket ```tsx -import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; +import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Trust Wallet ```tsx -import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Uniswap Wallet ```tsx -import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Trust Cüzdan ```tsx -import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; +import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Uniswap Cüzdanı ```tsx -import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Valora ```tsx -import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; +import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; ``` -#### XDEFI Cüzdanı +#### Ctrl Cüzdanı ```tsx -import { xdefiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Zerion ```tsx -import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; +import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Wigwam ```tsx -import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; +import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Örnekler @@ -430,38 +430,38 @@ Farklı cüzdanların farklı sıralamada gösterilmesine dair birkaç örnek bu MetaMask ile genel yedek cüzdanları gösterin. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { metaMaskWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` Rainbow, MetaMask ve Coinbase'i, genel yedek cüzdanlarla birlikte gösterin. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Suggested', + groupName: "Suggested", wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` @@ -483,25 +483,25 @@ const connectors = connectorsForWallets( Rainbow ve MetaMask'i önerin, ancak Coinbase'i de genel yedek cüzdanlarla birlikte sunun. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: 'Others', + groupName: "Others", wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` diff --git a/site/data/ua/docs/custom-wallet-list.mdx b/site/data/ua/docs/custom-wallet-list.mdx index 5d81ecd23c..52df67fe5c 100644 --- a/site/data/ua/docs/custom-wallet-list.mdx +++ b/site/data/ua/docs/custom-wallet-list.mdx @@ -12,22 +12,22 @@ description: Налаштування списку гаманців Наприклад, ви можете вирішити показувати лише Rainbow разом з універсальними запасними гаманцями. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: 'My RainbowKit App', - projectId: 'YOUR_PROJECT_ID', + appName: "My RainbowKit App", + projectId: "YOUR_PROJECT_ID", } ); ``` @@ -73,7 +73,7 @@ const App = () => ( **Рекомендується завжди включати цей гаманець у список, щоб забезпечити підтримку всіх гаманців на базі WalletConnect.** ```tsx -import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; +import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Вбудований Гаманець @@ -83,7 +83,7 @@ import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; **Рекомендується завжди включати цей гаманець до списку, щоб забезпечити підтримку всіх вбудованих гаманців.** ```tsx -import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; +import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Safe Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; Для dApps, які підтримують Safe Apps для надання можливості користувачам легко підключатися до свого сейфу або мульти-підпису, включіть опцію `safeWallet` для автоматичних підключень. Опція Safe буде з'являтися тільки в браузерному середовищі Safe Wallet. ```tsx -import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Конкретні Гаманці @@ -101,73 +101,73 @@ import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; #### 1inch Wallet ```tsx -import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Argent ```tsx -import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; +import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### BeraSig ```tsx -import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; +import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Найкращий гаманець ```tsx -import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; +import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitget ```tsx -import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitski ```tsx -import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitverse ```tsx -import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Brave Wallet ```tsx -import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; +import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet буде активовано за замовчуванням з `a Розробники можуть тестувати Smart Wallet з ланцюгами `sepolia` та `baseSepolia` сьогодні, встановивши `smartWalletOnly` і включивши `coinbaseWallet` у свій список гаманців наступним чином: ```tsx -import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = 'smartWalletOnly'; +coinbaseWallet.preference = "smartWalletOnly"; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; +import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Compass Wallet ```tsx -import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; +import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; ``` #### Core ```tsx -import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; +import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; +import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### FoxWallet ```tsx -import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frame Wallet ```tsx -import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Gate Wallet ```tsx -import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; +import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### imToken ```tsx -import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; +import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaikas ```tsx -import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MEW Wallet ```tsx -import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; +import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MetaMask ```tsx -import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OKX Wallet ```tsx -import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Omni ```tsx -import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; +import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OneKey ```tsx -import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Phantom ```tsx -import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rainbow ```tsx -import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ronin Wallet ```tsx -import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; +import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safeheron ```tsx -import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Taho ```tsx -import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Talisman ```tsx -import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; +import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Tokenary ```tsx -import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Trust Wallet ```tsx -import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; +import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Валора ```tsx -import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; +import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; ``` -#### XDEFI Wallet +#### Ctrl Wallet ```tsx -import { xdefiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Zerion ```tsx -import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; +import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Вігвам ```tsx -import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; +import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Приклади @@ -430,38 +430,38 @@ import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; Показати MetaMask разом із загальними запасними гаманцями. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { metaMaskWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` Показати Rainbow, MetaMask та Coinbase разом із загальними запасними гаманцями. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Suggested', + groupName: "Suggested", wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` @@ -483,25 +483,25 @@ const connectors = connectorsForWallets( Рекомендуємо Rainbow та MetaMask, але також пропонуємо Coinbase разом із загальнодоступними гаманцями. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: 'Others', + groupName: "Others", wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` diff --git a/site/data/vi/docs/custom-wallet-list.mdx b/site/data/vi/docs/custom-wallet-list.mdx index c6c5fb8376..efe0def452 100644 --- a/site/data/vi/docs/custom-wallet-list.mdx +++ b/site/data/vi/docs/custom-wallet-list.mdx @@ -12,22 +12,22 @@ Bạn có thể nhập khẩu các ví cá nhân từ `'@rainbow-me/rainbowkit/w Ví dụ, bạn có thể chỉ chọn hiển thị Rainbow cùng với các ví dự phòng chung. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: 'My RainbowKit App', - projectId: 'YOUR_PROJECT_ID', + appName: "My RainbowKit App", + projectId: "YOUR_PROJECT_ID", } ); ``` @@ -73,7 +73,7 @@ Các ví sau đây được phân phạm vi cho các phương pháp kết nối **Khuyến nghị rằng bạn luôn bao gồm ví này trong danh sách để đảm bảo tất cả các ví dựa trên WalletConnect đều được hỗ trợ.** ```tsx -import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; +import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Ví Được Tiêm @@ -83,7 +83,7 @@ import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; **Khuyến nghị rằng bạn luôn bao gồm ví này trong danh sách để đảm bảo tất cả các ví được tiêm đều được hỗ trợ.** ```tsx -import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; +import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Ví An toàn @@ -91,7 +91,7 @@ import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; Đối với các dApps hỗ trợ các Ứng dụng An toàn để cho phép người dùng dễ dàng kết nối với kho an toàn hoặc multi-sig của mình, bao gồm tùy chọn `safeWallet` để kết nối tự động. Tùy chọn An toàn sẽ chỉ xuất hiện trong môi trường trình duyệt của Ví An toàn. ```tsx -import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Ví Cụ thể @@ -101,73 +101,73 @@ Các ví sau đây được cung cấp qua đối tượng `wallet` (theo thứ #### Ví 1inch ```tsx -import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Argent ```tsx -import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; +import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### BeraSig ```tsx -import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; +import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ví Tốt Nhất ```tsx -import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; +import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitget ```tsx -import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitski ```tsx -import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitverse ```tsx -import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Brave Wallet ```tsx -import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; +import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet sẽ được kích hoạt mặc định với `all` vào đầu th Các nhà phát triển có thể thử nghiệm Smart Wallet với các chuỗi `sepolia` và `baseSepolia` ngay hôm nay bằng cách cài đặt `smartWalletOnly` và bao gồm `coinbaseWallet` trong danh sách ví của họ như sau: ```tsx -import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = 'smartWalletOnly'; +coinbaseWallet.preference = "smartWalletOnly"; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; +import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Compass Wallet ```tsx -import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; +import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; ``` #### Core ```tsx -import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; +import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; +import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### FoxWallet ```tsx -import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frame Wallet ```tsx -import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Gate Wallet ```tsx -import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; +import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### imToken ```tsx -import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; +import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaikas ```tsx -import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MEW Wallet ```tsx -import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; +import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MetaMask ```tsx -import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OKX Wallet ```tsx -import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Omni ```tsx -import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; +import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OneKey ```tsx -import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Phantom ```tsx -import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rainbow ```tsx -import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ronin Wallet ```tsx -import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; +import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safeheron ```tsx -import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Taho ```tsx -import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Talisman ```tsx -import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; +import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Tokenary ```tsx -import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Trust Wallet ```tsx -import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; +import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Valora ```tsx -import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; +import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; ``` -#### XDEFI Wallet +#### Ctrl Wallet ```tsx -import { xdefiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Zerion ```tsx -import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; +import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Wigwam ```tsx -import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; +import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### Ví dụ @@ -430,38 +430,38 @@ import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; Hiển thị Rainbow, MetaMask và Coinbase cùng với các ví dự phòng chung. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { metaMaskWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` Hiển thị Rainbow, MetaMask và Coinbase cùng với các ví dự phòng chung. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Suggested', + groupName: "Suggested", wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` @@ -483,25 +483,25 @@ Bạn có thể sử dụng khóa `groupName` để đặt tên cho các nhóm v Đề xuất Rainbow và MetaMask, nhưng cũng cung cấp Coinbase cùng với các ví dự phòng chung. ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: 'Others', + groupName: "Others", wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` diff --git a/site/data/zh-CN/docs/custom-wallet-list.mdx b/site/data/zh-CN/docs/custom-wallet-list.mdx index f94accc3a7..7ad02cab5b 100644 --- a/site/data/zh-CN/docs/custom-wallet-list.mdx +++ b/site/data/zh-CN/docs/custom-wallet-list.mdx @@ -9,25 +9,25 @@ description: 定制钱包列表 您可以从`'@rainbow-me/rainbowkit/wallets'`中导入各个钱包,同时使用`connectorsForWallets`函数来构建自己的钱包列表和所需连接器。 这样,您可以自由控制显示哪些钱包以及显示的顺序。 -例如,您可以选择仅显示Rainbow和通用的Fallback钱包。 +例如,您可以选择仅显示 Rainbow 和通用的 Fallback 钱包。 ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: 'My RainbowKit App', - projectId: 'YOUR_PROJECT_ID', + appName: "My RainbowKit App", + projectId: "YOUR_PROJECT_ID", } ); ``` @@ -73,7 +73,7 @@ const App = () => ( **建议您总是把这个钱包包含在列表中,以确保支持所有基于 WalletConnect 的钱包。** ```tsx -import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; +import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### 注入式钱包 @@ -83,15 +83,15 @@ import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; **建议您始终在列表中包含此钱包,以确保支持所有注入的钱包。** ```tsx -import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; +import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Safe Wallet -对于支持Safe Apps的dApps,以便用户可以轻松地连接到他们的Safe保险库或多重签名,包括`safeWallet`选项以实现自动连接。 Safe选项仅在Safe Wallet浏览器环境中出现。 +对于支持 Safe Apps 的 dApps,以便用户可以轻松地连接到他们的 Safe 保险库或多重签名,包括`safeWallet`选项以实现自动连接。 Safe 选项仅在 Safe Wallet 浏览器环境中出现。 ```tsx -import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### 特定钱包 @@ -101,78 +101,78 @@ The following wallets are provided via the `wallet` object (in alphabetical orde #### 1inch Wallet ```tsx -import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Argent ```tsx -import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; +import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### 贝拉签名 ```tsx -import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; +import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### 最佳钱包 ```tsx -import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; +import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitget ```tsx -import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitski ```tsx -import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitverse ```tsx -import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Brave Wallet ```tsx -import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; +import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase -此钱包连接器支持Coinbase Wallet应用程序和扩展,以及Coinbase Smart Wallet在网络上的使用。 +此钱包连接器支持 Coinbase Wallet 应用程序和扩展,以及 Coinbase Smart Wallet 在网络上的使用。 提供了一个`preference`参数,用于控制是否为用户启用和提供智能钱包。 基于偏好的行为记录于[此处](https://www.smartwallet.dev/sdk/makeWeb3Provider#parameters)。 @@ -181,244 +181,244 @@ import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; 开发者可以通过设置`smartWalletOnly`并在其钱包列表中包含`coinbaseWallet`来测试`sepolia`和`baseSepolia`链上的智能钱包,如下所示: ```tsx -import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = 'smartWalletOnly'; +coinbaseWallet.preference = "smartWalletOnly"; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; +import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Compass Wallet ```tsx -import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; +import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; ``` #### Core ```tsx -import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; +import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; +import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### FoxWallet ```tsx -import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frame Wallet ```tsx -import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Gate Wallet ```tsx -import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; +import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### imToken ```tsx -import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; +import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaikas ```tsx -import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MEW Wallet ```tsx -import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; +import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MetaMask ```tsx -import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OKX Wallet ```tsx -import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Omni ```tsx -import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; +import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OneKey ```tsx -import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Phantom ```tsx -import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rainbow ```tsx -import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ronin 钱包 ```tsx -import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; +import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safeheron ```tsx -import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Taho ```tsx -import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Talisman ```tsx -import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; +import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Tokenary ```tsx -import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Trust Wallet ```tsx -import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; +import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Valora ```tsx -import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; +import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; ``` -#### XDEFI Wallet +#### Ctrl Wallet ```tsx -import { xdefiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Zerion ```tsx -import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; +import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### 棚屋 ```tsx -import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; +import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### 示例 @@ -427,41 +427,41 @@ import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; 这里有一些显示不同钱包,以不同顺序的例子。 -显示MetaMask和一般的备选钱包。 +显示 MetaMask 和一般的备选钱包。 ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { metaMaskWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` -显示Rainbow、MetaMask和Coinbase以及一般的备选钱包。 +显示 Rainbow、MetaMask 和 Coinbase 以及一般的备选钱包。 ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Suggested', + groupName: "Suggested", wallets: [ rainbowWallet, metaMaskWallet, @@ -470,38 +470,38 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` -> 提醒:`wallets`数组的顺序定义了钱包在UI中显示的顺序。 +> 提醒:`wallets`数组的顺序定义了钱包在 UI 中显示的顺序。 #### 多个组 你可以使用`groupName`键命名不同的钱包组。 如果你想告诉你的用户你建议的钱包,以及其他可能的钱包,这是很有用的。 -推荐Rainbow和MetaMask,但也提供Coinbase以及一般的备选钱包。 +推荐 Rainbow 和 MetaMask,但也提供 Coinbase 以及一般的备选钱包。 ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: 'Others', + groupName: "Others", wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` diff --git a/site/data/zh-HK/docs/custom-wallet-list.mdx b/site/data/zh-HK/docs/custom-wallet-list.mdx index 760d976669..c6e0deb004 100644 --- a/site/data/zh-HK/docs/custom-wallet-list.mdx +++ b/site/data/zh-HK/docs/custom-wallet-list.mdx @@ -12,22 +12,22 @@ description: 自訂錢包清單 例如,你可以選擇僅顯示彩虹錢包以及通用的回退錢包。 ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: 'My RainbowKit App', - projectId: 'YOUR_PROJECT_ID', + appName: "My RainbowKit App", + projectId: "YOUR_PROJECT_ID", } ); ``` @@ -73,7 +73,7 @@ const App = () => ( **建議始終在列表中包括此錢包,以確保支持所有基於 WalletConnect 的錢包。** ```tsx -import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; +import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### 內嵌錢包 @@ -83,7 +83,7 @@ import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; **建議始終在列表中包括此錢包,以確保支持所有的內嵌錢包。** ```tsx -import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; +import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### Safe 錢包 @@ -91,7 +91,7 @@ import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; 對於支持 Safe Apps 的 dApps,允許用戶輕鬆連接他們的 Safe 金庫或多重簽名,請包括自動連接的 `safeWallet` 選項。 Safe 選項將僅在 Safe 錢包瀏覽器環境中出現。 ```tsx -import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### 特定錢包 @@ -101,73 +101,73 @@ import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; #### 1inch 錢包 ```tsx -import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Argent ```tsx -import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; +import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### BeraSig ```tsx -import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; +import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### 最佳錢包 ```tsx -import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Binance Web3 錢包 ```tsx -import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; +import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitget ```tsx -import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bifrost 錢包 ```tsx -import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitski ```tsx -import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitverse ```tsx -import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bloom 錢包 ```tsx -import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Brave 錢包 ```tsx -import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; +import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bybit 錢包 ```tsx -import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet 將於六月初默認開啟 `all`,無需進一步升級。 開發者今天可以通過設置 `smartWalletOnly` 並將 `coinbaseWallet` 包括在錢包列表中來測試 `sepolia` 和 `baseSepolia` 鏈,如下所示: ```tsx -import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = 'smartWalletOnly'; +coinbaseWallet.preference = "smartWalletOnly"; ``` #### Coin98 錢包 ```tsx -import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; +import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Compass 錢包 ```tsx -import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; +import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; ``` #### Core ```tsx -import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dawn 錢包 ```tsx -import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; +import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Enkrypt 錢包 ```tsx -import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; +import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### FoxWallet ```tsx -import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frame 錢包 ```tsx -import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frontier 錢包 ```tsx -import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Gate 錢包 ```tsx -import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; +import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### imToken ```tsx -import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ioPay 錢包 ```tsx -import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; +import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaia 錢包 ```tsx -import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaikas ```tsx -import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kraken 錢包 ```tsx -import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kresus 錢包 ```tsx -import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Magic Eden 錢包 ```tsx -import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MEW 錢包 ```tsx -import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; +import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MetaMask ```tsx -import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OKX 錢包 ```tsx -import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Omni ```tsx -import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; +import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OneKey ```tsx -import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Phantom ```tsx -import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rabby 錢包 ```tsx -import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rainbow ```tsx -import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ramper 錢包 ```tsx -import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ronin 錢包 ```tsx -import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; +import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safeheron ```tsx -import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Taho ```tsx -import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Talisman ```tsx -import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; +import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Tokenary ```tsx -import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Trust 錢包 ```tsx -import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; +import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Uniswap 錢包 ```tsx -import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Valora ```tsx -import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; +import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; ``` -#### XDEFI 錢包 +#### Ctrl 錢包 ```tsx -import { xdefiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Zerion ```tsx -import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; +import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### 圓頂帳篷 ```tsx -import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; +import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### 示例 @@ -430,38 +430,38 @@ import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; 顯示 MetaMask 以及通用的備用錢包。 ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { metaMaskWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` 顯示 Rainbow、MetaMask 和 Coinbase 以及通用的備用錢包。 ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Suggested', + groupName: "Suggested", wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` @@ -483,25 +483,25 @@ const connectors = connectorsForWallets( 推薦部署 Rainbow 和 MetaMask,但也提供 Coinbase 以及通用的備用錢包。 ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: 'Others', + groupName: "Others", wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` diff --git a/site/data/zh-TW/docs/custom-wallet-list.mdx b/site/data/zh-TW/docs/custom-wallet-list.mdx index 98e5e84550..fa01f48871 100644 --- a/site/data/zh-TW/docs/custom-wallet-list.mdx +++ b/site/data/zh-TW/docs/custom-wallet-list.mdx @@ -12,22 +12,22 @@ description: 自定義錢包列表 例如,您可以選擇只顯示 Rainbow 以及通用的備用錢包。 ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: 'My RainbowKit App', - projectId: 'YOUR_PROJECT_ID', + appName: "My RainbowKit App", + projectId: "YOUR_PROJECT_ID", } ); ``` @@ -73,7 +73,7 @@ const App = () => ( **建議始終將此錢包列入名單,以確保支持所有基於 WalletConnect 的錢包。** ```tsx -import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; +import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### 注入錢包 @@ -83,7 +83,7 @@ import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; **建議始終將此錢包列入名單,以確保支持所有注入的錢包。** ```tsx -import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; +import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ##### 安全錢包 @@ -91,7 +91,7 @@ import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; 對於支持 Safe Apps 的 dApp,用戶可以輕鬆連接其 Safe vault 或多重簽名,包含 `safeWallet` 選項以實現自動連接。 安全選項只會在 Safe Wallet 瀏覽器環境中出現。 ```tsx -import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### 特定錢包 @@ -101,73 +101,73 @@ import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; #### 1inch 錢包 ```tsx -import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Argent ```tsx -import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; +import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### BeraSig ```tsx -import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; +import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### 最佳錢包 ```tsx -import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Binance Web3 錢包 ```tsx -import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; +import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitget ```tsx -import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bifrost 錢包 ```tsx -import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitski ```tsx -import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bitverse ```tsx -import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bloom 錢包 ```tsx -import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Brave 錢包 ```tsx -import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; +import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Bybit 錢包 ```tsx -import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; +import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet 將在六月初預設啟用 `all`,無需進一步升級。 開發者今天可以通過設置 `smartWalletOnly` 並將 `coinbaseWallet` 包括在他們的錢包列表中,以 `sepolia` 和 `baseSepolia` 鏈測試 Smart Wallet: ```tsx -import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = 'smartWalletOnly'; +coinbaseWallet.preference = "smartWalletOnly"; ``` #### Coin98 錢包 ```tsx -import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; +import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Compass 錢包 ```tsx -import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; +import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; ``` #### Core ```tsx -import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; +import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Dawn 錢包 ```tsx -import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; +import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Enkrypt 錢包 ```tsx -import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; +import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### FoxWallet ```tsx -import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frame 錢包 ```tsx -import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Frontier 錢包 ```tsx -import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; +import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Gate 錢包 ```tsx -import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; +import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### imToken ```tsx -import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ioPay 錢包 ```tsx -import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; +import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaia 錢包 ```tsx -import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kaikas ```tsx -import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kraken 錢包 ```tsx -import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Kresus 錢包 ```tsx -import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; +import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ledger Live ```tsx -import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Magic Eden 錢包 ```tsx -import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; +import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MEW 錢包 ```tsx -import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; +import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### MetaMask ```tsx -import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; +import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OKX 錢包 ```tsx -import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; +import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Omni ```tsx -import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; +import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### OneKey ```tsx -import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Phantom ```tsx -import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; +import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rabby 錢包 ```tsx -import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Rainbow ```tsx -import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; +import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ramper 錢包 ```tsx -import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Ronin 錢包 ```tsx -import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; +import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Safeheron ```tsx -import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; +import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Taho ```tsx -import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Talisman ```tsx -import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; +import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Tokenary ```tsx -import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; +import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Trust 錢包 ```tsx -import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; +import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Uniswap 錢包 ```tsx -import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; +import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Valora ```tsx -import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; +import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; ``` -#### XDEFI 錢包 +#### Ctrl 錢包 ```tsx -import { xdefiWallet } from '@rainbow-me/rainbowkit/wallets'; +import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Zerion ```tsx -import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; +import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; ``` #### Wigwam ```tsx -import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; +import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; ``` ### 範例 @@ -427,41 +427,41 @@ import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; 以下是一些顯示不同錢包、不同順序的例子。 -顯示MetaMask及通用的後備錢包。 +顯示 MetaMask 及通用的後備錢包。 ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { metaMaskWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` -顯示Rainbow、MetaMask和Coinbase以及通用的後備錢包。 +顯示 Rainbow、MetaMask 和 Coinbase 以及通用的後備錢包。 ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Suggested', + groupName: "Suggested", wallets: [ rainbowWallet, metaMaskWallet, @@ -470,38 +470,38 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` -> 提醒:`wallets`數組的順序定義了在UI中顯示錢包的順序。 +> 提醒:`wallets`數組的順序定義了在 UI 中顯示錢包的順序。 #### 多個組別 您可以使用`groupName`鍵來為不同的錢包組命名。 這在您希望向用戶傳達推薦的錢包以及其他可能的錢包時非常有用。 -推薦Rainbow和MetaMask,但也提供Coinbase及通用的後備錢包。 +推薦 Rainbow 和 MetaMask,但也提供 Coinbase 及通用的後備錢包。 ```tsx -import { connectorsForWallets } from '@rainbow-me/rainbowkit'; +import { connectorsForWallets } from "@rainbow-me/rainbowkit"; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from '@rainbow-me/rainbowkit/wallets'; +} from "@rainbow-me/rainbowkit/wallets"; const connectors = connectorsForWallets( [ { - groupName: 'Recommended', + groupName: "Recommended", wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: 'Others', + groupName: "Others", wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, + { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } ); ``` From 275ca6ecc85a8889340d796ca0eaa77797665707 Mon Sep 17 00:00:00 2001 From: sotatek Date: Thu, 26 Dec 2024 16:48:05 +0700 Subject: [PATCH 2/5] chore: revert unnecessary change --- site/data/de/docs/custom-wallet-list.mdx | 128 +++++++++---------- site/data/en-US/docs/custom-wallet-list.mdx | 128 +++++++++---------- site/data/es-419/docs/custom-wallet-list.mdx | 128 +++++++++---------- site/data/fr/docs/custom-wallet-list.mdx | 128 +++++++++---------- site/data/hi/docs/custom-wallet-list.mdx | 128 +++++++++---------- site/data/id/docs/custom-wallet-list.mdx | 128 +++++++++---------- site/data/ja/docs/custom-wallet-list.mdx | 128 +++++++++---------- site/data/ko/docs/custom-wallet-list.mdx | 128 +++++++++---------- site/data/ms/docs/custom-wallet-list.mdx | 128 +++++++++---------- site/data/pt-BR/docs/custom-wallet-list.mdx | 128 +++++++++---------- site/data/ru/docs/custom-wallet-list.mdx | 128 +++++++++---------- site/data/th/docs/custom-wallet-list.mdx | 128 +++++++++---------- site/data/tr/docs/custom-wallet-list.mdx | 128 +++++++++---------- site/data/ua/docs/custom-wallet-list.mdx | 128 +++++++++---------- site/data/vi/docs/custom-wallet-list.mdx | 128 +++++++++---------- site/data/zh-CN/docs/custom-wallet-list.mdx | 128 +++++++++---------- site/data/zh-HK/docs/custom-wallet-list.mdx | 128 +++++++++---------- site/data/zh-TW/docs/custom-wallet-list.mdx | 128 +++++++++---------- 18 files changed, 1152 insertions(+), 1152 deletions(-) diff --git a/site/data/de/docs/custom-wallet-list.mdx b/site/data/de/docs/custom-wallet-list.mdx index a70a378b01..3128e86bc7 100644 --- a/site/data/de/docs/custom-wallet-list.mdx +++ b/site/data/de/docs/custom-wallet-list.mdx @@ -12,11 +12,11 @@ Sie können einzelne Wallets aus `'@rainbow-me/rainbowkit/wallets'` zusammen mit Zum Beispiel können Sie sich entscheiden, nur Rainbow zusammen mit generischen Fallback-Wallets anzuzeigen. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -73,7 +73,7 @@ Dies ist eine Fallback-Wallet-Option, die für WalletConnect-basierte Wallets au **Es wird empfohlen, diese Wallet immer in der Liste zu halten, um sicherzustellen, dass alle WalletConnect-basierten Wallets unterstützt werden.** ```tsx -import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; +import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Eingespritzte Wallet @@ -83,7 +83,7 @@ Dies ist eine Fallback-Wallet-Option für Szenarien, in denen `window.ethereum` **Es wird empfohlen, diese Wallet immer in die Liste aufzunehmen, um sicherzustellen, dass alle eingespritzten Wallets unterstützt werden.** ```tsx -import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; +import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Sichere Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; Für dApps, die Safe Apps unterstützen, um es Benutzern zu erleichtern, sich mit ihrem Safe-Tresor oder Multi-Sig zu verbinden, fügen Sie die Option `safeWallet` für automatische Verbindungen hinzu. Die Safe-Option erscheint nur in der Browserumgebung der Safe-Wallet. ```tsx -import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Spezifische Wallets @@ -101,73 +101,73 @@ Die folgenden Wallets werden über das `wallet`-Objekt bereitgestellt (in alphab #### 1inch Wallet ```tsx -import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Argent ```tsx -import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; +import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### BeraSig ```tsx -import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; +import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bestes Wallet ```tsx -import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; +import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitget ```tsx -import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitski ```tsx -import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitverse ```tsx -import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Brave Wallet ```tsx -import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; +import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet wird ab Anfang Juni standardmäßig mit `all` aktiviert, ohne ein w Entwickler können Smart Wallet bereits heute mit `sepolia` und `baseSepolia`-Chains testen, indem sie `smartWalletOnly` setzen und `coinbaseWallet` in ihre Wallet-Liste wie folgt aufnehmen: ```tsx -import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly"; +coinbaseWallet.preference = "smartWalletOnly'; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; +import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Compass Wallet ```tsx -import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; +import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; ``` #### Kern ```tsx -import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; +import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; +import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### FoxWallet ```tsx -import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frame Wallet ```tsx -import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Gate Wallet ```tsx -import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; +import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### imToken ```tsx -import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; +import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaikas ```tsx -import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MEW Wallet ```tsx -import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; +import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MetaMask ```tsx -import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; +import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OKX Wallet ```tsx -import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Omni ```tsx -import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; +import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OneKey ```tsx -import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Phantom ```tsx -import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Regenbogen ```tsx -import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ronin Wallet ```tsx -import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; +import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safeheron ```tsx -import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Taho ```tsx -import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Talisman ```tsx -import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; +import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Tokenary ```tsx -import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Trust Wallet ```tsx -import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; +import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Valora ```tsx -import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; +import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ctrl Wallet ```tsx -import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ctrlWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Zerion ```tsx -import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; +import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Wigwam ```tsx -import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; +import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Beispiele @@ -430,11 +430,11 @@ Hier sind ein paar Beispiele, wie verschiedene Wallets in unterschiedlicher Reih Zeige MetaMask zusammen mit generischen Fallback-Wallets. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { metaMaskWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -450,13 +450,13 @@ const connectors = connectorsForWallets( Zeige Rainbow, MetaMask und Coinbase zusammen mit generischen Fallback-Wallets. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -483,13 +483,13 @@ Sie können den Schlüssel `groupName` verwenden, um verschiedenen Wallet-Gruppe Empfehlen Sie Rainbow und MetaMask, bieten Sie aber auch Coinbase zusammen mit generischen Fallback-Wallets an. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ diff --git a/site/data/en-US/docs/custom-wallet-list.mdx b/site/data/en-US/docs/custom-wallet-list.mdx index 2b4b2f1da2..073ae1823f 100644 --- a/site/data/en-US/docs/custom-wallet-list.mdx +++ b/site/data/en-US/docs/custom-wallet-list.mdx @@ -12,11 +12,11 @@ You can import individual wallets from `'@rainbow-me/rainbowkit/wallets'` along For example, you can choose to only show Rainbow along with generic fallback wallets. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -73,7 +73,7 @@ This is a fallback wallet option designed for WalletConnect-based wallets that h **It's recommended that you always include this wallet in the list to ensure all WalletConnect-based wallets are supported.** ```tsx -import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; +import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Injected Wallet @@ -83,7 +83,7 @@ This is a fallback wallet option designed for scenarios where `window.ethereum` **It's recommended that you always include this wallet in the list to ensure all injected wallets are supported.** ```tsx -import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; +import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Safe Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; For dApps that support Safe Apps to allow users to easily connect with their Safe vault or multi-sig, include the `safeWallet` option for automatic connections. The Safe option will only appear in the Safe Wallet browser environment. ```tsx -import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Specific Wallets @@ -101,73 +101,73 @@ The following wallets are provided via the `wallet` object (in alphabetical orde #### 1inch Wallet ```tsx -import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Argent ```tsx -import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; +import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### BeraSig ```tsx -import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; +import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Best Wallet ```tsx -import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; +import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitget ```tsx -import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitski ```tsx -import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitverse ```tsx -import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Brave Wallet ```tsx -import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; +import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet will be enabled by default with `all` in early June, without a furt Developers can test Smart Wallet with `sepolia` and `baseSepolia` chains today by setting `smartWalletOnly` and including `coinbaseWallet` in their wallet list like so: ```tsx -import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly"; +coinbaseWallet.preference = "smartWalletOnly'; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; +import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Compass Wallet ```tsx -import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; +import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; ``` #### Core ```tsx -import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; +import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; +import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### FoxWallet ```tsx -import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frame Wallet ```tsx -import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Gate Wallet ```tsx -import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; +import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### imToken ```tsx -import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; +import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaikas ```tsx -import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MEW Wallet ```tsx -import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; +import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MetaMask ```tsx -import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; +import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OKX Wallet ```tsx -import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Omni ```tsx -import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; +import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OneKey ```tsx -import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Phantom ```tsx -import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rainbow ```tsx -import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ronin Wallet ```tsx -import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; +import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safeheron ```tsx -import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Taho ```tsx -import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Talisman ```tsx -import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; +import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Tokenary ```tsx -import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Trust Wallet ```tsx -import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; +import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Valora ```tsx -import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; +import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ctrl Wallet ```tsx -import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ctrlWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Zerion ```tsx -import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; +import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Wigwam ```tsx -import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; +import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Examples @@ -430,11 +430,11 @@ Here are a few examples of displaying different wallets, in different order. Show MetaMask along with generic fallback wallets. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { metaMaskWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -450,13 +450,13 @@ const connectors = connectorsForWallets( Show Rainbow, MetaMask and Coinbase along with generic fallback wallets. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -483,13 +483,13 @@ You can use the `groupName` key to name different wallet groups. This is useful Recommend Rainbow and MetaMask, but also offer Coinbase along with generic fallback wallets. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ diff --git a/site/data/es-419/docs/custom-wallet-list.mdx b/site/data/es-419/docs/custom-wallet-list.mdx index c2eafb1280..dd5900b547 100644 --- a/site/data/es-419/docs/custom-wallet-list.mdx +++ b/site/data/es-419/docs/custom-wallet-list.mdx @@ -12,11 +12,11 @@ Puedes importar carteras individuales desde `'@rainbow-me/rainbowkit/wallets'` j Por ejemplo, puedes elegir mostrar solo Rainbow junto con carteras de respaldo genéricas. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -73,7 +73,7 @@ Esta es una opción de monedero de respaldo diseñada para wallets basadas en Wa **Se recomienda que siempre incluya este monedero en la lista para asegurar que todas las wallets basadas en WalletConnect estén soportadas.** ```tsx -import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; +import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Monedero inyectado @@ -83,7 +83,7 @@ Esta es una opción de cartera de respaldo diseñada para escenarios donde `wind **Se recomienda que siempre incluyas esta cartera en la lista para asegurar que todas las carteras inyectadas sean compatibles.** ```tsx -import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; +import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Cartera Safe @@ -91,7 +91,7 @@ import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; Para dApps que soportan Safe Apps para permitir a los usuarios conectarse fácilmente con su bóveda Safe o multi-firma, incluya la opción `safeWallet` para conexiones automáticas. La opción Safe solo aparecerá en el entorno del navegador Safe Wallet. ```tsx -import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Carteras Específicas @@ -101,73 +101,73 @@ Las siguientes billeteras se proporcionan a través del objeto `wallet` (en orde #### Cartera 1inch ```tsx -import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Argent ```tsx -import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; +import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### BeraSig ```tsx -import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; +import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Mejor Billetera ```tsx -import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; +import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitget ```tsx -import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitski ```tsx -import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitverse ```tsx -import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Brave Wallet ```tsx -import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; +import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet estará habilitado por defecto con `all` a principios de junio, sin Los desarrolladores pueden probar Smart Wallet con las cadenas `sepolia` y `baseSepolia` hoy configurando `smartWalletOnly` e incluyendo `coinbaseWallet` en su lista de carteras de la siguiente manera: ```tsx -import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly"; +coinbaseWallet.preference = "smartWalletOnly'; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; +import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Compass Wallet ```tsx -import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; +import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; ``` #### Core ```tsx -import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; +import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; +import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### FoxWallet ```tsx -import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frame Wallet ```tsx -import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Gate Wallet ```tsx -import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; +import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### imToken ```tsx -import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; +import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaikas ```tsx -import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MEW Wallet ```tsx -import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; +import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MetaMask ```tsx -import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; +import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OKX Wallet ```tsx -import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Omni ```tsx -import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; +import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OneKey ```tsx -import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Phantom ```tsx -import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rainbow ```tsx -import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ronin Wallet ```tsx -import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; +import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safeheron ```tsx -import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Taho ```tsx -import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Talisman ```tsx -import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; +import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Tokenary ```tsx -import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Trust Wallet ```tsx -import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; +import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Valora ```tsx -import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; +import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ctrl Wallet ```tsx -import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ctrlWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Zerion ```tsx -import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; +import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Wigwam ```tsx -import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; +import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Ejemplos @@ -430,11 +430,11 @@ Aquí hay algunos ejemplos de cómo mostrar diferentes billeteras, en diferentes Mostrar MetaMask junto con billeteras de reserva genéricas. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { metaMaskWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -450,13 +450,13 @@ const connectors = connectorsForWallets( Mostrar Rainbow, MetaMask y Coinbase junto con billeteras de reserva genéricas. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -483,13 +483,13 @@ Puedes usar la clave `groupName` para nombrar diferentes grupos de billeteras. E Recomienda Rainbow y MetaMask, pero también ofrece Coinbase junto con billeteras genéricas de reserva. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ diff --git a/site/data/fr/docs/custom-wallet-list.mdx b/site/data/fr/docs/custom-wallet-list.mdx index 799b5998b6..c0559e19b1 100644 --- a/site/data/fr/docs/custom-wallet-list.mdx +++ b/site/data/fr/docs/custom-wallet-list.mdx @@ -12,11 +12,11 @@ Vous pouvez importer des portefeuilles individuels depuis `'@rainbow-me/rainbowk Par exemple, vous pouvez choisir de n'afficher que Rainbow avec des portefeuilles de repli génériques. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -73,7 +73,7 @@ Il s'agit d'une option de portefeuille de secours conçue pour les portefeuilles **Il est recommandé d'inclure toujours ce portefeuille dans la liste pour assurer la prise en charge de tous les portefeuilles basés sur WalletConnect.** ```tsx -import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; +import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Portefeuille Injecté @@ -83,7 +83,7 @@ Il s'agit d'une option de portefeuille de secours conçue pour les scénarios o **Il est recommandé d'inclure toujours ce portefeuille dans la liste pour assurer la prise en charge de tous les portefeuilles injectés.** ```tsx -import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; +import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Portefeuille Safe @@ -91,7 +91,7 @@ import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; Pour les dApps qui prennent en charge les Safe Apps pour permettre aux utilisateurs de se connecter facilement à leur coffre-fort Safe ou multi-signature, incluez l'option `safeWallet` pour des connexions automatiques. L'option Safe n'apparaîtra que dans l'environnement du navigateur Safe Wallet. ```tsx -import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Portefeuilles spécifiques @@ -101,73 +101,73 @@ Les wallets suivants sont fournis via l'objet `wallet` (par ordre alphabétique) #### Portefeuille 1inch ```tsx -import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Argent ```tsx -import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; +import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### BeraSig ```tsx -import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; +import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Meilleur Portefeuille ```tsx -import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Binance Web3 ```tsx -import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; +import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitget ```tsx -import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Bifrost ```tsx -import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitski ```tsx -import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitverse ```tsx -import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Bloom ```tsx -import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Brave ```tsx -import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; +import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Bybit ```tsx -import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet sera activé par défaut avec `all` début juin, sans mise à jour Les développeurs peuvent tester Smart Wallet avec les chaînes `sepolia` et `baseSepolia` dès aujourd'hui en définissant `smartWalletOnly` et en incluant `coinbaseWallet` dans leur liste de portefeuilles comme suit : ```tsx -import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly"; +coinbaseWallet.preference = "smartWalletOnly'; ``` #### Portefeuille Coin98 ```tsx -import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; +import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Compass ```tsx -import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; +import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; ``` #### Core ```tsx -import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Dawn ```tsx -import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; +import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Enkrypt ```tsx -import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; +import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### FoxWallet ```tsx -import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Frame ```tsx -import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Frontier ```tsx -import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Gate ```tsx -import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; +import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### imToken ```tsx -import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille ioPay ```tsx -import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; +import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Kaia ```tsx -import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaikas ```tsx -import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Kraken ```tsx -import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Kresus ```tsx -import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Magic Eden ```tsx -import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille MEW ```tsx -import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; +import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MetaMask ```tsx -import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; +import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille OKX ```tsx -import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Omni ```tsx -import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; +import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OneKey ```tsx -import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Phantom ```tsx -import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Rabby ```tsx -import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rainbow ```tsx -import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Ramper ```tsx -import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Ronin ```tsx -import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; +import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safeheron ```tsx -import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Taho ```tsx -import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Talisman ```tsx -import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; +import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Tokenary ```tsx -import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Trust ```tsx -import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; +import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Uniswap ```tsx -import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Valora ```tsx -import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; +import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Portefeuille Ctrl ```tsx -import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ctrlWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Zerion ```tsx -import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; +import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Wigwam ```tsx -import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; +import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Exemples @@ -430,11 +430,11 @@ Voici quelques exemples d'affichage de différents portefeuilles, dans un ordre Affichez MetaMask avec des portefeuilles génériques de secours. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { metaMaskWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -450,13 +450,13 @@ const connectors = connectorsForWallets( Affichez Rainbow, MetaMask et Coinbase ainsi que les portefeuilles génériques de secours. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -483,13 +483,13 @@ Vous pouvez utiliser la clé `groupName` pour nommer différents groupes de port Recommandez Rainbow et MetaMask, mais proposez aussi Coinbase ainsi que des portefeuilles génériques de secours. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ diff --git a/site/data/hi/docs/custom-wallet-list.mdx b/site/data/hi/docs/custom-wallet-list.mdx index 73793a3f0f..f689aaac39 100644 --- a/site/data/hi/docs/custom-wallet-list.mdx +++ b/site/data/hi/docs/custom-wallet-list.mdx @@ -12,11 +12,11 @@ description: वॉलेट सूची को कस्टमाइज़ क उदाहरण के लिए, आप सामान्य फ़ॉलबैक वॉलेट्स के साथ केवल Rainbow दिखाने का चयन कर सकते हैं। ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -73,7 +73,7 @@ const App = () => ( **यह सिफारिश की जाती है कि आप इस वॉलेट को सूची में हमेशा शामिल करें ताकि सुनिश्चित किया जाए कि सभी WalletConnect-आधारित वॉलेट्स समर्थित हैं।** ```tsx -import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; +import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Injected Wallet @@ -83,7 +83,7 @@ import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; **यह सिफारिश की जाती है कि आप इस वॉलेट को सूची में हमेशा शामिल करें ताकि सुनिश्चित किया जाए कि सभी injected वॉलेट्स समर्थित हैं।** ```tsx -import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; +import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Safe Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; उन dApps के लिए जो उपयोगकर्ताओं को उनके Safe vault या multi-sig से आसानी से कनेक्ट होने की अनुमति देने के लिए Safe Apps का समर्थन करते हैं, स्वचालित कनेक्शनों के लिए `safeWallet` विकल्प को शामिल करें। Safe विकल्प केवल Safe Wallet ब्राउज़र वातावरण में ही प्रदर्शित होगा। ```tsx -import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### विशिष्ट वॉलेट्स @@ -101,73 +101,73 @@ import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; #### 1inch Wallet ```tsx -import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Argent ```tsx -import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; +import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### बेरा सिग ```tsx -import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; +import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### सर्वश्रेष्ठ वॉलेट ```tsx -import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; +import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitget ```tsx -import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitski ```tsx -import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitverse ```tsx -import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Brave Wallet ```tsx -import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; +import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet प्रारंभिक जून में बिना कि विकसितकर्ता Smart Wallet का परीक्षण कर सकते हैं `sepolia` और `baseSepolia` चैन के साथ आज ही `smartWalletOnly` सेट करके और `coinbaseWallet` को अपनी वॉलेट सूची में शामिल करके जैसे: ```tsx -import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly"; +coinbaseWallet.preference = "smartWalletOnly'; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; +import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Compass Wallet ```tsx -import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; +import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; ``` #### Core ```tsx -import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; +import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; +import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### FoxWallet ```tsx -import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frame Wallet ```tsx -import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Gate Wallet ```tsx -import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; +import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### imToken ```tsx -import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; +import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaikas ```tsx -import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MEW Wallet ```tsx -import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; +import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MetaMask ```tsx -import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; +import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OKX Wallet ```tsx -import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Omni ```tsx -import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; +import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OneKey ```tsx -import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### पारा स्वैप ```tsx -import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Phantom ```tsx -import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rainbow ```tsx -import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ronin Wallet ```tsx -import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; +import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safeheron ```tsx -import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Taho ```tsx -import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Talisman ```tsx -import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; +import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Tokenary ```tsx -import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Trust Wallet ```tsx -import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; +import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### वैलोरा ```tsx -import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; +import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ctrl Wallet ```tsx -import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ctrlWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Zerion ```tsx -import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; +import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### विगवाम ```tsx -import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; +import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### उदाहरण @@ -430,11 +430,11 @@ import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; मेटामास्क के साथ सामान्य फॉलबैक वॉलेट्स दिखाएं। ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { metaMaskWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -450,13 +450,13 @@ const connectors = connectorsForWallets( रेनबो, मेटामास्क और कोइनबेस को सामान्य फ़ॉलबैक वॉलेट्स के साथ दिखाएं। ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -483,13 +483,13 @@ const connectors = connectorsForWallets( रेनबो और मेटामास्क की सिफारिश करें, लेकिन सामान्य फ़ॉलबैक वॉलेट्स के साथ कोइनबेस की भी पेशकश करें। ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ diff --git a/site/data/id/docs/custom-wallet-list.mdx b/site/data/id/docs/custom-wallet-list.mdx index 079a68af4d..e9c842bc08 100644 --- a/site/data/id/docs/custom-wallet-list.mdx +++ b/site/data/id/docs/custom-wallet-list.mdx @@ -12,11 +12,11 @@ Anda dapat mengimpor dompet individual dari `'@rainbow-me/rainbowkit/wallets'` b Misalnya, Anda bisa memilih untuk hanya menunjukkan Rainbow bersama dengan dompet pengganti generik. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -73,7 +73,7 @@ Ini adalah opsi dompet cadangan yang dirancang untuk dompet berbasis WalletConne **Direkomendasikan untuk selalu menambahkan dompet ini dalam daftar untuk memastikan semua dompet berbasis WalletConnect didukung.** ```tsx -import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; +import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Injected Wallet @@ -83,7 +83,7 @@ Ini adalah opsi dompet cadangan yang dirancang untuk skenario di mana `window.et **Direkomendasikan untuk selalu menambahkan dompet ini dalam daftar untuk memastikan semua dompet yang diinjeksikan didukung.** ```tsx -import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; +import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Safe Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; Untuk dApps yang mendukung Safe Apps untuk memungkinkan pengguna dengan mudah terhubung dengan vault Safe atau multi-sig mereka, sertakan opsi `safeWallet` untuk koneksi otomatis. Opsi Safe hanya akan muncul di lingkungan browser Safe Wallet. ```tsx -import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Dompet Spesifik @@ -101,73 +101,73 @@ Dompet berikut disediakan melalui objek `wallet` (dalam urutan abjad). #### 1inch Wallet ```tsx -import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Argent ```tsx -import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; +import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### BeraSig ```tsx -import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; +import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Best Wallet ```tsx -import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; +import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitget ```tsx -import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitski ```tsx -import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitverse ```tsx -import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Brave Wallet ```tsx -import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; +import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet akan diaktifkan secara default dengan `all` pada awal Juni, tanpa p Pengembang dapat menguji Smart Wallet dengan rantai `sepolia` dan `baseSepolia` hari ini dengan mengatur `smartWalletOnly` dan menyertakan `coinbaseWallet` dalam daftar dompet mereka seperti ini: ```tsx -import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly"; +coinbaseWallet.preference = "smartWalletOnly'; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; +import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Compass Wallet ```tsx -import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; +import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; ``` #### Core ```tsx -import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; +import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; +import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### FoxWallet ```tsx -import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frame Wallet ```tsx -import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Gate Wallet ```tsx -import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; +import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### imToken ```tsx -import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; +import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaikas ```tsx -import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MEW Wallet ```tsx -import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; +import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MetaMask ```tsx -import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; +import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OKX Wallet ```tsx -import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Omni ```tsx -import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; +import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OneKey ```tsx -import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Phantom ```tsx -import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rainbow ```tsx -import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ronin Wallet ```tsx -import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; +import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safeheron ```tsx -import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Taho ```tsx -import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Talisman ```tsx -import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; +import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Tokenary ```tsx -import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Trust Wallet ```tsx -import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; +import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Valora ```tsx -import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; +import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ctrl Wallet ```tsx -import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ctrlWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Zerion ```tsx -import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; +import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Wigwam ```tsx -import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; +import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Contoh @@ -430,11 +430,11 @@ Berikut ini adalah beberapa contoh menampilkan dompet yang berbeda, dalam urutan Menampilkan MetaMask bersama dengan dompet fallback generik. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { metaMaskWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -450,13 +450,13 @@ const connectors = connectorsForWallets( Tampilkan Rainbow, MetaMask dan Coinbase bersama dengan dompet cadangan generik. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -483,13 +483,13 @@ Anda dapat menggunakan kunci `groupName` untuk menamai grup dompet yang berbeda. Rekomendasikan Rainbow dan MetaMask, tetapi juga tawarkan Coinbase bersama dengan dompet cadangan generik. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ diff --git a/site/data/ja/docs/custom-wallet-list.mdx b/site/data/ja/docs/custom-wallet-list.mdx index b01b7dd871..f7f50a8eb5 100644 --- a/site/data/ja/docs/custom-wallet-list.mdx +++ b/site/data/ja/docs/custom-wallet-list.mdx @@ -12,11 +12,11 @@ description: ウォレットリストのカスタマイズ 例えば、Rainbow と一般的なフォールバックウォレットのみを表示するように選択できます。 ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -73,7 +73,7 @@ const App = () => ( **全ての WalletConnect ベースのウォレットがサポートされるように、常にこのウォレットをリストに含めることをお勧めします。** ```tsx -import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; +import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### インジェクトウォレット @@ -83,7 +83,7 @@ import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; **全てのインジェクトウォレットがサポートされるように、常にこのウォレットをリストに含めることをお勧めします。** ```tsx -import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; +import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### セーフウォレット @@ -91,7 +91,7 @@ import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; Safe Apps をサポートする dApps のために、ユーザーがセーフボールトまたはマルチシグに簡単に接続できるようにするには、自動接続のための`safeWallet`オプションを含めてください。 セーフオプションはセーフウォレットブラウザ環境でのみ表示されます。 セーフオプションはセーフウォレットブラウザ環境でのみ表示されます。 ```tsx -import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### 特定のウォレット @@ -101,73 +101,73 @@ import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; #### 1inch Wallet ```tsx -import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Argent ```tsx -import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; +import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### BeraSig ```tsx -import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; +import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ベストウォレット ```tsx -import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; +import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitget ```tsx -import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitski ```tsx -import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitverse ```tsx -import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Brave Wallet ```tsx -import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; +import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet は、追加のアップグレードなしに、6 月初旬から 開発者は今日、`sepolia`および`baseSepolia`チェーンで`smartWalletOnly`を設定し、次のように`coinbaseWallet`をウォレットリストに含めることで Smart Wallet をテストできます: ```tsx -import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly"; +coinbaseWallet.preference = "smartWalletOnly'; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; +import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Compass Wallet ```tsx -import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; +import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; ``` #### Core ```tsx -import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; +import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; +import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### FoxWallet ```tsx -import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frame Wallet ```tsx -import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Gate Wallet ```tsx -import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; +import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### imToken ```tsx -import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; +import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaikas ```tsx -import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MEW Wallet ```tsx -import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; +import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MetaMask ```tsx -import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; +import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OKX Wallet ```tsx -import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Omni ```tsx -import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; +import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OneKey ```tsx -import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Phantom ```tsx -import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rainbow ```tsx -import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ronin Wallet ```tsx -import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; +import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safeheron ```tsx -import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Taho ```tsx -import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Talisman ```tsx -import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; +import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Tokenary ```tsx -import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Trust Wallet ```tsx -import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; +import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ヴァローラ ```tsx -import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; +import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ctrl Wallet ```tsx -import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ctrlWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Zerion ```tsx -import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; +import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ウィグワム ```tsx -import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; +import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### 例 @@ -430,11 +430,11 @@ import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; Metamask と一般的な fallback ウォレットを並べて表示します。 ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { metaMaskWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -450,13 +450,13 @@ const connectors = connectorsForWallets( Rainbow、MetaMask、Coinbase および一般的なフォールバックウォレットを表示します。 ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -483,13 +483,13 @@ const connectors = connectorsForWallets( Rainbow と MetaMask を推奨しますが、Coinbase と一般的なフォールバックウォレットも提供します。 ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ diff --git a/site/data/ko/docs/custom-wallet-list.mdx b/site/data/ko/docs/custom-wallet-list.mdx index 4a1286c60a..041da778bd 100644 --- a/site/data/ko/docs/custom-wallet-list.mdx +++ b/site/data/ko/docs/custom-wallet-list.mdx @@ -12,11 +12,11 @@ description: 지갑 목록 사용자 정의하기 예를 들어, Rainbow와 일반적인 대체 지갑만 표시하기로 선택할 수 있습니다. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -73,7 +73,7 @@ const App = () => ( **모든 WalletConnect 기반 지갑이 지원되도록 이 지갑을 항상 목록에 포함하는 것이 권장됩니다.** ```tsx -import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; +import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Injected Wallet @@ -83,7 +83,7 @@ import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; **모든 주입된 지갑이 지원되도록 이 지갑을 항상 목록에 포함하는 것이 권장됩니다.** ```tsx -import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; +import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Safe Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; 사용자들에게 Safe 금고 또는 다중 서명으로 쉽게 연결할 수 있도록 다양한 앱을 지원하는 dApp의 경우, 자동 연결을 위해 `safeWallet` 옵션을 포함시키십시오. Safe 옵션은 Safe Wallet 브라우저 환경에서만 나타납니다. ```tsx -import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### 특정 지갑들 @@ -101,73 +101,73 @@ import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; #### 1inch Wallet ```tsx -import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Argent ```tsx -import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; +import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### BeraSig ```tsx -import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; +import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### 최고의 지갑 ```tsx -import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; +import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### 비트겟 ```tsx -import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitski ```tsx -import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitverse ```tsx -import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Brave Wallet ```tsx -import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; +import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet은 추가 업그레이드 없이 6월 초에 기본적으로 `all` 개발자들은 오늘 `sepolia`와 `baseSepolia` 체인으로 Smart Wallet을 테스트할 수 있으며, 그들의 지갑 목록에 `coinbaseWallet`을 포함시켜 `smartWalletOnly`를 설정할 수 있습니다. ```tsx -import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly"; +coinbaseWallet.preference = "smartWalletOnly'; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; +import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Compass Wallet ```tsx -import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; +import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; ``` #### Core ```tsx -import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; +import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; +import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### FoxWallet ```tsx -import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frame Wallet ```tsx -import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Gate Wallet ```tsx -import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; +import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### imToken ```tsx -import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; +import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaikas ```tsx -import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MEW Wallet ```tsx -import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; +import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MetaMask ```tsx -import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; +import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OKX Wallet ```tsx -import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Omni ```tsx -import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; +import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OneKey ```tsx -import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Phantom ```tsx -import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rainbow ```tsx -import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ronin Wallet ```tsx -import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; +import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safeheron ```tsx -import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Taho ```tsx -import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Talisman ```tsx -import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; +import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Tokenary ```tsx -import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Trust Wallet ```tsx -import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; +import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### 발로라 ```tsx -import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; +import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ctrl Wallet ```tsx -import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ctrlWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Zerion ```tsx -import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; +import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### 위그왬 ```tsx -import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; +import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### 예제 @@ -430,11 +430,11 @@ import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; 일반적인 백업 지갑과 함께 MetaMask를 표시합니다. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { metaMaskWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -450,13 +450,13 @@ const connectors = connectorsForWallets( Rainbow, MetaMask 및 Coinbase를 일반적인 백업 지갑과 함께 표시합니다. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -483,13 +483,13 @@ const connectors = connectorsForWallets( Rainbow과 MetaMask를 추천하되, 일반적인 백업 지갑과 함께 Coinbase도 제공합니다. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ diff --git a/site/data/ms/docs/custom-wallet-list.mdx b/site/data/ms/docs/custom-wallet-list.mdx index 6891f33959..036f3de3cf 100644 --- a/site/data/ms/docs/custom-wallet-list.mdx +++ b/site/data/ms/docs/custom-wallet-list.mdx @@ -12,11 +12,11 @@ Anda boleh mengimport dompet individu dari `'@rainbow-me/rainbowkit/wallets'` be Sebagai contoh, anda boleh memilih untuk hanya menunjukkan Rainbow bersama-sama dengan dompet gantian generik. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -73,7 +73,7 @@ Ini adalah pilihan dompet gantian yang direka untuk dompet berdasarkan WalletCon **Adalah disyorkan agar anda sentiasa memasukkan dompet ini dalam senarai untuk memastikan semua dompet berdasarkan WalletConnect disokong.** ```tsx -import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; +import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Dompet Disuntik @@ -83,7 +83,7 @@ Ini adalah pilihan dompet gantian yang direka untuk senario di mana `window.ethe **Disyorkan supaya anda sentiasa memasukkan dompet ini dalam senarai untuk memastikan semua dompet yang disuntik disokong.** ```tsx -import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; +import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Dompet Selamat @@ -91,7 +91,7 @@ import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; Untuk dApps yang menyokong Aplikasi Safe untuk membolehkan pengguna dengan mudah berhubung dengan peti simpanan Safe mereka atau multi-sig, sertakan pilihan `safeWallet` untuk sambungan automatik. Pilihan Safe hanya akan muncul dalam persekitaran pelayar Safe Wallet. ```tsx -import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Dompet Tertentu @@ -101,73 +101,73 @@ Dompet berikut disediakan melalui objek `wallet` (mengikut urutan abjad). #### Dompet 1inch ```tsx -import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Argent ```tsx -import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; +import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### BeraSig ```tsx -import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; +import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dompet Terbaik ```tsx -import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dompet Binance Web3 ```tsx -import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; +import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitget ```tsx -import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dompet Bifrost ```tsx -import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitski ```tsx -import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitverse ```tsx -import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dompet Bloom ```tsx -import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dompet Brave ```tsx -import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; +import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dompet Bybit ```tsx -import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet akan diaktifkan secara lalai dengan `all` pada awal bulan Jun, tanp Pembangun boleh menguji Smart Wallet dengan rantaian `sepolia` dan `baseSepolia` hari ini dengan menetapkan `smartWalletOnly` dan memasukkan `coinbaseWallet` dalam senarai dompet mereka seperti ini: ```tsx -import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly"; +coinbaseWallet.preference = "smartWalletOnly'; ``` #### Dompet Coin98 ```tsx -import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; +import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### '' ```tsx -import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; +import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; ``` #### Teras ```tsx -import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### '' ```tsx -import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; +import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### '' ```tsx -import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; +import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### '' ```tsx -import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### '' ```tsx -import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### '' ```tsx -import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dompet Gate ```tsx -import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; +import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### imToken ```tsx -import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dompet ioPay ```tsx -import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; +import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### '' ```tsx -import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaikas ```tsx -import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### '' ```tsx -import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### '' ```tsx -import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### '' ```tsx -import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dompet MEW ```tsx -import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; +import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MetaMask ```tsx -import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; +import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### '' ```tsx -import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Omni ```tsx -import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; +import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### '' ```tsx -import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### '' ```tsx -import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### '' ```tsx -import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rainbow ```tsx -import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### '' ```tsx -import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### '' ```tsx -import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; +import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safeheron ```tsx -import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Taho ```tsx -import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### '' ```tsx -import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; +import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Tokenary ```tsx -import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dompet Trust ```tsx -import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; +import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dompet Uniswap ```tsx -import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Valora ```tsx -import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; +import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dompet Ctrl ```tsx -import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ctrlWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Zerion ```tsx -import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; +import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Wigwam ```tsx -import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; +import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Contoh-contoh @@ -430,11 +430,11 @@ Berikut adalah beberapa contoh bagaimana menampilkan pelbagai dompet dalam susun Tunjukkan MetaMask bersama-sama dengan dompet fallback umum. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { metaMaskWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -450,13 +450,13 @@ const connectors = connectorsForWallets( Tunjukkan Rainbow, MetaMask dan Coinbase bersama-sama dengan dompet fallback umum. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -483,13 +483,13 @@ Anda boleh menggunakan kekunci `groupName` untuk menamakan kumpulan dompet yang Syorkan Rainbow dan MetaMask, tetapi juga tawarkan Coinbase serta dompet fallback umum. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ diff --git a/site/data/pt-BR/docs/custom-wallet-list.mdx b/site/data/pt-BR/docs/custom-wallet-list.mdx index 991a009b11..2184cb7fad 100644 --- a/site/data/pt-BR/docs/custom-wallet-list.mdx +++ b/site/data/pt-BR/docs/custom-wallet-list.mdx @@ -12,11 +12,11 @@ Você pode importar carteiras individuais de `'@rainbow-me/rainbowkit/wallets'` Por exemplo, você pode optar por mostrar apenas a Rainbow junto com carteiras genéricas de fallback. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -73,7 +73,7 @@ Esta é uma opção de carteira de fallback projetada para carteiras baseadas em **É recomendado que você sempre inclua esta carteira na lista para garantir que todas as carteiras baseadas em WalletConnect sejam suportadas.** ```tsx -import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; +import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Carteira Injetada @@ -83,7 +83,7 @@ Esta é uma opção de carteira de fallback projetada para cenários onde `windo **É recomendado que você sempre inclua esta carteira na lista para garantir que todas as carteiras injetadas sejam suportadas.** ```tsx -import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; +import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Safe Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; Para dApps que suportam Safe Apps e permitem que os usuários se conectem facilmente com seu cofre Safe ou multi-sig, inclua a opção `safeWallet` para conexões automáticas. A opção Safe só aparecerá no ambiente do navegador Safe Wallet. ```tsx -import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Carteiras Especificas @@ -101,73 +101,73 @@ As seguintes carteiras são fornecidas através do objeto `wallet` (em ordem alf #### 1inch Wallet ```tsx -import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Argent ```tsx -import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; +import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### BeraSig ```tsx -import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; +import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Melhor Carteira ```tsx -import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; +import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitget ```tsx -import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitski ```tsx -import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitverse ```tsx -import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Brave Wallet ```tsx -import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; +import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase @@ -181,244 +181,244 @@ O Smart Wallet será habilitado por padrão com `all` no início de junho, sem u Os desenvolvedores podem testar o Smart Wallet com as cadeias `sepolia` e `baseSepolia` hoje, configurando `smartWalletOnly` e incluindo `coinbaseWallet` em sua lista de carteiras da seguinte forma: ```tsx -import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly"; +coinbaseWallet.preference = "smartWalletOnly'; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; +import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Compass Wallet ```tsx -import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; +import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; ``` #### Core ```tsx -import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; +import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; +import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### FoxWallet ```tsx -import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frame Wallet ```tsx -import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Gate Wallet ```tsx -import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; +import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### imToken ```tsx -import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; +import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaikas ```tsx -import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MEW Wallet ```tsx -import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; +import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MetaMask ```tsx -import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; +import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OKX Wallet ```tsx -import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Omni ```tsx -import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; +import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OneKey ```tsx -import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Phantom ```tsx -import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rainbow ```tsx -import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ronin Wallet ```tsx -import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; +import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safeheron ```tsx -import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Taho ```tsx -import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Talisman ```tsx -import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; +import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Tokenary ```tsx -import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Trust Wallet ```tsx -import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; +import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Valora ```tsx -import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; +import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ctrl Wallet ```tsx -import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ctrlWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Zerion ```tsx -import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; +import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Wigwam ```tsx -import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; +import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Exemplos @@ -430,11 +430,11 @@ Aqui estão alguns exemplos de exibição de diferentes carteiras, em diferentes Mostrar Rainbow, MetaMask e Coinbase juntamente com carteiras genéricas de fallback. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { metaMaskWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -450,13 +450,13 @@ const connectors = connectorsForWallets( Mostre MetaMask junto com carteiras genéricas de fallback. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -483,13 +483,13 @@ Você pode usar a chave `groupName` para nomear diferentes grupos de carteira. I Recomende Rainbow e MetaMask, mas também ofereça Coinbase juntamente com carteiras genéricas de fallback. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ diff --git a/site/data/ru/docs/custom-wallet-list.mdx b/site/data/ru/docs/custom-wallet-list.mdx index 77d2285116..b3035dc533 100644 --- a/site/data/ru/docs/custom-wallet-list.mdx +++ b/site/data/ru/docs/custom-wallet-list.mdx @@ -12,11 +12,11 @@ description: Настройка списка кошельков Например, вы можете выбрать, чтобы показывать только Rainbow вместе с общими резервными кошельками. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -73,7 +73,7 @@ const App = () => ( **Рекомендуется всегда включать этот кошелек в список, чтобы обеспечить поддержку всех кошельков основанных на WalletConnect.** ```tsx -import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; +import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Injected Wallet @@ -83,7 +83,7 @@ import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; **Рекомендуется всегда включать этот кошелек в список, чтобы обеспечить поддержку всех внедренных кошельков.** ```tsx -import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; +import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Safe Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; Для dApps, которые поддерживают Safe Apps, чтобы позволить пользователям легко подключаться к своему сейфу или мультиподписи, включите опцию `safeWallet` для автоматических подключений. Опция Safe будет отображаться только в среде браузера Safe Wallet. ```tsx -import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Конкретные кошельки @@ -101,73 +101,73 @@ import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; #### 1inch Wallet ```tsx -import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Argent ```tsx -import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; +import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### BeraSig ```tsx -import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; +import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Лучший кошелек ```tsx -import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; +import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitget ```tsx -import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitski ```tsx -import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitverse ```tsx -import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Brave Wallet ```tsx -import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; +import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet будет включен по умолчанию с `all` в на Разработчики могут протестировать Smart Wallet с цепочками `sepolia` и `baseSepolia` уже сегодня, установив `smartWalletOnly` и включив `coinbaseWallet` в свой список кошельков следующим образом: ```tsx -import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly"; +coinbaseWallet.preference = "smartWalletOnly'; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; +import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Compass Wallet ```tsx -import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; +import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; ``` #### Core ```tsx -import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; +import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; +import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### FoxWallet ```tsx -import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frame Wallet ```tsx -import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Gate Wallet ```tsx -import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; +import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### imToken ```tsx -import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; +import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaikas ```tsx -import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MEW Wallet ```tsx -import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; +import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MetaMask ```tsx -import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; +import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OKX Wallet ```tsx -import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Omni ```tsx -import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; +import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OneKey ```tsx -import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Phantom ```tsx -import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rainbow ```tsx -import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ronin Wallet ```tsx -import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; +import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safeheron ```tsx -import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Taho ```tsx -import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Talisman ```tsx -import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; +import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Tokenary ```tsx -import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Trust Wallet ```tsx -import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; +import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Валора ```tsx -import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; +import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ctrl Wallet ```tsx -import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ctrlWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Zerion ```tsx -import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; +import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Вигвам ```tsx -import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; +import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Примеры @@ -430,11 +430,11 @@ import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; Показать MetaMask наряду с общими кошельками резервного хранения. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { metaMaskWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -450,13 +450,13 @@ const connectors = connectorsForWallets( Показать Rainbow, MetaMask и Coinbase вместе с общими резервными кошельками. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -483,13 +483,13 @@ const connectors = connectorsForWallets( Рекомендовать Rainbow и MetaMask, но также предлагать Coinbase вместе с общими резервными кошельками. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ diff --git a/site/data/th/docs/custom-wallet-list.mdx b/site/data/th/docs/custom-wallet-list.mdx index 8748edb86f..20fa7934ff 100644 --- a/site/data/th/docs/custom-wallet-list.mdx +++ b/site/data/th/docs/custom-wallet-list.mdx @@ -12,11 +12,11 @@ description: การปรับแต่งรายการ wallet ตัวอย่างเช่น คุณสามารถเลือกแสดงเฉพาะ Rainbow พร้อมกับ wallet ที่เป็นทั่วไป ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -73,7 +73,7 @@ Wallet ต่อไปนี้จัดลำดับตามเมธอด **แนะนำให้คุณเสมอรวมกระเป๋าเงินนี้ไว้ในรายการเพื่อให้แน่ใจว่ารองรับกระเป๋าเงินที่ใช้ WalletConnect ทั้งหมด.** ```tsx -import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; +import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Injected Wallet @@ -83,7 +83,7 @@ import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; **แนะนำให้คุณเสมอรวมกระเป๋าเงินนี้ไว้ในรายการเพื่อให้แน่ใจว่ารองรับกระเป๋าเงินที่ถูก Inject ทั้งหมด.** ```tsx -import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; +import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Safe Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; สำหรับ dApps ที่รองรับ Safe Apps เพื่อให้ผู้ใช้สามารถเชื่อมต่อกับตู้นิรภัยของพวกเขาหรือ multi-sig ได้อย่างง่ายดาย ให้รวมตัวเลือก `safeWallet` สำหรับการเชื่อมต่ออัตโนมัติ ตัวเลือก Safe จะปรากฏขึ้นเฉพาะในสภาพแวดล้อมของเบราว์เซอร์กระเป๋าเงินที่ปลอดภัยเท่านั้น ตัวเลือก Safe จะปรากฏขึ้นเฉพาะในสภาพแวดล้อมของเบราว์เซอร์กระเป๋าเงินที่ปลอดภัยเท่านั้น ```tsx -import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### กระเป๋าเงินเฉพาะ @@ -101,73 +101,73 @@ import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; #### 1inch Wallet ```tsx -import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Argent ```tsx -import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; +import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### BeraSig ```tsx -import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; +import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### กระเป๋าที่ดีที่สุด ```tsx -import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; +import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitget ```tsx -import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitski ```tsx -import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitverse ```tsx -import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Brave Wallet ```tsx -import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; +import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet จะถูกเปิดใช้งานโดยค่าเ นักพัฒนาสามารถทดสอบ Smart Wallet กับเชน `sepolia` และ `baseSepolia` ได้ในวันนี้โดยตั้งค่า `smartWalletOnly` และรวม `coinbaseWallet` ในรายการกระเป๋าเงินของพวกเขา เช่น: ```tsx -import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly"; +coinbaseWallet.preference = "smartWalletOnly'; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; +import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Compass Wallet ```tsx -import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; +import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; ``` #### Core ```tsx -import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; +import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; +import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### FoxWallet ```tsx -import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frame Wallet ```tsx -import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Gate Wallet ```tsx -import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; +import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### imToken ```tsx -import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; +import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaikas ```tsx -import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MEW Wallet ```tsx -import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; +import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MetaMask ```tsx -import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; +import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OKX Wallet ```tsx -import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Omni ```tsx -import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; +import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OneKey ```tsx -import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Phantom ```tsx -import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rainbow ```tsx -import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ronin Wallet ```tsx -import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; +import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safeheron ```tsx -import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Taho ```tsx -import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Talisman ```tsx -import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; +import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Tokenary ```tsx -import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Trust Wallet ```tsx -import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; +import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### วาลอร่า ```tsx -import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; +import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ctrl Wallet ```tsx -import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ctrlWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Zerion ```tsx -import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; +import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### วิกวัม ```tsx -import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; +import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### ตัวอย่าง @@ -430,11 +430,11 @@ import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; แสดง MetaMask พร้อมกับกระเป๋าสตางค์ fallback ทั่วไป. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { metaMaskWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -450,13 +450,13 @@ const connectors = connectorsForWallets( แสดง Rainbow, MetaMask และ Coinbase พร้อมกับกระเป๋าเงิน fallback ทั่วไป ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -483,13 +483,13 @@ const connectors = connectorsForWallets( แนะนำ Rainbow และ MetaMask, แต่ยังเสนอ Coinbase พร้อมกับกระเป๋าเงิน fallback ทั่วไป ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ diff --git a/site/data/tr/docs/custom-wallet-list.mdx b/site/data/tr/docs/custom-wallet-list.mdx index b3f3b0d483..9682d7d243 100644 --- a/site/data/tr/docs/custom-wallet-list.mdx +++ b/site/data/tr/docs/custom-wallet-list.mdx @@ -12,11 +12,11 @@ description: Cüzdan listesini özelleştirme Örneğin, sadece Rainbow ve genel yedek cüzdanları göstermeyi seçebilirsiniz. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -73,7 +73,7 @@ Bu, listeye başka bir cüzdan tarafından sağlanmamış olan CüzdanBağlantı **Tüm CüzdanBağlantısı tabanlı cüzdanların desteklendiğini garantilemek için bu cüzdanı her zaman listenize dahil etmeniz önerilir.** ```tsx -import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; +import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Injected Wallet @@ -83,7 +83,7 @@ import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; Safe Wallet ```tsx -import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; +import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Safe Cüzdan @@ -91,7 +91,7 @@ import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; Safe seçeneği sadece Safe Wallet tarayıcı ortamında görünecektir. Safe seçeneği yalnızca Safe Cüzdan tarayıcı ortamında görünecektir. ```tsx -import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Özel Cüzdanlar @@ -101,73 +101,73 @@ Aşağıdaki cüzdanlar `wallet` nesnesi aracılığıyla sağlanır (alfabetik #### Argent ```tsx -import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Binance Web3 Wallet ```tsx -import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; +import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### BeraSig ```tsx -import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; +import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### En İyi Cüzdan ```tsx -import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitget ```tsx -import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; +import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bifrost Wallet ```tsx -import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitski ```tsx -import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitverse ```tsx -import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bloom Wallet ```tsx -import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Brave Wallet ```tsx -import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bybit Wallet ```tsx -import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; +import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase ```tsx -import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet, erken Haziran'da herhangi bir ek yükseltme yapmadan `all` ile var Geliştiriciler, `smartWalletOnly` ayarını yaparak ve `coinbaseWallet`'i cüzdan listesine dahil ederek bugün `sepolia` ve `baseSepolia` zincirlerinde Smart Wallet'ı test edebilirler: ```tsx -import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly"; +coinbaseWallet.preference = "smartWalletOnly'; ``` #### Core ```tsx -import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; +import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safe Cüzdan ```tsx -import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; +import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; ``` #### Enkrypt Wallet ```tsx -import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### FoxWallet ```tsx -import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; +import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frame Wallet ```tsx -import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; +import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frontier Wallet ```tsx -import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Gate Wallet ```tsx -import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frontier Cüzdan ```tsx -import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Gate Cüzdan ```tsx -import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; +import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### imToken ```tsx -import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ioPay Cüzdan ```tsx -import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; +import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Gate Cüzdan ```tsx -import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kresus Wallet ```tsx -import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Magic Eden Wallet ```tsx -import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MetaMask ```tsx -import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OKX Wallet ```tsx -import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; +import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Omni ```tsx -import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; +import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OneKey ```tsx -import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Phantom ```tsx -import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; +import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rabby Wallet ```tsx -import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rainbow ```tsx -import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ramper Wallet ```tsx -import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ronin Wallet ```tsx -import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safeheron ```tsx -import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Taho ```tsx -import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; +import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Talisman ```tsx -import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Tokenary ```tsx -import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### TokenPocket ```tsx -import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; +import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Trust Wallet ```tsx -import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Uniswap Wallet ```tsx -import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Trust Cüzdan ```tsx -import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; +import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Uniswap Cüzdanı ```tsx -import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Valora ```tsx -import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; +import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ctrl Cüzdanı ```tsx -import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ctrlWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Zerion ```tsx -import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; +import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Wigwam ```tsx -import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; +import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Örnekler @@ -430,11 +430,11 @@ Farklı cüzdanların farklı sıralamada gösterilmesine dair birkaç örnek bu MetaMask ile genel yedek cüzdanları gösterin. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { metaMaskWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -450,13 +450,13 @@ const connectors = connectorsForWallets( Rainbow, MetaMask ve Coinbase'i, genel yedek cüzdanlarla birlikte gösterin. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -483,13 +483,13 @@ const connectors = connectorsForWallets( Rainbow ve MetaMask'i önerin, ancak Coinbase'i de genel yedek cüzdanlarla birlikte sunun. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ diff --git a/site/data/ua/docs/custom-wallet-list.mdx b/site/data/ua/docs/custom-wallet-list.mdx index 52df67fe5c..b7601d0906 100644 --- a/site/data/ua/docs/custom-wallet-list.mdx +++ b/site/data/ua/docs/custom-wallet-list.mdx @@ -12,11 +12,11 @@ description: Налаштування списку гаманців Наприклад, ви можете вирішити показувати лише Rainbow разом з універсальними запасними гаманцями. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -73,7 +73,7 @@ const App = () => ( **Рекомендується завжди включати цей гаманець у список, щоб забезпечити підтримку всіх гаманців на базі WalletConnect.** ```tsx -import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; +import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Вбудований Гаманець @@ -83,7 +83,7 @@ import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; **Рекомендується завжди включати цей гаманець до списку, щоб забезпечити підтримку всіх вбудованих гаманців.** ```tsx -import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; +import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Safe Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; Для dApps, які підтримують Safe Apps для надання можливості користувачам легко підключатися до свого сейфу або мульти-підпису, включіть опцію `safeWallet` для автоматичних підключень. Опція Safe буде з'являтися тільки в браузерному середовищі Safe Wallet. ```tsx -import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Конкретні Гаманці @@ -101,73 +101,73 @@ import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; #### 1inch Wallet ```tsx -import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Argent ```tsx -import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; +import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### BeraSig ```tsx -import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; +import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Найкращий гаманець ```tsx -import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; +import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitget ```tsx -import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitski ```tsx -import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitverse ```tsx -import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Brave Wallet ```tsx -import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; +import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet буде активовано за замовчуванням з `a Розробники можуть тестувати Smart Wallet з ланцюгами `sepolia` та `baseSepolia` сьогодні, встановивши `smartWalletOnly` і включивши `coinbaseWallet` у свій список гаманців наступним чином: ```tsx -import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly"; +coinbaseWallet.preference = "smartWalletOnly'; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; +import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Compass Wallet ```tsx -import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; +import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; ``` #### Core ```tsx -import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; +import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; +import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### FoxWallet ```tsx -import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frame Wallet ```tsx -import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Gate Wallet ```tsx -import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; +import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### imToken ```tsx -import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; +import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaikas ```tsx -import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MEW Wallet ```tsx -import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; +import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MetaMask ```tsx -import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; +import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OKX Wallet ```tsx -import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Omni ```tsx -import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; +import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OneKey ```tsx -import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Phantom ```tsx -import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rainbow ```tsx -import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ronin Wallet ```tsx -import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; +import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safeheron ```tsx -import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Taho ```tsx -import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Talisman ```tsx -import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; +import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Tokenary ```tsx -import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Trust Wallet ```tsx -import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; +import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Валора ```tsx -import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; +import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ctrl Wallet ```tsx -import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ctrlWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Zerion ```tsx -import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; +import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Вігвам ```tsx -import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; +import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Приклади @@ -430,11 +430,11 @@ import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; Показати MetaMask разом із загальними запасними гаманцями. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { metaMaskWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -450,13 +450,13 @@ const connectors = connectorsForWallets( Показати Rainbow, MetaMask та Coinbase разом із загальними запасними гаманцями. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -483,13 +483,13 @@ const connectors = connectorsForWallets( Рекомендуємо Rainbow та MetaMask, але також пропонуємо Coinbase разом із загальнодоступними гаманцями. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ diff --git a/site/data/vi/docs/custom-wallet-list.mdx b/site/data/vi/docs/custom-wallet-list.mdx index efe0def452..716106620c 100644 --- a/site/data/vi/docs/custom-wallet-list.mdx +++ b/site/data/vi/docs/custom-wallet-list.mdx @@ -12,11 +12,11 @@ Bạn có thể nhập khẩu các ví cá nhân từ `'@rainbow-me/rainbowkit/w Ví dụ, bạn có thể chỉ chọn hiển thị Rainbow cùng với các ví dự phòng chung. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -73,7 +73,7 @@ Các ví sau đây được phân phạm vi cho các phương pháp kết nối **Khuyến nghị rằng bạn luôn bao gồm ví này trong danh sách để đảm bảo tất cả các ví dựa trên WalletConnect đều được hỗ trợ.** ```tsx -import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; +import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Ví Được Tiêm @@ -83,7 +83,7 @@ import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; **Khuyến nghị rằng bạn luôn bao gồm ví này trong danh sách để đảm bảo tất cả các ví được tiêm đều được hỗ trợ.** ```tsx -import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; +import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Ví An toàn @@ -91,7 +91,7 @@ import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; Đối với các dApps hỗ trợ các Ứng dụng An toàn để cho phép người dùng dễ dàng kết nối với kho an toàn hoặc multi-sig của mình, bao gồm tùy chọn `safeWallet` để kết nối tự động. Tùy chọn An toàn sẽ chỉ xuất hiện trong môi trường trình duyệt của Ví An toàn. ```tsx -import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Ví Cụ thể @@ -101,73 +101,73 @@ Các ví sau đây được cung cấp qua đối tượng `wallet` (theo thứ #### Ví 1inch ```tsx -import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Argent ```tsx -import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; +import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### BeraSig ```tsx -import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; +import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ví Tốt Nhất ```tsx -import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; +import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitget ```tsx -import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitski ```tsx -import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitverse ```tsx -import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Brave Wallet ```tsx -import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; +import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet sẽ được kích hoạt mặc định với `all` vào đầu th Các nhà phát triển có thể thử nghiệm Smart Wallet với các chuỗi `sepolia` và `baseSepolia` ngay hôm nay bằng cách cài đặt `smartWalletOnly` và bao gồm `coinbaseWallet` trong danh sách ví của họ như sau: ```tsx -import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly"; +coinbaseWallet.preference = "smartWalletOnly'; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; +import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Compass Wallet ```tsx -import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; +import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; ``` #### Core ```tsx -import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; +import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; +import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### FoxWallet ```tsx -import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frame Wallet ```tsx -import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Gate Wallet ```tsx -import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; +import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### imToken ```tsx -import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; +import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaikas ```tsx -import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MEW Wallet ```tsx -import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; +import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MetaMask ```tsx -import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; +import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OKX Wallet ```tsx -import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Omni ```tsx -import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; +import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OneKey ```tsx -import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Phantom ```tsx -import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rainbow ```tsx -import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ronin Wallet ```tsx -import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; +import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safeheron ```tsx -import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Taho ```tsx -import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Talisman ```tsx -import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; +import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Tokenary ```tsx -import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Trust Wallet ```tsx -import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; +import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Valora ```tsx -import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; +import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ctrl Wallet ```tsx -import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ctrlWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Zerion ```tsx -import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; +import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Wigwam ```tsx -import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; +import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### Ví dụ @@ -430,11 +430,11 @@ import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; Hiển thị Rainbow, MetaMask và Coinbase cùng với các ví dự phòng chung. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { metaMaskWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -450,13 +450,13 @@ const connectors = connectorsForWallets( Hiển thị Rainbow, MetaMask và Coinbase cùng với các ví dự phòng chung. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -483,13 +483,13 @@ Bạn có thể sử dụng khóa `groupName` để đặt tên cho các nhóm v Đề xuất Rainbow và MetaMask, nhưng cũng cung cấp Coinbase cùng với các ví dự phòng chung. ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ diff --git a/site/data/zh-CN/docs/custom-wallet-list.mdx b/site/data/zh-CN/docs/custom-wallet-list.mdx index 7ad02cab5b..1168f62d81 100644 --- a/site/data/zh-CN/docs/custom-wallet-list.mdx +++ b/site/data/zh-CN/docs/custom-wallet-list.mdx @@ -12,11 +12,11 @@ description: 定制钱包列表 例如,您可以选择仅显示 Rainbow 和通用的 Fallback 钱包。 ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -73,7 +73,7 @@ const App = () => ( **建议您总是把这个钱包包含在列表中,以确保支持所有基于 WalletConnect 的钱包。** ```tsx -import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; +import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### 注入式钱包 @@ -83,7 +83,7 @@ import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; **建议您始终在列表中包含此钱包,以确保支持所有注入的钱包。** ```tsx -import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; +import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Safe Wallet @@ -91,7 +91,7 @@ import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; 对于支持 Safe Apps 的 dApps,以便用户可以轻松地连接到他们的 Safe 保险库或多重签名,包括`safeWallet`选项以实现自动连接。 Safe 选项仅在 Safe Wallet 浏览器环境中出现。 ```tsx -import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### 特定钱包 @@ -101,73 +101,73 @@ The following wallets are provided via the `wallet` object (in alphabetical orde #### 1inch Wallet ```tsx -import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Argent ```tsx -import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; +import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### 贝拉签名 ```tsx -import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; +import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### 最佳钱包 ```tsx -import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Binance Web3 Wallet ```tsx -import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; +import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitget ```tsx -import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bifrost Wallet ```tsx -import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitski ```tsx -import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitverse ```tsx -import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bloom Wallet ```tsx -import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Brave Wallet ```tsx -import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; +import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bybit Wallet ```tsx -import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase @@ -181,244 +181,244 @@ import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; 开发者可以通过设置`smartWalletOnly`并在其钱包列表中包含`coinbaseWallet`来测试`sepolia`和`baseSepolia`链上的智能钱包,如下所示: ```tsx -import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly"; +coinbaseWallet.preference = "smartWalletOnly'; ``` #### Coin98 Wallet ```tsx -import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; +import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Compass Wallet ```tsx -import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; +import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; ``` #### Core ```tsx -import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dawn Wallet ```tsx -import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; +import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Enkrypt Wallet ```tsx -import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; +import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### FoxWallet ```tsx -import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frame Wallet ```tsx -import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frontier Wallet ```tsx -import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Gate Wallet ```tsx -import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; +import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### imToken ```tsx -import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ioPay Wallet ```tsx -import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; +import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaia Wallet ```tsx -import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaikas ```tsx -import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kraken Wallet ```tsx -import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kresus Wallet ```tsx -import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Magic Eden Wallet ```tsx -import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MEW Wallet ```tsx -import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; +import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MetaMask ```tsx -import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; +import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OKX Wallet ```tsx -import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Omni ```tsx -import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; +import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OneKey ```tsx -import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Phantom ```tsx -import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rabby Wallet ```tsx -import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rainbow ```tsx -import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ramper Wallet ```tsx -import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ronin 钱包 ```tsx -import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; +import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safeheron ```tsx -import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Taho ```tsx -import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Talisman ```tsx -import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; +import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Tokenary ```tsx -import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Trust Wallet ```tsx -import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; +import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Uniswap Wallet ```tsx -import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Valora ```tsx -import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; +import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ctrl Wallet ```tsx -import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ctrlWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Zerion ```tsx -import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; +import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### 棚屋 ```tsx -import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; +import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### 示例 @@ -430,11 +430,11 @@ import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; 显示 MetaMask 和一般的备选钱包。 ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { metaMaskWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -450,13 +450,13 @@ const connectors = connectorsForWallets( 显示 Rainbow、MetaMask 和 Coinbase 以及一般的备选钱包。 ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -483,13 +483,13 @@ const connectors = connectorsForWallets( 推荐 Rainbow 和 MetaMask,但也提供 Coinbase 以及一般的备选钱包。 ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ diff --git a/site/data/zh-HK/docs/custom-wallet-list.mdx b/site/data/zh-HK/docs/custom-wallet-list.mdx index c6e0deb004..8053490db5 100644 --- a/site/data/zh-HK/docs/custom-wallet-list.mdx +++ b/site/data/zh-HK/docs/custom-wallet-list.mdx @@ -12,11 +12,11 @@ description: 自訂錢包清單 例如,你可以選擇僅顯示彩虹錢包以及通用的回退錢包。 ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -73,7 +73,7 @@ const App = () => ( **建議始終在列表中包括此錢包,以確保支持所有基於 WalletConnect 的錢包。** ```tsx -import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; +import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### 內嵌錢包 @@ -83,7 +83,7 @@ import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; **建議始終在列表中包括此錢包,以確保支持所有的內嵌錢包。** ```tsx -import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; +import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### Safe 錢包 @@ -91,7 +91,7 @@ import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; 對於支持 Safe Apps 的 dApps,允許用戶輕鬆連接他們的 Safe 金庫或多重簽名,請包括自動連接的 `safeWallet` 選項。 Safe 選項將僅在 Safe 錢包瀏覽器環境中出現。 ```tsx -import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### 特定錢包 @@ -101,73 +101,73 @@ import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; #### 1inch 錢包 ```tsx -import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Argent ```tsx -import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; +import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### BeraSig ```tsx -import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; +import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### 最佳錢包 ```tsx -import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Binance Web3 錢包 ```tsx -import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; +import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitget ```tsx -import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bifrost 錢包 ```tsx -import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitski ```tsx -import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitverse ```tsx -import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bloom 錢包 ```tsx -import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Brave 錢包 ```tsx -import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; +import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bybit 錢包 ```tsx -import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet 將於六月初默認開啟 `all`,無需進一步升級。 開發者今天可以通過設置 `smartWalletOnly` 並將 `coinbaseWallet` 包括在錢包列表中來測試 `sepolia` 和 `baseSepolia` 鏈,如下所示: ```tsx -import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly"; +coinbaseWallet.preference = "smartWalletOnly'; ``` #### Coin98 錢包 ```tsx -import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; +import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Compass 錢包 ```tsx -import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; +import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; ``` #### Core ```tsx -import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dawn 錢包 ```tsx -import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; +import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Enkrypt 錢包 ```tsx -import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; +import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### FoxWallet ```tsx -import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frame 錢包 ```tsx -import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frontier 錢包 ```tsx -import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Gate 錢包 ```tsx -import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; +import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### imToken ```tsx -import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ioPay 錢包 ```tsx -import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; +import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaia 錢包 ```tsx -import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaikas ```tsx -import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kraken 錢包 ```tsx -import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kresus 錢包 ```tsx -import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Magic Eden 錢包 ```tsx -import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MEW 錢包 ```tsx -import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; +import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MetaMask ```tsx -import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; +import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OKX 錢包 ```tsx -import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Omni ```tsx -import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; +import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OneKey ```tsx -import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Phantom ```tsx -import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rabby 錢包 ```tsx -import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rainbow ```tsx -import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ramper 錢包 ```tsx -import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ronin 錢包 ```tsx -import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; +import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safeheron ```tsx -import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Taho ```tsx -import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Talisman ```tsx -import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; +import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Tokenary ```tsx -import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Trust 錢包 ```tsx -import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; +import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Uniswap 錢包 ```tsx -import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Valora ```tsx -import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; +import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ctrl 錢包 ```tsx -import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ctrlWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Zerion ```tsx -import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; +import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### 圓頂帳篷 ```tsx -import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; +import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### 示例 @@ -430,11 +430,11 @@ import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; 顯示 MetaMask 以及通用的備用錢包。 ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { metaMaskWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -450,13 +450,13 @@ const connectors = connectorsForWallets( 顯示 Rainbow、MetaMask 和 Coinbase 以及通用的備用錢包。 ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -483,13 +483,13 @@ const connectors = connectorsForWallets( 推薦部署 Rainbow 和 MetaMask,但也提供 Coinbase 以及通用的備用錢包。 ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ diff --git a/site/data/zh-TW/docs/custom-wallet-list.mdx b/site/data/zh-TW/docs/custom-wallet-list.mdx index fa01f48871..85f550f255 100644 --- a/site/data/zh-TW/docs/custom-wallet-list.mdx +++ b/site/data/zh-TW/docs/custom-wallet-list.mdx @@ -12,11 +12,11 @@ description: 自定義錢包列表 例如,您可以選擇只顯示 Rainbow 以及通用的備用錢包。 ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -73,7 +73,7 @@ const App = () => ( **建議始終將此錢包列入名單,以確保支持所有基於 WalletConnect 的錢包。** ```tsx -import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; +import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### 注入錢包 @@ -83,7 +83,7 @@ import { walletConnectWallet } from "@rainbow-me/rainbowkit/wallets"; **建議始終將此錢包列入名單,以確保支持所有注入的錢包。** ```tsx -import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; +import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ##### 安全錢包 @@ -91,7 +91,7 @@ import { injectedWallet } from "@rainbow-me/rainbowkit/wallets"; 對於支持 Safe Apps 的 dApp,用戶可以輕鬆連接其 Safe vault 或多重簽名,包含 `safeWallet` 選項以實現自動連接。 安全選項只會在 Safe Wallet 瀏覽器環境中出現。 ```tsx -import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### 特定錢包 @@ -101,73 +101,73 @@ import { safeWallet } from "@rainbow-me/rainbowkit/wallets"; #### 1inch 錢包 ```tsx -import { oneInchWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneInchWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Argent ```tsx -import { argentWallet } from "@rainbow-me/rainbowkit/wallets"; +import { argentWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### BeraSig ```tsx -import { berasigWallet } from "@rainbow-me/rainbowkit/wallets"; +import { berasigWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### 最佳錢包 ```tsx -import { bestWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bestWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Binance Web3 錢包 ```tsx -import { binanceWallet } from "@rainbow-me/rainbowkit/wallets"; +import { binanceWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitget ```tsx -import { bitgetWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitgetWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bifrost 錢包 ```tsx -import { bifrostWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bifrostWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitski ```tsx -import { bitskiWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitskiWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bitverse ```tsx -import { bitverseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bitverseWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bloom 錢包 ```tsx -import { bloomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bloomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Brave 錢包 ```tsx -import { braveWallet } from "@rainbow-me/rainbowkit/wallets"; +import { braveWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Bybit 錢包 ```tsx -import { bybitWallet } from "@rainbow-me/rainbowkit/wallets"; +import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Coinbase @@ -181,244 +181,244 @@ Smart Wallet 將在六月初預設啟用 `all`,無需進一步升級。 開發者今天可以通過設置 `smartWalletOnly` 並將 `coinbaseWallet` 包括在他們的錢包列表中,以 `sepolia` 和 `baseSepolia` 鏈測試 Smart Wallet: ```tsx -import { coinbaseWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly"; +coinbaseWallet.preference = "smartWalletOnly'; ``` #### Coin98 錢包 ```tsx -import { coin98Wallet } from "@rainbow-me/rainbowkit/wallets"; +import { coin98Wallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Compass 錢包 ```tsx -import { compassWallet } from "@rainbow-me/rainbowkit/compassWallet"; +import { compassWallet } from '@rainbow-me/rainbowkit/compassWallet'; ``` #### Core ```tsx -import { coreWallet } from "@rainbow-me/rainbowkit/wallets"; +import { coreWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Dawn 錢包 ```tsx -import { dawnWallet } from "@rainbow-me/rainbowkit/wallets"; +import { dawnWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Enkrypt 錢包 ```tsx -import { enkryptWallet } from "@rainbow-me/rainbowkit/wallets"; +import { enkryptWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### FoxWallet ```tsx -import { foxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { foxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frame 錢包 ```tsx -import { frameWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frameWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Frontier 錢包 ```tsx -import { frontierWallet } from "@rainbow-me/rainbowkit/wallets"; +import { frontierWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Gate 錢包 ```tsx -import { gateWallet } from "@rainbow-me/rainbowkit/wallets"; +import { gateWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### imToken ```tsx -import { imTokenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { imTokenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ioPay 錢包 ```tsx -import { iopayWallet } from "@rainbow-me/rainbowkit/wallets"; +import { iopayWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaia 錢包 ```tsx -import { kaiaWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaiaWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kaikas ```tsx -import { kaikasWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kaikasWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kraken 錢包 ```tsx -import { krakenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { krakenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Kresus 錢包 ```tsx -import { kresusWallet } from "@rainbow-me/rainbowkit/wallets"; +import { kresusWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ledger Live ```tsx -import { ledgerWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ledgerWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Magic Eden 錢包 ```tsx -import { magicEdenWallet } from "@rainbow-me/rainbowkit/wallets"; +import { magicEdenWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MEW 錢包 ```tsx -import { mewWallet } from "@rainbow-me/rainbowkit/wallets"; +import { mewWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### MetaMask ```tsx -import { metaMaskWallet } from "@rainbow-me/rainbowkit/wallets"; +import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OKX 錢包 ```tsx -import { okxWallet } from "@rainbow-me/rainbowkit/wallets"; +import { okxWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Omni ```tsx -import { omniWallet } from "@rainbow-me/rainbowkit/wallets"; +import { omniWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### OneKey ```tsx -import { oneKeyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { oneKeyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### ParaSwap ```tsx -import { paraSwapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { paraSwapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Phantom ```tsx -import { phantomWallet } from "@rainbow-me/rainbowkit/wallets"; +import { phantomWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rabby 錢包 ```tsx -import { rabbyWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rabbyWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Rainbow ```tsx -import { rainbowWallet } from "@rainbow-me/rainbowkit/wallets"; +import { rainbowWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ramper 錢包 ```tsx -import { ramperWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ramperWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ronin 錢包 ```tsx -import { roninWallet } from "@rainbow-me/rainbowkit/wallets"; +import { roninWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Safeheron ```tsx -import { safeheronWallet } from "@rainbow-me/rainbowkit/wallets"; +import { safeheronWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Taho ```tsx -import { tahoWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tahoWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Talisman ```tsx -import { talismanWallet } from "@rainbow-me/rainbowkit/wallets"; +import { talismanWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Tokenary ```tsx -import { tokenaryWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenaryWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### TokenPocket ```tsx -import { tokenPocketWallet } from "@rainbow-me/rainbowkit/wallets"; +import { tokenPocketWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Trust 錢包 ```tsx -import { trustWallet } from "@rainbow-me/rainbowkit/wallets"; +import { trustWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Uniswap 錢包 ```tsx -import { uniswapWallet } from "@rainbow-me/rainbowkit/wallets"; +import { uniswapWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Valora ```tsx -import { valoraWallet } from "@rainbow-me/rainbowkit/wallets"; +import { valoraWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Ctrl 錢包 ```tsx -import { ctrlWallet } from "@rainbow-me/rainbowkit/wallets"; +import { ctrlWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Zerion ```tsx -import { zerionWallet } from "@rainbow-me/rainbowkit/wallets"; +import { zerionWallet } from '@rainbow-me/rainbowkit/wallets'; ``` #### Wigwam ```tsx -import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; +import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; ``` ### 範例 @@ -430,11 +430,11 @@ import { wigwamWallet } from "@rainbow-me/rainbowkit/wallets"; 顯示 MetaMask 及通用的後備錢包。 ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { metaMaskWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -450,13 +450,13 @@ const connectors = connectorsForWallets( 顯示 Rainbow、MetaMask 和 Coinbase 以及通用的後備錢包。 ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ @@ -483,13 +483,13 @@ const connectors = connectorsForWallets( 推薦 Rainbow 和 MetaMask,但也提供 Coinbase 及通用的後備錢包。 ```tsx -import { connectorsForWallets } from "@rainbow-me/rainbowkit"; +import { connectorsForWallets } from '@rainbow-me/rainbowkit'; import { rainbowWallet, metaMaskWallet, coinbaseWallet, walletConnectWallet, -} from "@rainbow-me/rainbowkit/wallets"; +} from '@rainbow-me/rainbowkit/wallets'; const connectors = connectorsForWallets( [ From ff9d7a2ffc229ad307555d47448cde6db0b682cc Mon Sep 17 00:00:00 2001 From: sotatek Date: Thu, 26 Dec 2024 16:51:21 +0700 Subject: [PATCH 3/5] chore: revert unnecessary change --- site/data/de/docs/custom-wallet-list.mdx | 22 ++++++++++---------- site/data/en-US/docs/custom-wallet-list.mdx | 22 ++++++++++---------- site/data/es-419/docs/custom-wallet-list.mdx | 22 ++++++++++---------- site/data/fr/docs/custom-wallet-list.mdx | 22 ++++++++++---------- site/data/hi/docs/custom-wallet-list.mdx | 22 ++++++++++---------- site/data/id/docs/custom-wallet-list.mdx | 22 ++++++++++---------- site/data/ja/docs/custom-wallet-list.mdx | 22 ++++++++++---------- site/data/ko/docs/custom-wallet-list.mdx | 22 ++++++++++---------- site/data/ms/docs/custom-wallet-list.mdx | 22 ++++++++++---------- site/data/pt-BR/docs/custom-wallet-list.mdx | 22 ++++++++++---------- site/data/ru/docs/custom-wallet-list.mdx | 22 ++++++++++---------- site/data/th/docs/custom-wallet-list.mdx | 22 ++++++++++---------- site/data/tr/docs/custom-wallet-list.mdx | 22 ++++++++++---------- site/data/ua/docs/custom-wallet-list.mdx | 22 ++++++++++---------- site/data/vi/docs/custom-wallet-list.mdx | 22 ++++++++++---------- site/data/zh-CN/docs/custom-wallet-list.mdx | 22 ++++++++++---------- site/data/zh-HK/docs/custom-wallet-list.mdx | 22 ++++++++++---------- site/data/zh-TW/docs/custom-wallet-list.mdx | 22 ++++++++++---------- 18 files changed, 198 insertions(+), 198 deletions(-) diff --git a/site/data/de/docs/custom-wallet-list.mdx b/site/data/de/docs/custom-wallet-list.mdx index 3128e86bc7..c11197cbbb 100644 --- a/site/data/de/docs/custom-wallet-list.mdx +++ b/site/data/de/docs/custom-wallet-list.mdx @@ -21,13 +21,13 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: "My RainbowKit App", - projectId: "YOUR_PROJECT_ID", + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', } ); ``` @@ -184,7 +184,7 @@ Entwickler können Smart Wallet bereits heute mit `sepolia` und `baseSepolia`-Ch import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly'; +coinbaseWallet.preference = 'smartWalletOnly'; ``` #### Coin98 Wallet @@ -439,11 +439,11 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -461,7 +461,7 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Suggested", + groupName: 'Suggested', wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -494,14 +494,14 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: "Others", + groupName: 'Others', wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` diff --git a/site/data/en-US/docs/custom-wallet-list.mdx b/site/data/en-US/docs/custom-wallet-list.mdx index 073ae1823f..d8d1a31684 100644 --- a/site/data/en-US/docs/custom-wallet-list.mdx +++ b/site/data/en-US/docs/custom-wallet-list.mdx @@ -21,13 +21,13 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: "My RainbowKit App", - projectId: "YOUR_PROJECT_ID", + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', } ); ``` @@ -184,7 +184,7 @@ Developers can test Smart Wallet with `sepolia` and `baseSepolia` chains today b import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly'; +coinbaseWallet.preference = 'smartWalletOnly'; ``` #### Coin98 Wallet @@ -439,11 +439,11 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -461,7 +461,7 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Suggested", + groupName: 'Suggested', wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -494,14 +494,14 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: "Others", + groupName: 'Others', wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` diff --git a/site/data/es-419/docs/custom-wallet-list.mdx b/site/data/es-419/docs/custom-wallet-list.mdx index dd5900b547..91f57f02fa 100644 --- a/site/data/es-419/docs/custom-wallet-list.mdx +++ b/site/data/es-419/docs/custom-wallet-list.mdx @@ -21,13 +21,13 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: "My RainbowKit App", - projectId: "YOUR_PROJECT_ID", + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', } ); ``` @@ -184,7 +184,7 @@ Los desarrolladores pueden probar Smart Wallet con las cadenas `sepolia` y `base import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly'; +coinbaseWallet.preference = 'smartWalletOnly'; ``` #### Coin98 Wallet @@ -439,11 +439,11 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -461,7 +461,7 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Suggested", + groupName: 'Suggested', wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -494,14 +494,14 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: "Others", + groupName: 'Others', wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` diff --git a/site/data/fr/docs/custom-wallet-list.mdx b/site/data/fr/docs/custom-wallet-list.mdx index c0559e19b1..4ff8428bbd 100644 --- a/site/data/fr/docs/custom-wallet-list.mdx +++ b/site/data/fr/docs/custom-wallet-list.mdx @@ -21,13 +21,13 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: "My RainbowKit App", - projectId: "YOUR_PROJECT_ID", + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', } ); ``` @@ -184,7 +184,7 @@ Les développeurs peuvent tester Smart Wallet avec les chaînes `sepolia` et `ba import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly'; +coinbaseWallet.preference = 'smartWalletOnly'; ``` #### Portefeuille Coin98 @@ -439,11 +439,11 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -461,7 +461,7 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Suggested", + groupName: 'Suggested', wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -494,14 +494,14 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: "Others", + groupName: 'Others', wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` diff --git a/site/data/hi/docs/custom-wallet-list.mdx b/site/data/hi/docs/custom-wallet-list.mdx index f689aaac39..4d4a80d298 100644 --- a/site/data/hi/docs/custom-wallet-list.mdx +++ b/site/data/hi/docs/custom-wallet-list.mdx @@ -21,13 +21,13 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: "My RainbowKit App", - projectId: "YOUR_PROJECT_ID", + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', } ); ``` @@ -184,7 +184,7 @@ Smart Wallet प्रारंभिक जून में बिना कि import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly'; +coinbaseWallet.preference = 'smartWalletOnly'; ``` #### Coin98 Wallet @@ -439,11 +439,11 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -461,7 +461,7 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Suggested", + groupName: 'Suggested', wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -494,14 +494,14 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: "Others", + groupName: 'Others', wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` diff --git a/site/data/id/docs/custom-wallet-list.mdx b/site/data/id/docs/custom-wallet-list.mdx index e9c842bc08..03cb25a71e 100644 --- a/site/data/id/docs/custom-wallet-list.mdx +++ b/site/data/id/docs/custom-wallet-list.mdx @@ -21,13 +21,13 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: "My RainbowKit App", - projectId: "YOUR_PROJECT_ID", + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', } ); ``` @@ -184,7 +184,7 @@ Pengembang dapat menguji Smart Wallet dengan rantai `sepolia` dan `baseSepolia` import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly'; +coinbaseWallet.preference = 'smartWalletOnly'; ``` #### Coin98 Wallet @@ -439,11 +439,11 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -461,7 +461,7 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Suggested", + groupName: 'Suggested', wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -494,14 +494,14 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: "Others", + groupName: 'Others', wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` diff --git a/site/data/ja/docs/custom-wallet-list.mdx b/site/data/ja/docs/custom-wallet-list.mdx index f7f50a8eb5..1821977b9d 100644 --- a/site/data/ja/docs/custom-wallet-list.mdx +++ b/site/data/ja/docs/custom-wallet-list.mdx @@ -21,13 +21,13 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: "My RainbowKit App", - projectId: "YOUR_PROJECT_ID", + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', } ); ``` @@ -184,7 +184,7 @@ Smart Wallet は、追加のアップグレードなしに、6 月初旬から import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly'; +coinbaseWallet.preference = 'smartWalletOnly'; ``` #### Coin98 Wallet @@ -439,11 +439,11 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -461,7 +461,7 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Suggested", + groupName: 'Suggested', wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -494,14 +494,14 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: "Others", + groupName: 'Others', wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` diff --git a/site/data/ko/docs/custom-wallet-list.mdx b/site/data/ko/docs/custom-wallet-list.mdx index 041da778bd..d046594dce 100644 --- a/site/data/ko/docs/custom-wallet-list.mdx +++ b/site/data/ko/docs/custom-wallet-list.mdx @@ -21,13 +21,13 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: "My RainbowKit App", - projectId: "YOUR_PROJECT_ID", + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', } ); ``` @@ -184,7 +184,7 @@ Smart Wallet은 추가 업그레이드 없이 6월 초에 기본적으로 `all` import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly'; +coinbaseWallet.preference = 'smartWalletOnly'; ``` #### Coin98 Wallet @@ -439,11 +439,11 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -461,7 +461,7 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Suggested", + groupName: 'Suggested', wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -494,14 +494,14 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: "Others", + groupName: 'Others', wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` diff --git a/site/data/ms/docs/custom-wallet-list.mdx b/site/data/ms/docs/custom-wallet-list.mdx index 036f3de3cf..a452ad5715 100644 --- a/site/data/ms/docs/custom-wallet-list.mdx +++ b/site/data/ms/docs/custom-wallet-list.mdx @@ -21,13 +21,13 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: "My RainbowKit App", - projectId: "YOUR_PROJECT_ID", + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', } ); ``` @@ -184,7 +184,7 @@ Pembangun boleh menguji Smart Wallet dengan rantaian `sepolia` dan `baseSepolia` import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly'; +coinbaseWallet.preference = 'smartWalletOnly'; ``` #### Dompet Coin98 @@ -439,11 +439,11 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -461,7 +461,7 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Suggested", + groupName: 'Suggested', wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -494,14 +494,14 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: "Others", + groupName: 'Others', wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` diff --git a/site/data/pt-BR/docs/custom-wallet-list.mdx b/site/data/pt-BR/docs/custom-wallet-list.mdx index 2184cb7fad..017c9b6b3e 100644 --- a/site/data/pt-BR/docs/custom-wallet-list.mdx +++ b/site/data/pt-BR/docs/custom-wallet-list.mdx @@ -21,13 +21,13 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: "My RainbowKit App", - projectId: "YOUR_PROJECT_ID", + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', } ); ``` @@ -184,7 +184,7 @@ Os desenvolvedores podem testar o Smart Wallet com as cadeias `sepolia` e `baseS import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly'; +coinbaseWallet.preference = 'smartWalletOnly'; ``` #### Coin98 Wallet @@ -439,11 +439,11 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -461,7 +461,7 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Suggested", + groupName: 'Suggested', wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -494,14 +494,14 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: "Others", + groupName: 'Others', wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` diff --git a/site/data/ru/docs/custom-wallet-list.mdx b/site/data/ru/docs/custom-wallet-list.mdx index b3035dc533..730f613fa2 100644 --- a/site/data/ru/docs/custom-wallet-list.mdx +++ b/site/data/ru/docs/custom-wallet-list.mdx @@ -21,13 +21,13 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: "My RainbowKit App", - projectId: "YOUR_PROJECT_ID", + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', } ); ``` @@ -184,7 +184,7 @@ Smart Wallet будет включен по умолчанию с `all` в на import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly'; +coinbaseWallet.preference = 'smartWalletOnly'; ``` #### Coin98 Wallet @@ -439,11 +439,11 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -461,7 +461,7 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Suggested", + groupName: 'Suggested', wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -494,14 +494,14 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: "Others", + groupName: 'Others', wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` diff --git a/site/data/th/docs/custom-wallet-list.mdx b/site/data/th/docs/custom-wallet-list.mdx index 20fa7934ff..6c47d0a5ee 100644 --- a/site/data/th/docs/custom-wallet-list.mdx +++ b/site/data/th/docs/custom-wallet-list.mdx @@ -21,13 +21,13 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: "My RainbowKit App", - projectId: "YOUR_PROJECT_ID", + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', } ); ``` @@ -184,7 +184,7 @@ Smart Wallet จะถูกเปิดใช้งานโดยค่าเ import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly'; +coinbaseWallet.preference = 'smartWalletOnly'; ``` #### Coin98 Wallet @@ -439,11 +439,11 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -461,7 +461,7 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Suggested", + groupName: 'Suggested', wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -494,14 +494,14 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: "Others", + groupName: 'Others', wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` diff --git a/site/data/tr/docs/custom-wallet-list.mdx b/site/data/tr/docs/custom-wallet-list.mdx index 9682d7d243..5da605280a 100644 --- a/site/data/tr/docs/custom-wallet-list.mdx +++ b/site/data/tr/docs/custom-wallet-list.mdx @@ -21,13 +21,13 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: "My RainbowKit App", - projectId: "YOUR_PROJECT_ID", + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', } ); ``` @@ -184,7 +184,7 @@ Geliştiriciler, `smartWalletOnly` ayarını yaparak ve `coinbaseWallet`'i cüzd import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly'; +coinbaseWallet.preference = 'smartWalletOnly'; ``` #### Core @@ -439,11 +439,11 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -461,7 +461,7 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Suggested", + groupName: 'Suggested', wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -494,14 +494,14 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: "Others", + groupName: 'Others', wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` diff --git a/site/data/ua/docs/custom-wallet-list.mdx b/site/data/ua/docs/custom-wallet-list.mdx index b7601d0906..fa64284add 100644 --- a/site/data/ua/docs/custom-wallet-list.mdx +++ b/site/data/ua/docs/custom-wallet-list.mdx @@ -21,13 +21,13 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: "My RainbowKit App", - projectId: "YOUR_PROJECT_ID", + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', } ); ``` @@ -184,7 +184,7 @@ Smart Wallet буде активовано за замовчуванням з `a import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly'; +coinbaseWallet.preference = 'smartWalletOnly'; ``` #### Coin98 Wallet @@ -439,11 +439,11 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -461,7 +461,7 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Suggested", + groupName: 'Suggested', wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -494,14 +494,14 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: "Others", + groupName: 'Others', wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` diff --git a/site/data/vi/docs/custom-wallet-list.mdx b/site/data/vi/docs/custom-wallet-list.mdx index 716106620c..2e2afda205 100644 --- a/site/data/vi/docs/custom-wallet-list.mdx +++ b/site/data/vi/docs/custom-wallet-list.mdx @@ -21,13 +21,13 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: "My RainbowKit App", - projectId: "YOUR_PROJECT_ID", + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', } ); ``` @@ -184,7 +184,7 @@ Các nhà phát triển có thể thử nghiệm Smart Wallet với các chuỗi import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly'; +coinbaseWallet.preference = 'smartWalletOnly'; ``` #### Coin98 Wallet @@ -439,11 +439,11 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -461,7 +461,7 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Suggested", + groupName: 'Suggested', wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -494,14 +494,14 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: "Others", + groupName: 'Others', wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` diff --git a/site/data/zh-CN/docs/custom-wallet-list.mdx b/site/data/zh-CN/docs/custom-wallet-list.mdx index 1168f62d81..187eb2bc25 100644 --- a/site/data/zh-CN/docs/custom-wallet-list.mdx +++ b/site/data/zh-CN/docs/custom-wallet-list.mdx @@ -21,13 +21,13 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: "My RainbowKit App", - projectId: "YOUR_PROJECT_ID", + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', } ); ``` @@ -184,7 +184,7 @@ import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly'; +coinbaseWallet.preference = 'smartWalletOnly'; ``` #### Coin98 Wallet @@ -439,11 +439,11 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -461,7 +461,7 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Suggested", + groupName: 'Suggested', wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -494,14 +494,14 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: "Others", + groupName: 'Others', wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` diff --git a/site/data/zh-HK/docs/custom-wallet-list.mdx b/site/data/zh-HK/docs/custom-wallet-list.mdx index 8053490db5..a628491d40 100644 --- a/site/data/zh-HK/docs/custom-wallet-list.mdx +++ b/site/data/zh-HK/docs/custom-wallet-list.mdx @@ -21,13 +21,13 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: "My RainbowKit App", - projectId: "YOUR_PROJECT_ID", + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', } ); ``` @@ -184,7 +184,7 @@ Smart Wallet 將於六月初默認開啟 `all`,無需進一步升級。 import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly'; +coinbaseWallet.preference = 'smartWalletOnly'; ``` #### Coin98 錢包 @@ -439,11 +439,11 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -461,7 +461,7 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Suggested", + groupName: 'Suggested', wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -494,14 +494,14 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: "Others", + groupName: 'Others', wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` diff --git a/site/data/zh-TW/docs/custom-wallet-list.mdx b/site/data/zh-TW/docs/custom-wallet-list.mdx index 85f550f255..fb7af860d9 100644 --- a/site/data/zh-TW/docs/custom-wallet-list.mdx +++ b/site/data/zh-TW/docs/custom-wallet-list.mdx @@ -21,13 +21,13 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, walletConnectWallet], }, ], { - appName: "My RainbowKit App", - projectId: "YOUR_PROJECT_ID", + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', } ); ``` @@ -184,7 +184,7 @@ Smart Wallet 將在六月初預設啟用 `all`,無需進一步升級。 import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; // Enable Coinbase Smart Wallet for testing -coinbaseWallet.preference = "smartWalletOnly'; +coinbaseWallet.preference = 'smartWalletOnly'; ``` #### Coin98 錢包 @@ -439,11 +439,11 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -461,7 +461,7 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Suggested", + groupName: 'Suggested', wallets: [ rainbowWallet, metaMaskWallet, @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` @@ -494,14 +494,14 @@ import { const connectors = connectorsForWallets( [ { - groupName: "Recommended", + groupName: 'Recommended', wallets: [rainbowWallet, metaMaskWallet], }, { - groupName: "Others", + groupName: 'Others', wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: "RainbowKit App", projectId: "YOUR_PROJECT_ID" } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } ); ``` From 3cf41ab4e521b07f76227eec3c31ef588d162154 Mon Sep 17 00:00:00 2001 From: sotatek Date: Thu, 26 Dec 2024 17:02:07 +0700 Subject: [PATCH 4/5] chore: revert unnecessary change --- site/data/de/docs/custom-wallet-list.mdx | 6 ++-- site/data/en-US/docs/custom-wallet-list.mdx | 6 ++-- site/data/es-419/docs/custom-wallet-list.mdx | 6 ++-- site/data/fr/docs/custom-wallet-list.mdx | 6 ++-- site/data/hi/docs/custom-wallet-list.mdx | 6 ++-- site/data/id/docs/custom-wallet-list.mdx | 6 ++-- site/data/ja/docs/custom-wallet-list.mdx | 32 ++++++++++---------- site/data/ko/docs/custom-wallet-list.mdx | 6 ++-- site/data/ms/docs/custom-wallet-list.mdx | 6 ++-- site/data/pt-BR/docs/custom-wallet-list.mdx | 6 ++-- site/data/ru/docs/custom-wallet-list.mdx | 6 ++-- site/data/th/docs/custom-wallet-list.mdx | 6 ++-- site/data/tr/docs/custom-wallet-list.mdx | 6 ++-- site/data/ua/docs/custom-wallet-list.mdx | 6 ++-- site/data/vi/docs/custom-wallet-list.mdx | 6 ++-- site/data/zh-CN/docs/custom-wallet-list.mdx | 20 ++++++------ site/data/zh-HK/docs/custom-wallet-list.mdx | 6 ++-- site/data/zh-TW/docs/custom-wallet-list.mdx | 14 ++++----- 18 files changed, 78 insertions(+), 78 deletions(-) diff --git a/site/data/de/docs/custom-wallet-list.mdx b/site/data/de/docs/custom-wallet-list.mdx index c11197cbbb..c29c17f49a 100644 --- a/site/data/de/docs/custom-wallet-list.mdx +++ b/site/data/de/docs/custom-wallet-list.mdx @@ -443,7 +443,7 @@ const connectors = connectorsForWallets( wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -502,6 +502,6 @@ const connectors = connectorsForWallets( wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` diff --git a/site/data/en-US/docs/custom-wallet-list.mdx b/site/data/en-US/docs/custom-wallet-list.mdx index d8d1a31684..f44b48dc88 100644 --- a/site/data/en-US/docs/custom-wallet-list.mdx +++ b/site/data/en-US/docs/custom-wallet-list.mdx @@ -443,7 +443,7 @@ const connectors = connectorsForWallets( wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -502,6 +502,6 @@ const connectors = connectorsForWallets( wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` diff --git a/site/data/es-419/docs/custom-wallet-list.mdx b/site/data/es-419/docs/custom-wallet-list.mdx index 91f57f02fa..7429b8b351 100644 --- a/site/data/es-419/docs/custom-wallet-list.mdx +++ b/site/data/es-419/docs/custom-wallet-list.mdx @@ -443,7 +443,7 @@ const connectors = connectorsForWallets( wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -502,6 +502,6 @@ const connectors = connectorsForWallets( wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` diff --git a/site/data/fr/docs/custom-wallet-list.mdx b/site/data/fr/docs/custom-wallet-list.mdx index 4ff8428bbd..6e52143432 100644 --- a/site/data/fr/docs/custom-wallet-list.mdx +++ b/site/data/fr/docs/custom-wallet-list.mdx @@ -443,7 +443,7 @@ const connectors = connectorsForWallets( wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -502,6 +502,6 @@ const connectors = connectorsForWallets( wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` diff --git a/site/data/hi/docs/custom-wallet-list.mdx b/site/data/hi/docs/custom-wallet-list.mdx index 4d4a80d298..376b960a20 100644 --- a/site/data/hi/docs/custom-wallet-list.mdx +++ b/site/data/hi/docs/custom-wallet-list.mdx @@ -443,7 +443,7 @@ const connectors = connectorsForWallets( wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -502,6 +502,6 @@ const connectors = connectorsForWallets( wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` diff --git a/site/data/id/docs/custom-wallet-list.mdx b/site/data/id/docs/custom-wallet-list.mdx index 03cb25a71e..79054ec2f3 100644 --- a/site/data/id/docs/custom-wallet-list.mdx +++ b/site/data/id/docs/custom-wallet-list.mdx @@ -443,7 +443,7 @@ const connectors = connectorsForWallets( wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -502,6 +502,6 @@ const connectors = connectorsForWallets( wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` diff --git a/site/data/ja/docs/custom-wallet-list.mdx b/site/data/ja/docs/custom-wallet-list.mdx index 1821977b9d..3b6b978786 100644 --- a/site/data/ja/docs/custom-wallet-list.mdx +++ b/site/data/ja/docs/custom-wallet-list.mdx @@ -9,7 +9,7 @@ description: ウォレットリストのカスタマイズ '@rainbow-me/rainbowkit/wallets'から個々のウォレットをインポートし、その必要なコネクターを持つウォレットのリストを作成するために`connectorsForWallets`関数を使うことができます。 これにより、どのウォレットを表示するか、そしてどの順序で表示するかを完全に制御することができます。 これにより、どのウォレットを表示するか、そしてどの順序で表示するかを完全に制御することができます。 -例えば、Rainbow と一般的なフォールバックウォレットのみを表示するように選択できます。 +例えば、Rainbowと一般的なフォールバックウォレットのみを表示するように選択できます。 ```tsx import { connectorsForWallets } from '@rainbow-me/rainbowkit'; @@ -32,7 +32,7 @@ const connectors = connectorsForWallets( ); ``` -次に、コネクタを Wagmi の`createConfig`に渡すことができます。 +次に、コネクタをWagmiの`createConfig`に渡すことができます。 ```tsx import { connectorsForWallets } from '@rainbow-me/rainbowkit'; @@ -68,9 +68,9 @@ const App = () => ( ##### WalletConnect -これは、リストの他のウォレットで提供されていない WalletConnect ベースのウォレット用に設計されたフォールバックウォレットオプションです。 +これは、リストの他のウォレットで提供されていないWalletConnectベースのウォレット用に設計されたフォールバックウォレットオプションです。 -**全ての WalletConnect ベースのウォレットがサポートされるように、常にこのウォレットをリストに含めることをお勧めします。** +**全てのWalletConnectベースのウォレットがサポートされるように、常にこのウォレットをリストに含めることをお勧めします。** ```tsx import { walletConnectWallet } from '@rainbow-me/rainbowkit/wallets'; @@ -88,7 +88,7 @@ import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ##### セーフウォレット -Safe Apps をサポートする dApps のために、ユーザーがセーフボールトまたはマルチシグに簡単に接続できるようにするには、自動接続のための`safeWallet`オプションを含めてください。 セーフオプションはセーフウォレットブラウザ環境でのみ表示されます。 セーフオプションはセーフウォレットブラウザ環境でのみ表示されます。 +Safe AppsをサポートするdAppsのために、ユーザーがセーフボールトまたはマルチシグに簡単に接続できるようにするには、自動接続のための`safeWallet`オプションを含めてください。 セーフオプションはセーフウォレットブラウザ環境でのみ表示されます。 セーフオプションはセーフウォレットブラウザ環境でのみ表示されます。 ```tsx import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; @@ -172,13 +172,13 @@ import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; #### Coinbase -このウォレットコネクタは、Coinbase Wallet アプリと拡張機能、およびウェブ上での Coinbase Smart Wallet の両方をサポートします。 +このウォレットコネクタは、Coinbase Walletアプリと拡張機能、およびウェブ上でのCoinbase Smart Walletの両方をサポートします。 -Smart Wallet がユーザーに対して有効で利用可能かどうかを制御するために、`preference`引数が使用可能です。 Smart Wallet がユーザーに対して有効で利用可能かどうかを制御するために、`preference`引数が使用可能です。 [ここ](https://www.smartwallet.dev/sdk/makeWeb3Provider#parameters)にプリファレンスに基づく振る舞いが記述されています。 +Smart Walletがユーザーに対して有効で利用可能かどうかを制御するために、`preference`引数が使用可能です。 Smart Walletがユーザーに対して有効で利用可能かどうかを制御するために、`preference`引数が使用可能です。 [ここ](https://www.smartwallet.dev/sdk/makeWeb3Provider#parameters)にプリファレンスに基づく振る舞いが記述されています。 -Smart Wallet は、追加のアップグレードなしに、6 月初旬からデフォルトで`all`と共に有効になります。 +Smart Walletは、追加のアップグレードなしに、6月初旬からデフォルトで`all`と共に有効になります。 -開発者は今日、`sepolia`および`baseSepolia`チェーンで`smartWalletOnly`を設定し、次のように`coinbaseWallet`をウォレットリストに含めることで Smart Wallet をテストできます: +開発者は今日、`sepolia`および`baseSepolia`チェーンで`smartWalletOnly`を設定し、次のように`coinbaseWallet`をウォレットリストに含めることでSmart Walletをテストできます: ```tsx import { coinbaseWallet } from '@rainbow-me/rainbowkit/wallets'; @@ -427,7 +427,7 @@ import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; さまざまなウォレットをさまざまな順序で表示するいくつかの例をここに示します。 -Metamask と一般的な fallback ウォレットを並べて表示します。 +Metamaskと一般的なfallbackウォレットを並べて表示します。 ```tsx import { connectorsForWallets } from '@rainbow-me/rainbowkit'; @@ -443,11 +443,11 @@ const connectors = connectorsForWallets( wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` -Rainbow、MetaMask、Coinbase および一般的なフォールバックウォレットを表示します。 +Rainbow、MetaMask、Coinbaseおよび一般的なフォールバックウォレットを表示します。 ```tsx import { connectorsForWallets } from '@rainbow-me/rainbowkit'; @@ -470,17 +470,17 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` -> リマインダー:`wallets` 配列の順序は、UI でウォレットが表示される順序を定義します。 +> リマインダー:`wallets` 配列の順序は、UIでウォレットが表示される順序を定義します。 #### 複数のグループ `groupName`キーを使用して、異なるウォレットグループに名前をつけることができます。 これは、推奨するウォレットやその他の可能性のあるウォレットをユーザーに伝えたい場合に便利です。 これは、推奨するウォレットやその他の可能性のあるウォレットをユーザーに伝えたい場合に便利です。 -Rainbow と MetaMask を推奨しますが、Coinbase と一般的なフォールバックウォレットも提供します。 +RainbowとMetaMaskを推奨しますが、Coinbaseと一般的なフォールバックウォレットも提供します。 ```tsx import { connectorsForWallets } from '@rainbow-me/rainbowkit'; @@ -502,6 +502,6 @@ const connectors = connectorsForWallets( wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` diff --git a/site/data/ko/docs/custom-wallet-list.mdx b/site/data/ko/docs/custom-wallet-list.mdx index d046594dce..9a0dffe524 100644 --- a/site/data/ko/docs/custom-wallet-list.mdx +++ b/site/data/ko/docs/custom-wallet-list.mdx @@ -443,7 +443,7 @@ const connectors = connectorsForWallets( wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -502,6 +502,6 @@ const connectors = connectorsForWallets( wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` diff --git a/site/data/ms/docs/custom-wallet-list.mdx b/site/data/ms/docs/custom-wallet-list.mdx index a452ad5715..27d1496468 100644 --- a/site/data/ms/docs/custom-wallet-list.mdx +++ b/site/data/ms/docs/custom-wallet-list.mdx @@ -443,7 +443,7 @@ const connectors = connectorsForWallets( wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -502,6 +502,6 @@ const connectors = connectorsForWallets( wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` diff --git a/site/data/pt-BR/docs/custom-wallet-list.mdx b/site/data/pt-BR/docs/custom-wallet-list.mdx index 017c9b6b3e..ebfa5bfd1a 100644 --- a/site/data/pt-BR/docs/custom-wallet-list.mdx +++ b/site/data/pt-BR/docs/custom-wallet-list.mdx @@ -443,7 +443,7 @@ const connectors = connectorsForWallets( wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -502,6 +502,6 @@ const connectors = connectorsForWallets( wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` diff --git a/site/data/ru/docs/custom-wallet-list.mdx b/site/data/ru/docs/custom-wallet-list.mdx index 730f613fa2..063592a1f3 100644 --- a/site/data/ru/docs/custom-wallet-list.mdx +++ b/site/data/ru/docs/custom-wallet-list.mdx @@ -443,7 +443,7 @@ const connectors = connectorsForWallets( wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -502,6 +502,6 @@ const connectors = connectorsForWallets( wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` diff --git a/site/data/th/docs/custom-wallet-list.mdx b/site/data/th/docs/custom-wallet-list.mdx index 6c47d0a5ee..711af144bf 100644 --- a/site/data/th/docs/custom-wallet-list.mdx +++ b/site/data/th/docs/custom-wallet-list.mdx @@ -443,7 +443,7 @@ const connectors = connectorsForWallets( wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -502,6 +502,6 @@ const connectors = connectorsForWallets( wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` diff --git a/site/data/tr/docs/custom-wallet-list.mdx b/site/data/tr/docs/custom-wallet-list.mdx index 5da605280a..d7cbaaa61e 100644 --- a/site/data/tr/docs/custom-wallet-list.mdx +++ b/site/data/tr/docs/custom-wallet-list.mdx @@ -443,7 +443,7 @@ const connectors = connectorsForWallets( wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -502,6 +502,6 @@ const connectors = connectorsForWallets( wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` diff --git a/site/data/ua/docs/custom-wallet-list.mdx b/site/data/ua/docs/custom-wallet-list.mdx index fa64284add..d332b010bb 100644 --- a/site/data/ua/docs/custom-wallet-list.mdx +++ b/site/data/ua/docs/custom-wallet-list.mdx @@ -443,7 +443,7 @@ const connectors = connectorsForWallets( wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -502,6 +502,6 @@ const connectors = connectorsForWallets( wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` diff --git a/site/data/vi/docs/custom-wallet-list.mdx b/site/data/vi/docs/custom-wallet-list.mdx index 2e2afda205..8f6c7a1205 100644 --- a/site/data/vi/docs/custom-wallet-list.mdx +++ b/site/data/vi/docs/custom-wallet-list.mdx @@ -443,7 +443,7 @@ const connectors = connectorsForWallets( wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -502,6 +502,6 @@ const connectors = connectorsForWallets( wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` diff --git a/site/data/zh-CN/docs/custom-wallet-list.mdx b/site/data/zh-CN/docs/custom-wallet-list.mdx index 187eb2bc25..82a3952486 100644 --- a/site/data/zh-CN/docs/custom-wallet-list.mdx +++ b/site/data/zh-CN/docs/custom-wallet-list.mdx @@ -9,7 +9,7 @@ description: 定制钱包列表 您可以从`'@rainbow-me/rainbowkit/wallets'`中导入各个钱包,同时使用`connectorsForWallets`函数来构建自己的钱包列表和所需连接器。 这样,您可以自由控制显示哪些钱包以及显示的顺序。 -例如,您可以选择仅显示 Rainbow 和通用的 Fallback 钱包。 +例如,您可以选择仅显示Rainbow和通用的Fallback钱包。 ```tsx import { connectorsForWallets } from '@rainbow-me/rainbowkit'; @@ -88,7 +88,7 @@ import { injectedWallet } from '@rainbow-me/rainbowkit/wallets'; ##### Safe Wallet -对于支持 Safe Apps 的 dApps,以便用户可以轻松地连接到他们的 Safe 保险库或多重签名,包括`safeWallet`选项以实现自动连接。 Safe 选项仅在 Safe Wallet 浏览器环境中出现。 +对于支持Safe Apps的dApps,以便用户可以轻松地连接到他们的Safe保险库或多重签名,包括`safeWallet`选项以实现自动连接。 Safe选项仅在Safe Wallet浏览器环境中出现。 ```tsx import { safeWallet } from '@rainbow-me/rainbowkit/wallets'; @@ -172,7 +172,7 @@ import { bybitWallet } from '@rainbow-me/rainbowkit/wallets'; #### Coinbase -此钱包连接器支持 Coinbase Wallet 应用程序和扩展,以及 Coinbase Smart Wallet 在网络上的使用。 +此钱包连接器支持Coinbase Wallet应用程序和扩展,以及Coinbase Smart Wallet在网络上的使用。 提供了一个`preference`参数,用于控制是否为用户启用和提供智能钱包。 基于偏好的行为记录于[此处](https://www.smartwallet.dev/sdk/makeWeb3Provider#parameters)。 @@ -427,7 +427,7 @@ import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; 这里有一些显示不同钱包,以不同顺序的例子。 -显示 MetaMask 和一般的备选钱包。 +显示MetaMask和一般的备选钱包。 ```tsx import { connectorsForWallets } from '@rainbow-me/rainbowkit'; @@ -443,11 +443,11 @@ const connectors = connectorsForWallets( wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` -显示 Rainbow、MetaMask 和 Coinbase 以及一般的备选钱包。 +显示Rainbow、MetaMask和Coinbase以及一般的备选钱包。 ```tsx import { connectorsForWallets } from '@rainbow-me/rainbowkit'; @@ -470,17 +470,17 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` -> 提醒:`wallets`数组的顺序定义了钱包在 UI 中显示的顺序。 +> 提醒:`wallets`数组的顺序定义了钱包在UI中显示的顺序。 #### 多个组 你可以使用`groupName`键命名不同的钱包组。 如果你想告诉你的用户你建议的钱包,以及其他可能的钱包,这是很有用的。 -推荐 Rainbow 和 MetaMask,但也提供 Coinbase 以及一般的备选钱包。 +推荐Rainbow和MetaMask,但也提供Coinbase以及一般的备选钱包。 ```tsx import { connectorsForWallets } from '@rainbow-me/rainbowkit'; @@ -502,6 +502,6 @@ const connectors = connectorsForWallets( wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` diff --git a/site/data/zh-HK/docs/custom-wallet-list.mdx b/site/data/zh-HK/docs/custom-wallet-list.mdx index a628491d40..b2285fdda4 100644 --- a/site/data/zh-HK/docs/custom-wallet-list.mdx +++ b/site/data/zh-HK/docs/custom-wallet-list.mdx @@ -443,7 +443,7 @@ const connectors = connectorsForWallets( wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -470,7 +470,7 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` @@ -502,6 +502,6 @@ const connectors = connectorsForWallets( wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` diff --git a/site/data/zh-TW/docs/custom-wallet-list.mdx b/site/data/zh-TW/docs/custom-wallet-list.mdx index fb7af860d9..735d09eaad 100644 --- a/site/data/zh-TW/docs/custom-wallet-list.mdx +++ b/site/data/zh-TW/docs/custom-wallet-list.mdx @@ -427,7 +427,7 @@ import { wigwamWallet } from '@rainbow-me/rainbowkit/wallets'; 以下是一些顯示不同錢包、不同順序的例子。 -顯示 MetaMask 及通用的後備錢包。 +顯示MetaMask及通用的後備錢包。 ```tsx import { connectorsForWallets } from '@rainbow-me/rainbowkit'; @@ -443,11 +443,11 @@ const connectors = connectorsForWallets( wallets: [metaMaskWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` -顯示 Rainbow、MetaMask 和 Coinbase 以及通用的後備錢包。 +顯示Rainbow、MetaMask和Coinbase以及通用的後備錢包。 ```tsx import { connectorsForWallets } from '@rainbow-me/rainbowkit'; @@ -470,17 +470,17 @@ const connectors = connectorsForWallets( ], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` -> 提醒:`wallets`數組的順序定義了在 UI 中顯示錢包的順序。 +> 提醒:`wallets`數組的順序定義了在UI中顯示錢包的順序。 #### 多個組別 您可以使用`groupName`鍵來為不同的錢包組命名。 這在您希望向用戶傳達推薦的錢包以及其他可能的錢包時非常有用。 -推薦 Rainbow 和 MetaMask,但也提供 Coinbase 及通用的後備錢包。 +推薦Rainbow和MetaMask,但也提供Coinbase及通用的後備錢包。 ```tsx import { connectorsForWallets } from '@rainbow-me/rainbowkit'; @@ -502,6 +502,6 @@ const connectors = connectorsForWallets( wallets: [coinbaseWallet, walletConnectWallet], }, ], - { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' } + { appName: 'RainbowKit App', projectId: 'YOUR_PROJECT_ID' }, ); ``` From cb745b5a38d1a999a943d33bcdcebf6da1f9957d Mon Sep 17 00:00:00 2001 From: sotatek Date: Thu, 26 Dec 2024 18:01:34 +0700 Subject: [PATCH 5/5] chore: update logo --- .../walletConnectors/ctrlWallet/ctrlWallet.svg | 13 +++++++++++++ .../walletConnectors/ctrlWallet/ctrlWallet.ts | 5 +---- .../walletConnectors/ctrlWallet/xdefiWallet.svg | 1 - 3 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 packages/rainbowkit/src/wallets/walletConnectors/ctrlWallet/ctrlWallet.svg delete mode 100644 packages/rainbowkit/src/wallets/walletConnectors/ctrlWallet/xdefiWallet.svg diff --git a/packages/rainbowkit/src/wallets/walletConnectors/ctrlWallet/ctrlWallet.svg b/packages/rainbowkit/src/wallets/walletConnectors/ctrlWallet/ctrlWallet.svg new file mode 100644 index 0000000000..d2cba3de83 --- /dev/null +++ b/packages/rainbowkit/src/wallets/walletConnectors/ctrlWallet/ctrlWallet.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/rainbowkit/src/wallets/walletConnectors/ctrlWallet/ctrlWallet.ts b/packages/rainbowkit/src/wallets/walletConnectors/ctrlWallet/ctrlWallet.ts index 4eda5bc250..0cb1ddc41a 100644 --- a/packages/rainbowkit/src/wallets/walletConnectors/ctrlWallet/ctrlWallet.ts +++ b/packages/rainbowkit/src/wallets/walletConnectors/ctrlWallet/ctrlWallet.ts @@ -4,16 +4,13 @@ import { hasInjectedProvider, } from '../../getInjectedConnector'; -const iconUrl = - 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAMAAABrrFhUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA0NpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDkuMS1jMDAyIDc5LmYzNTRlZmM3MCwgMjAyMy8xMS8wOS0xMjowNTo1MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDI1LjQgKDIwMjMxMjIwLm0uMjQzOSBjZWI5OWVmKSAgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjNGRDkwNzlFRjRGMTFFRTlFRjJERDZFQkZDREE0OTUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjNGRDkwN0FFRjRGMTFFRTlFRjJERDZFQkZDREE0OTUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGM0ZEOTA3N0VGNEYxMUVFOUVGMkRENkVCRkNEQTQ5NSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGM0ZEOTA3OEVGNEYxMUVFOUVGMkRENkVCRkNEQTQ5NSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pp1Y9zMAAAD8UExURf///+/w7+/x7+/x8N/h4N/i4M/T0M/T0b/EwL/Ewa+1sK+2sZ+noY+YkY+YkoCKgoCKg3+JgX+JgnB7c3B8c296cW96cm97cmBsZGBtY19sYl9sY1BeVE9dU0BPRDBANDBBNDBBNSAyJCAyJRAjFBAjFQAUBRAiFRAjFSAxJCAxJSAyJCAyJTBANDBBNEBPRFBdVFBeU1BeVF9sY2BsY2BtY297cnB6cnB7cnB7c3+Jgn+KgoCJgoCKgo+YkY+YkpCYkpCZkp+moZ+noaCnoa+1sa+2sLC1sb/EwL/Ewc/S0M/T0M/T0d/h39/h4N/i39/i4O/w7+/x7////9thEPoAAAAmdFJOUwAQEBAgIDAwQEBQUGBwcH9/gICPj5CQkJ+foKCvsL/Pz8/f3+/vvw5Z9wAADB1JREFUeNrtnX1jmzgSxun5pXZC7nZ9uca9+uwcqRVCyrJ1zYbtkQ2L422ovQ6E7/9dTgL8ltiJBIxWRZ1/Y8c8P/QyMxpJigJltXr9dbutqmqn0znuYutjO9VSQzss+xP5WL+HP3+Mv4i/3m636/WaIrzVsFxVPep0uz0iE5VuCRpCRT3ESGqCaD5Uj46x4ucEG4ZhWpZlY3NcYjf+Xkv+7jr4oyP8FQt/df//fX+KeWAcmAZf2UR1p9s71d4/fSgdax3Ztuv6/jQIwjCMS7AwnAfBlNBxbMsyDX1X88CdpnN0CMiiVs9kP5U8wm/W94N5+BBzsocQE7lJeBg7GkYXN4vXJfaRmnp8+v6RaouInnLU/FwLCQLfdUaWud003vePDxslqP+hv5Y9snEHnoexsBaShmFvoOirxRi0U/WmczMV4mXTd5J5cOOYycP32sXk67b/TUnfwjAdJyOkml++dfPNqs8YTD4QBOwdofZPIj+IK2AB6QpvGRG08XR3WQn5xEgrYOsH5PV/foirY5+xoB+o5TdOEfppFlfKQtwITim7QQM3/18e4qrZFe1Y2MRe301cQfsNoWGTSr8+iytpM52CANZ/eR9X1PBA8BKBRpX1pwQaL4x/eoX1YwL68yMhnv9mcaXtDs+G+/X/o6Lj/6O54HiffhXP/3HlDfsD7b0DwGX19ceRibS/7QTwFqF7CQDEsz2doInQ/2IpzN3dCeToAEkn+ID6O0fAiSQAyFzY3tEArFgas542gQOEAnkA7GgCfWlGgN1NoCHRCEDMQ2jbFzhCeiQTgEhHnUc9YBxLZePtPoB7wFQuAP52H8BzQCQXgAihzYWCN8iMJTMTnWwNAQ448sBJyl5etpHLwyO52kqMDJEH/HvX5ywFURe3HCbC4Vr/K2g3cGGy1oT9Cg3gy+YoiCPhOah+g70qDnpaDhF6vQLQgp0EIiNPXSBwG8DTwOFGKKzDOh257A6WgL4xD3ZAZ8FFztJQ4PDc2HCG34H+2DhvcSxsE/iIupwiASMvAFjfZIz+swIwQC7oaCNkH3CRxscPCnIDuAAOh9aeEGgsKCoA7AltBMOBfABmCNXXftC9fAA2XMEDhGL5AMRrV/AI1BEUFsDaFYR1BIUFsHYFYR1BYQFYK1ewh0YyAli7grAJMWEBrJNiGqQnLC4Ab+ULI3QrI4C1LwybERQWwCor2JAUwMoXhvWExQWw8oVboJ6wuABWvrAqK4ClL9yB/SVxASx94Q5s7klcAMv10XeyAljmhYGrQ8QFsAwGgNfGxQVwlZXJgCbFRQawTIwDFwd8ERaAnwGAjYVIOZKwABCP6ghXWABBGg0Bx0J4shEVQBYNAcdCsSksgCwagi4PQcICiNKacdhlkQKTADiAOC2WFLM+hguANBwEDgYNgQGk4SDsutAECQzATAC8AQ0GLZEBpGtDoNHwAokMII2HQaPhsdAA0ngYMhqeIsEB9BMALuAwKzQAN1kdBFwZdJHoALQEAFQ0HCDBAaQJAbB0wMIQHwACLBIsrB9+M3NSKgiVD4nMovrh9zElGRGgfMiiuH743dwByYg0QLbLfDWK64ffzR0SACAJIe+8uH4Oe1lDkhEBALCwSpDP40SfJYCSR7/rMl4/+hRzMFIhUHJ1wLwc+ZxOdCI5sTIBhF4pjZ/fcbYpADaHKwx2mu85I9Z3rxs79w7bN4/lR/OAyuas6W0DA2BKCUbXRjmvWLduAtpjSycMzcq6ZQTQYQLgnZfUwqf0Z7ayehQXd8wAaF3u6Ody5Dss0+4t+/+/ZsuK0udEy9H/M5PX8Ueen/idISt6Qp8TdcuQz3hc9yJXn9P/ZEkL0wJYlPL6Gc9rzplTtdgAjCCfZctYj+vLDf2OGnBX6VFmxUuY/5jPK72CziQQAJTLArO/QH/+0oILagB9WgBfuLf/xFPNa0wAqNqL/xfoLwDgnraP9WnXRYpOgrnSO+AAXG4A8h3YzQHAKe3CkMt7AOQEQOMDIGd+szoAJpIDyJvgBgfgJQBuwQFMRAXg8wGQe4WjKgDGQgNA8ADmAgNAHADkX+OrCICR7AA82QEEsgOIJAdQoBi/GgBM2QFY3wF8B/AdQD6LZAcQyg5gJjuAQHYAnuwArmQHYMkOAEkOIOADQBMWwJgHAE1gAIbkAIpsu2YD4IkJwOIAgMvaoMV/CKwEAENyAIVGACYAAyEBFN11KVKNkMXbB2AGAFwmlwdA4cJspjK5MSyAHEuDfxTVz1YoCVwqy346wdfCG1NMBgDvKOsXdG5Lg8X1U5dkkENEaAHk7ZbM1QG3JWxMooX+kWHDRJSzCUx4j3+IecME5cd/y/UsPzHO/6XsvLxnAUC/aepTng7AVCNc0rZj+rpcsmmK4SixT7D6S5LPUpdsMW6c/Mz4KCx7pAKnHPlM+9JYd47GofOBvjDCpn6U0HdK2pJrsY25BADr5ukHun3MQfj0Fe++eNlk1a6b9o0/3fmbjLvyks3TwLcLLK2k/o10J3go76kQLwBlnCmTtPCSzxUgAFocACwMIeUTAG3wY4XjvBcvFxreKQdfAqAJD8ApQ/8vDzEMgAY4gDK2XesTiCebZSdJAZ9YclVC85+BPFlylNYrcADFZ4BLoDaaHi8PfWZVJKz+7OZd4PsVSth3PoN6tPRARQ0YQMAxumMGoIFft1gcAOCpx+mhqgOxAVzeQwI4hb9nqSiACeCjpRcN9YQGAHqwanqy9DvQS3c5LfTns4/wp8sXBQD7aFZy3RzsBQsFAcD6aOkFC0fAJzgXAQB8sGx6xQbwJSuFAMAOz9klK9A5sSIAgMO09NZV4IuWigCAbZrLi5agU0KBqHNAmhBSgM7WLgUArI+e5kPgr9sLRJ0El9ftQScECgCYwwJI8yHgCYECACJYAD4aZgAEvXQVesVmeemqsNfuAs+Cq2t3e/JevNzPrt4eyQnAyq7efgMbDooMIL19HjgcFBeAkQEADgfFBZAGg8mtq5GUANJQADwaEhZAuAQAHA0JCyCLhZJoaCopgCQWUpQhaDAgLIDs8nnwYEBYAMtQgKwOOjICWIYC0MGAsADGKwCwa0PCAliGAtC3jwsLwMw8YWhfWFgAOvp7BuAANPciLIB0WQTeFxYVwMoThvaFRQWw8oShE+OiAviycgQV2mM08tlMUABelhRXoAvF8leKwi4NpiViPFzB3LsFYC9eXjuC0Hnh3NXisNUBa0cQ2hXMezAkcH3M2hEET4vmbAITPilRDmnR6EMe/cAX70ZrP0gB3zYT5iDwCTgljGfn1ysAr6BrEdgJgF+8vM4IpllBD/j3PjMh4HDx8qYfBL5CntjUsejs6cXLsAkxDuujIpqZ1Amv50HochTRLFpnA7JR8FYuADgWbChbg8BYLgDjjVCI2I9Il6oPROuE4KoPeDIBmDzqAaQPWDIBMLYmQSWtGb+TR3+wPQfI1wQsdPZYv1RNYII2QuGNJnARSTMCPG0ASRO4lkO/i1BzBwDlX4Ab1UWyBUJvd+lXXp0hM5KjAzR2AiCd4Nfq63d2joCrTvB71fV7aCMb/MQGlZ8LvyL03/36lcYZ0v+s9AB4vncAyAgM0UWFCSwMNHxWv6I0q0yA6G8qyosE9Iq6A8E5hf6EQDXnAjz+0+hPRsIK+gMRnv/PGgqVNfBsWLWB4KuJ5z9K/UmKsFqRUXSNBZ0oDKbibnBRmUx5YODm31KYrPFvPkt0POST88pPagqrNc9IodbtNx4fRh6R328peYz0A3Q+nn6zDCLfPs8vPykd6Ser1abjBfNvCkMUTj0nPcqygPxkLDgaLBftz03Ldr3p00OzxbFwPvVde2SsjrHu/1hTClvj4KQ/3KpfICgc1w/EYEFUe45tGdundw8HJ2oJ6pdWa7bUTrc/GD4u5jCsBMYU04j4NfB54PuuY49M4/GZ5UOt1+2oB80StT+yeuvgCKPoaztKW84NM+Hh+oTIPCylhYRhGARTLNi17ZH1VHKiepDKris8rVZv4WaRwBjur/cxDIMUvoxsm5Ah5u+19O82seTgfeOZMltN6/e6J4nqmiKAERoHGMcJ5jHQNFS6adoAK+52OqraEkTzS0QwkpaqYiiYSrfb6xPTUtutMLEB+Rj+PH67RKx60GrVAfX+H4bAlyrre0h5AAAAAElFTkSuQmCC'; - export const ctrlWallet = (): Wallet => { return { id: 'ctrl', name: 'Ctrl Wallet', rdns: 'ctrl.xyz', installed: hasInjectedProvider({ namespace: 'xfi.ethereum' }), - iconUrl, + iconUrl: async () => (await import('./ctrlWallet.svg')).default, iconBackground: '#fff', downloadUrls: { chrome: diff --git a/packages/rainbowkit/src/wallets/walletConnectors/ctrlWallet/xdefiWallet.svg b/packages/rainbowkit/src/wallets/walletConnectors/ctrlWallet/xdefiWallet.svg deleted file mode 100644 index ccf2be5c50..0000000000 --- a/packages/rainbowkit/src/wallets/walletConnectors/ctrlWallet/xdefiWallet.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file