From d0eeaeb6c70a7bd1b0f72e1d8e002104aaddbc92 Mon Sep 17 00:00:00 2001 From: Justin <102846781+HoangVD2@users.noreply.github.com> Date: Fri, 15 Mar 2024 20:55:07 +0700 Subject: [PATCH] docs: update content for Mobile Wallet Integration section (#19) --- campaigns/campaigns-service-api.md | 5 ++-- developers/blockchains-integration.md | 9 ++++++ developers/blocknative-xdefi-integration.md | 2 +- developers/cosmoskit-xdefi-integration.md | 2 +- developers/extension-cosmos.md | 6 ---- developers/extension-wallet.md | 3 ++ developers/libraries-integration.md | 8 ++++++ developers/mobile-binance.md | 4 +++ developers/mobile-bitcoin-cash.md | 4 +++ developers/mobile-bitcoin.md | 4 +++ developers/mobile-cosmos.md | 4 +++ developers/mobile-dogecoin.md | 4 +++ developers/mobile-ethereum.md | 4 +++ developers/mobile-litecoin.md | 4 +++ developers/mobile-near.md | 4 +++ developers/mobile-optimism.md | 4 +++ developers/mobile-polygon.md | 4 +++ developers/mobile-solana.md | 4 +++ developers/mobile-terra.md | 4 +++ developers/mobile-testnets.md | 4 +++ developers/mobile-thorchain.md | 4 +++ developers/mobile-wallet.md | 3 ++ developers/mobile-zetachain.md | 4 +++ .../solana-adapter-xdefi-integration.md | 28 +++++++++---------- routing/introduction.md | 8 ++++++ 25 files changed, 110 insertions(+), 24 deletions(-) diff --git a/campaigns/campaigns-service-api.md b/campaigns/campaigns-service-api.md index 8839337db..32d706ed0 100644 --- a/campaigns/campaigns-service-api.md +++ b/campaigns/campaigns-service-api.md @@ -1,7 +1,8 @@ --- prev: - text: Libraries Integration - link: /developers/libraries-integration + text: Routing API + link: /routing/introduction +next: false --- # Campaigns Service API diff --git a/developers/blockchains-integration.md b/developers/blockchains-integration.md index 2b1ed108f..8caf952ef 100644 --- a/developers/blockchains-integration.md +++ b/developers/blockchains-integration.md @@ -1,3 +1,12 @@ +--- +prev: + text: "Mobile Wallet Integration" + link: "./mobile-wallet" +next: + text: "Akash (AKT)" + link: "./akash" +--- + # Blockchains Integration ### Native blockchains support diff --git a/developers/blocknative-xdefi-integration.md b/developers/blocknative-xdefi-integration.md index aff3d4c20..d54b61882 100644 --- a/developers/blocknative-xdefi-integration.md +++ b/developers/blocknative-xdefi-integration.md @@ -8,7 +8,7 @@ yarn add @web3-onboard/core @web3-onboard/injected-wallets ethers Then initialize in your app: -```javascript +```js import Onboard from "@web3-onboard/core"; import xdefiWalletModule from "@web3-onboard/xdefi"; diff --git a/developers/cosmoskit-xdefi-integration.md b/developers/cosmoskit-xdefi-integration.md index a07d6a250..07a3eced4 100644 --- a/developers/cosmoskit-xdefi-integration.md +++ b/developers/cosmoskit-xdefi-integration.md @@ -25,7 +25,7 @@ import { wallets as xdefi } from "@cosmos-kit/xdefi"; ### add to your provider -```javascript +```js function MyCosmosApp({ Component, pageProps }: AppProps) { return ( + No mobile wallet integration available yet! It will be updated soon. + \ No newline at end of file diff --git a/developers/mobile-bitcoin-cash.md b/developers/mobile-bitcoin-cash.md index 0d214ff8b..6a08f4b24 100644 --- a/developers/mobile-bitcoin-cash.md +++ b/developers/mobile-bitcoin-cash.md @@ -1 +1,5 @@ # Mobile Wallet Bitcoin Cash Integration + +

+ No mobile wallet integration available yet! It will be updated soon. +

\ No newline at end of file diff --git a/developers/mobile-bitcoin.md b/developers/mobile-bitcoin.md index db4f0d06d..ebe38338e 100644 --- a/developers/mobile-bitcoin.md +++ b/developers/mobile-bitcoin.md @@ -1 +1,5 @@ # Mobile Wallet Bitcoin Integration + +

+ No mobile wallet integration available yet! It will be updated soon. +

\ No newline at end of file diff --git a/developers/mobile-cosmos.md b/developers/mobile-cosmos.md index 42e627c90..7dac2c953 100644 --- a/developers/mobile-cosmos.md +++ b/developers/mobile-cosmos.md @@ -1 +1,5 @@ # Mobile Wallet Cosmos Integration + +

+ No mobile wallet integration available yet! It will be updated soon. +

\ No newline at end of file diff --git a/developers/mobile-dogecoin.md b/developers/mobile-dogecoin.md index a9d162da3..c2f028d44 100644 --- a/developers/mobile-dogecoin.md +++ b/developers/mobile-dogecoin.md @@ -1 +1,5 @@ # Mobile Wallet Dogecoin Integration + +

+ No mobile wallet integration available yet! It will be updated soon. +

\ No newline at end of file diff --git a/developers/mobile-ethereum.md b/developers/mobile-ethereum.md index e0c0af417..3db92c63d 100644 --- a/developers/mobile-ethereum.md +++ b/developers/mobile-ethereum.md @@ -1 +1,5 @@ # Mobile Wallet Ethereum Integration + +

+ No mobile wallet integration available yet! It will be updated soon. +

\ No newline at end of file diff --git a/developers/mobile-litecoin.md b/developers/mobile-litecoin.md index 302b1cb72..361af321b 100644 --- a/developers/mobile-litecoin.md +++ b/developers/mobile-litecoin.md @@ -1 +1,5 @@ # Mobile Wallet Litecoin Integration + +

+ No mobile wallet integration available yet! It will be updated soon. +

\ No newline at end of file diff --git a/developers/mobile-near.md b/developers/mobile-near.md index 3596d17e5..7ea1d23c8 100644 --- a/developers/mobile-near.md +++ b/developers/mobile-near.md @@ -1 +1,5 @@ # Mobile Wallet Near Integration + +

+ No mobile wallet integration available yet! It will be updated soon. +

\ No newline at end of file diff --git a/developers/mobile-optimism.md b/developers/mobile-optimism.md index 8656efe3b..2f1b6696e 100644 --- a/developers/mobile-optimism.md +++ b/developers/mobile-optimism.md @@ -1 +1,5 @@ # Mobile Wallet Optimism Integration + +

+ No mobile wallet integration available yet! It will be updated soon. +

\ No newline at end of file diff --git a/developers/mobile-polygon.md b/developers/mobile-polygon.md index 91372709d..70cf6b95f 100644 --- a/developers/mobile-polygon.md +++ b/developers/mobile-polygon.md @@ -1 +1,5 @@ # Mobile Wallet Polygon Integration + +

+ No mobile wallet integration available yet! It will be updated soon. +

\ No newline at end of file diff --git a/developers/mobile-solana.md b/developers/mobile-solana.md index 75af83812..b783680cb 100644 --- a/developers/mobile-solana.md +++ b/developers/mobile-solana.md @@ -1 +1,5 @@ # Mobile Wallet Solana Integration + +

+ No mobile wallet integration available yet! It will be updated soon. +

\ No newline at end of file diff --git a/developers/mobile-terra.md b/developers/mobile-terra.md index fcfb60fb1..40f821bb3 100644 --- a/developers/mobile-terra.md +++ b/developers/mobile-terra.md @@ -1 +1,5 @@ # Mobile Wallet Terra Integration + +

+ No mobile wallet integration available yet! It will be updated soon. +

\ No newline at end of file diff --git a/developers/mobile-testnets.md b/developers/mobile-testnets.md index b9e6abc8b..e77f70dfb 100644 --- a/developers/mobile-testnets.md +++ b/developers/mobile-testnets.md @@ -1 +1,5 @@ # Mobile Wallet Testnets Integration + +

+ No mobile wallet integration available yet! It will be updated soon. +

\ No newline at end of file diff --git a/developers/mobile-thorchain.md b/developers/mobile-thorchain.md index b05cc36ee..ccc6c692e 100644 --- a/developers/mobile-thorchain.md +++ b/developers/mobile-thorchain.md @@ -1 +1,5 @@ # Mobile Wallet Thorchain Integration + +

+ No mobile wallet integration available yet! It will be updated soon. +

\ No newline at end of file diff --git a/developers/mobile-wallet.md b/developers/mobile-wallet.md index 5e451fe58..cf83bb4b2 100644 --- a/developers/mobile-wallet.md +++ b/developers/mobile-wallet.md @@ -2,6 +2,9 @@ prev: text: "Extension Wallet Integration" link: "/developers/extension-wallet" +next: + text: "Binance" + link: "./mobile-binance" --- # Mobile Wallet Integration diff --git a/developers/mobile-zetachain.md b/developers/mobile-zetachain.md index 96d76953c..109da74b0 100644 --- a/developers/mobile-zetachain.md +++ b/developers/mobile-zetachain.md @@ -1 +1,5 @@ # Mobile Wallet Zetachain Integration + +

+ No mobile wallet integration available yet! It will be updated soon. +

\ No newline at end of file diff --git a/developers/solana-adapter-xdefi-integration.md b/developers/solana-adapter-xdefi-integration.md index 435dcc7a0..fc7db273e 100644 --- a/developers/solana-adapter-xdefi-integration.md +++ b/developers/solana-adapter-xdefi-integration.md @@ -16,16 +16,16 @@ npm install @solana/wallet-adapter-xdefi@latest Once installed, you can add XDEFI Wallet by making adding this part of code: -```js:line-numbers {0} +```js import { XDEFIWalletAdapter } from `@solana/wallet-adapter-xdefi`; import { /* ... other adapters ... */ } from `@solana/wallet-adapter-wallets`; const wallets = useMemo( - () => [ - new XDEFIWalletAdapter(), - // ... other adapters ... - ], - [] + () => [ + new XDEFIWalletAdapter(), + // ... other adapters ... + ], + [] ); @@ -41,18 +41,18 @@ npm install @solana/wallet-adapter-wallets@latest Once installed, you can add XDEFI Wallet by making 2 changes: -```js:line-numbers {0} +```js import { - XDEFIWalletAdapter, // [!code ++] - /* ... other adapters ... */ + XDEFIWalletAdapter, // [!code ++] + /* ... other adapters ... */ } from `@solana/wallet-adapter-wallets`; const wallets = useMemo( - () => [ - new XDEFIWalletAdapter(), // [!code ++] - // ... other adapters ... - ], - [] + () => [ + new XDEFIWalletAdapter(), // [!code ++] + // ... other adapters ... + ], + [] ); diff --git a/routing/introduction.md b/routing/introduction.md index c6f5cf2f6..f8ffd7316 100644 --- a/routing/introduction.md +++ b/routing/introduction.md @@ -1,3 +1,11 @@ +--- +prev: + text: "XDEFI Wallet Integration" + link: "/developers/xdefi-wallet-integration" +next: + text: "Endpoints" + link: "./endpoints" +--- # Routing API _Comprehensive description of the routing service and its endpoints_