From 96b1814dc0eb734f9ae638f44b66996cb185e7c8 Mon Sep 17 00:00:00 2001 From: AyushBherwani1998 Date: Wed, 16 Oct 2024 15:22:47 +0530 Subject: [PATCH 1/3] improve flutter evm resources --- docs/connect-blockchain/evm/5ire/flutter.mdx | 103 +-------- .../evm/aleph-zero/flutter.mdx | 103 +-------- .../evm/ancient8/flutter.mdx | 103 +-------- .../evm/arbitrum/flutter.mdx | 103 +-------- .../evm/astar-zkevm/flutter.mdx | 88 +------ .../evm/astar-zkyoto/flutter.mdx | 88 +------ .../evm/avalanche/flutter.mdx | 103 +-------- docs/connect-blockchain/evm/base/flutter.mdx | 103 +-------- docs/connect-blockchain/evm/bnb/flutter.mdx | 103 +-------- docs/connect-blockchain/evm/celo/flutter.mdx | 102 +------- .../connect-blockchain/evm/cronos/flutter.mdx | 102 +------- .../evm/ethereum/flutter.mdx | 102 +------- .../connect-blockchain/evm/fhenix/flutter.mdx | 82 +------ docs/connect-blockchain/evm/flare/flutter.mdx | 103 +-------- .../evm/harmony/flutter.mdx | 103 +-------- .../connect-blockchain/evm/hedera/flutter.mdx | 108 +-------- docs/connect-blockchain/evm/kinto/flutter.mdx | 95 +------- .../connect-blockchain/evm/klaytn/flutter.mdx | 103 +-------- docs/connect-blockchain/evm/linea/flutter.mdx | 86 +------ docs/connect-blockchain/evm/manta/flutter.mdx | 103 +-------- docs/connect-blockchain/evm/metis/flutter.mdx | 103 +-------- docs/connect-blockchain/evm/mint/flutter.mdx | 103 +-------- .../evm/moonbeam/flutter.mdx | 103 +-------- .../evm/moonriver/flutter.mdx | 103 +-------- docs/connect-blockchain/evm/morph/flutter.mdx | 95 +------- docs/connect-blockchain/evm/neon/flutter.mdx | 102 +------- .../connect-blockchain/evm/nibiru/flutter.mdx | 103 +-------- docs/connect-blockchain/evm/opbnb/flutter.mdx | 104 +-------- .../evm/optimism/flutter.mdx | 103 +-------- .../evm/polygon/flutter.mdx | 103 +-------- .../evm/rootstock/flutter.mdx | 95 +------- .../evm/saakuru/flutter.mdx | 81 +------ .../evm/shardeum/flutter.mdx | 82 +------ docs/connect-blockchain/evm/skale/flutter.mdx | 218 +----------------- .../evm/soneium/flutter.mdx | 121 +--------- .../evm/songbird/flutter.mdx | 103 +-------- docs/connect-blockchain/evm/xpla/flutter.mdx | 86 +------ .../evm/zetachain/flutter.mdx | 82 +------ .../evm/zilliqa/flutter.mdx | 88 +------ .../evm/zircuit/flutter.mdx | 105 +-------- .../_evm-deploy-contract.mdx | 25 +- .../_evm-get-account.mdx | 32 +-- .../_evm-get-balance.mdx | 39 ++-- .../_evm-initialisation.mdx | 61 +---- .../_evm-installation.mdx | 42 +++- .../_evm-interaction.mdx | 56 +++++ .../_evm-read-contract.mdx | 28 ++- .../_evm-send-transaction.mdx | 54 ++--- .../_evm-sign-transaction.mdx | 55 ++--- .../_evm-test-contract.mdx | 31 ++- .../_evm-user-info.mdx | 35 --- .../_evm-write-contract.mdx | 25 +- .../_evm-installation.mdx | 8 +- 53 files changed, 477 insertions(+), 4083 deletions(-) create mode 100644 src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx delete mode 100644 src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx diff --git a/docs/connect-blockchain/evm/5ire/flutter.mdx b/docs/connect-blockchain/evm/5ire/flutter.mdx index 5c3117e5f..d016fe4ea 100644 --- a/docs/connect-blockchain/evm/5ire/flutter.mdx +++ b/docs/connect-blockchain/evm/5ire/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, 5ire, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the 5ire Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,90 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/5ire/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [5ire Blockchain](https://5ire.org) to make any blockchain calls, like getting -the user's `account`, fetching `balance`, signing transactions, sending transactions, and -interacting with smart contracts. We have highlighted a few key examples to get you started quickly -on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[5ire Blockchain](https://5ire.org) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for 5ire - - - - -- Chain ID: 0x3E3 -- Public RPC URL: https://rpc.5ire.network (Avoid using public rpcTarget in production, use services - like Infura, Quicknode etc) -- Display Name: 5ireChain Mainnet -- Block Explorer Link: https://5irescan.io -- Ticker: 5ire -- Ticker Name: 5ire - - - - - -- Chain ID: 0x3E5 -- Public RPC URL: https://rpc.testnet.5ire.network (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: 5ireChain Testnet -- Block Explorer Link: https://testnet.5irescan.io -- Ticker: 5ire -- Ticker Name: 5ire - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/aleph-zero/flutter.mdx b/docs/connect-blockchain/evm/aleph-zero/flutter.mdx index 4e6ec18b7..c7daf43f0 100644 --- a/docs/connect-blockchain/evm/aleph-zero/flutter.mdx +++ b/docs/connect-blockchain/evm/aleph-zero/flutter.mdx @@ -8,17 +8,7 @@ description: "Integrate Web3Auth with the Aleph Zero Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -30,90 +20,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/aleph-zero/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Aleph Zero Blockchain](https://alephzero.org) to make any blockchain calls, -like getting the user's `account`, fetching `balance`, signing transactions, sending transactions, -and interacting with smart contracts. We have highlighted a few key examples to get you started -quickly on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Aleph Zero Blockchain](https://alephzero.org) to make any blockchain calls. We have highlighted a +few here for getting you started quickly on that. -## Installation - - - -## Chain Details for Aleph Zero - - - - -- Chain ID: 0xA1EF -- Public RPC URL: https://rpc.alephzero.raas.gelato.cloud (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Aleph Zero Mainnet -- Block Explorer Link: https://evm-explorer.alephzero.org -- Ticker: AZERO -- Ticker Name: Aleph Zero - - - - - -- Chain ID: 0x7F7 -- Public RPC URL: https://rpc.alephzero-testnet.gelato.digital (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Aleph Zero Testnet -- Block Explorer Link: https://evm-explorer-testnet.alephzero.org/ -- Ticker: AZERO -- Ticker Name: Aleph Zero - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/ancient8/flutter.mdx b/docs/connect-blockchain/evm/ancient8/flutter.mdx index 737560cba..f6775a165 100644 --- a/docs/connect-blockchain/evm/ancient8/flutter.mdx +++ b/docs/connect-blockchain/evm/ancient8/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, ancient8, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Ancient8 Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,90 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/ancient8/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Ancient8 Blockchain](https://ancient8.gg) to make any blockchain calls, like -getting the user's `account`, fetching `balance`, signing and sending transactions, reading from and -writing to smart contracts, etc. We have highlighted a few examples to get you started quickly on -that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Ancient8 Blockchain](https://ancient8.gg) to make any blockchain calls. We have highlighted a few +here for getting you started quickly on that. -## Installation - - - -## Chain Details for Ancient8 - - - - -- Chain ID: 0x34BC6B8 -- Public RPC URL: https://rpc.ancient8.gg (Avoid using public rpcTarget in production, use services - like Infura, Quicknode etc) -- Display Name: Ancient8 Mainnet -- Block Explorer Link: https://scan.ancient8.gg -- Ticker: ETH -- Ticker Name: ETH - - - - - -- Chain ID: 0x1AD4150 -- Public RPC URL: https://rpcv2-testnet.ancient8.gg (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Ancient8 Testnet V2 -- Block Explorer Link: https://scanv2-testnet.ancient8.gg -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/arbitrum/flutter.mdx b/docs/connect-blockchain/evm/arbitrum/flutter.mdx index 99b3c63d2..acc0cb99a 100644 --- a/docs/connect-blockchain/evm/arbitrum/flutter.mdx +++ b/docs/connect-blockchain/evm/arbitrum/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, arbitrum, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Arbitrum Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,90 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/arbitrum/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Arbitrum](https://arbitrum.io/) to make any blockchain calls, like getting -the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from and -`write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Arbitrum](https://arbitrum.io/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Arbitrum - - - - -- Chain ID: 0xA4B1 -- Public RPC URL: https://rpc.ankr.com/arbitrum (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Arbitrum Mainnet -- Block Explorer Link: https://arbiscan.io -- Ticker: AETH -- Ticker Name: AETH - - - - - -- Chain ID: 0x66EEE -- Public RPC URL: https://rpc.ankr.com/arbitrum_sepolia (Avoid using public rpcTarget in production, - use services like Infura, Quicknode etc) -- Display Name: Arbitrum Sepolia Testnet -- Block Explorer Link: https://sepolia.arbiscan.io/ -- Ticker: AETH -- Ticker Name: AETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/astar-zkevm/flutter.mdx b/docs/connect-blockchain/evm/astar-zkevm/flutter.mdx index 4633c813c..d57657774 100644 --- a/docs/connect-blockchain/evm/astar-zkevm/flutter.mdx +++ b/docs/connect-blockchain/evm/astar-zkevm/flutter.mdx @@ -8,17 +8,7 @@ description: "Integrate Web3Auth with the Astar zkEVM Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -30,75 +20,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/zkevm/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Astar zkEVM](https://docs.astar.network/docs/build/zkEVM/) to make any -blockchain calls, like getting the user's `account`, fetch `balance`, `sign transaction`, -`send transaction`, `read` from and `write` to the smart contract, etc. We have highlighted a few -here to get you started quickly on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Astar zkEVM](https://docs.astar.network/docs/build/zkEVM/) to make any blockchain calls. We have +highlighted a few here for getting you started quickly on that. -## Installation - - - -## Chain Details for zkEVM - - - - -- Chain ID: 0xEC0 -- Public RPC URL: https://rpc.startale.com/astar-zkevm (Avoid using public rpcTarget in production, - use services like Infura, Quicknode etc) -- Display Name: Astar zkEVM -- Block Explorer Link: https://astar-zkevm.explorer.startale.com/ -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/astar-zkyoto/flutter.mdx b/docs/connect-blockchain/evm/astar-zkyoto/flutter.mdx index b5978316b..73e593b7e 100644 --- a/docs/connect-blockchain/evm/astar-zkyoto/flutter.mdx +++ b/docs/connect-blockchain/evm/astar-zkyoto/flutter.mdx @@ -8,17 +8,7 @@ description: "Integrate Web3Auth with the Astar zKyoto Testnet in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -30,75 +20,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/zkyoto/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Astar zKyoto](https://docs.astar.network/docs/build/zkEVM/quickstart) to make -any blockchain calls, like getting the user's `account`, fetch `balance`, `sign transaction`, -`send transaction`, `read` from and `write` to the smart contract, etc. We have highlighted a few -here to get you started quickly on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Astar zKyoto](https://docs.astar.network/docs/build/zkEVM/quickstart) to make any blockchain calls. +We have highlighted a few here for getting you started quickly on that. -## Installation - - - -## Chain Details for zKyoto - - - - -- Chain ID: 0x5C2359 -- Public RPC URL: https://rpc.startale.com/astar-zkyoto (Avoid using public rpcTarget in production, - use services like Infura, Quicknode etc) -- Display Name: Astar zKyoto -- Block Explorer Link: https://zkyoto.explorer.startale.com/ -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/avalanche/flutter.mdx b/docs/connect-blockchain/evm/avalanche/flutter.mdx index a8aa1ac6d..b54fa05c0 100644 --- a/docs/connect-blockchain/evm/avalanche/flutter.mdx +++ b/docs/connect-blockchain/evm/avalanche/flutter.mdx @@ -8,17 +8,7 @@ description: "Integrate Web3Auth with the Avalanche (C-Chain) Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -30,90 +20,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/avalanche/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Avalanche (C-Chain)](https://www.avax.network/) to make any blockchain calls, -like getting the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` -from and `write` to the smart contract, etc. We have highlighted a few here to get you started -quickly on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Avalanche (C-Chain)](https://www.avax.network/) to make any blockchain calls. We have highlighted a +few here for getting you started quickly on that. -## Installation - - - -## Chain Details for Avalanche (C-Chain) - - - - -- Chain ID: 0xA86A -- Public RPC URL: https://rpc.ankr.com/avalanche-c (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Avalanche C-Chain Mainnet -- Block Explorer Link: https://subnets.avax.network/c-chain -- Ticker: AVAX -- Ticker Name: AVAX - - - - - -- Chain ID: 0xA869 -- Public RPC URL: https://rpc.ankr.com/avalanche_fuji-c (Avoid using public rpcTarget in production, - use services like Infura, Quicknode etc) -- Display Name: Avalanche C-Chain Testnet -- Block Explorer Link: https://subnets-test.avax.network/c-chain -- Ticker: AVAX -- Ticker Name: AVAX - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/base/flutter.mdx b/docs/connect-blockchain/evm/base/flutter.mdx index a95de4573..2e8416e2f 100644 --- a/docs/connect-blockchain/evm/base/flutter.mdx +++ b/docs/connect-blockchain/evm/base/flutter.mdx @@ -9,17 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -31,90 +21,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/base/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Base Chain (Coinbase)](https://base.org/) to make any blockchain calls, like -getting the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from -and `write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Base Chain (Coinbase)](https://base.org/) to make any blockchain calls. We have highlighted a few +here for getting you started quickly on that. -## Installation - - - -## Chain Details for Base Chain (Coinbase) - - - - -- Chain ID: 0x2105 -- Public RPC URL: `https://mainnet.base.org` (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Base Mainnet -- Block Explorer Link: https://basescan.org/ -- Ticker: ETH -- Ticker Name: ETH - - - - - -- Chain ID: 0x14A34 -- Public RPC URL: `https://sepolia.base.org` (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Base Sepolia -- Block Explorer Link: https://sepolia-explorer.base.org -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/bnb/flutter.mdx b/docs/connect-blockchain/evm/bnb/flutter.mdx index 108971b8c..aee313224 100644 --- a/docs/connect-blockchain/evm/bnb/flutter.mdx +++ b/docs/connect-blockchain/evm/bnb/flutter.mdx @@ -8,17 +8,7 @@ description: "Integrate Web3Auth with the BNB (Binance) Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -30,90 +20,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/bnb/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [BNB (Binance) Chain](https://www.bnbchain.org/) to make any blockchain calls, -like getting the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` -from and `write` to the smart contract, etc. We have highlighted a few here to get you started -quickly on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[BNB (Binance) Chain](https://www.bnbchain.org/) to make any blockchain calls. We have highlighted a +few here for getting you started quickly on that. -## Installation - - - -## Chain Details for BNB (Binance) Chain - - - - -- Chain ID: 0x38 -- Public RPC URL: https://rpc.ankr.com/bsc (Avoid using public rpcTarget in production, use services - like Infura, Quicknode etc) -- Display Name: Binance SmartChain Mainnet -- Block Explorer Link: https://bscscan.com/ -- Ticker: BNB -- Ticker Name: BNB - - - - - -- Chain ID: 0x61 -- Public RPC URL: https://rpc.ankr.com/bsc_testnet_chapel (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Binance SmartChain Testnet -- Block Explorer Link: https://testnet.bscscan.com -- Ticker: BNB -- Ticker Name: BNB - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/celo/flutter.mdx b/docs/connect-blockchain/evm/celo/flutter.mdx index 9eaff6708..b79807d65 100644 --- a/docs/connect-blockchain/evm/celo/flutter.mdx +++ b/docs/connect-blockchain/evm/celo/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, celo, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Celo Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,89 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/celo/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Celo](https://celo.org/) to make any blockchain calls, like getting the -user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from and `write` -to the smart contract, etc. We have highlighted a few here to get you started quickly on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Celo](https://celo.org/) to make any blockchain calls. We have highlighted a few here for getting +you started quickly on that. -## Installation - - - -## Chain Details for Celo - - - - -- Chain ID: 0xa4ec -- Public RPC URL: https://rpc.ankr.com/celo (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Celo Mainnet -- Block Explorer Link: https://explorer.celo.org -- Ticker: CELO -- Ticker Name: CELO - - - - - -- Chain ID: 0xaef3 -- Public RPC URL: https://rpc.ankr.com/celo (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Celo Testnet -- Block Explorer Link: https://alfajores-blockscout.celo-testnet.org -- Ticker: CELO -- Ticker Name: CELO - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/cronos/flutter.mdx b/docs/connect-blockchain/evm/cronos/flutter.mdx index 3138e5f84..815a6549a 100644 --- a/docs/connect-blockchain/evm/cronos/flutter.mdx +++ b/docs/connect-blockchain/evm/cronos/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, cronos, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Cronos Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,89 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/cronos/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Cronos](https://cronos.org/) to make any blockchain calls, like getting the -user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from and `write` -to the smart contract, etc. We have highlighted a few here to get you started quickly on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Cronos](https://cronos.org/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Cronos - - - - -- Chain ID: 0x19 -- Public RPC URL: https://rpc.cronos.org (Avoid using public rpcTarget in production, use services - like Infura, Quicknode etc) -- Display Name: Cronos Mainnet -- Block Explorer Link: https://cronoscan.com -- Ticker: CRO -- Ticker Name: CRO - - - - - -- Chain ID: 0x152 -- Public RPC URL: https://rpc-t3.cronos.org (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Cronos Testnet -- Block Explorer Link: https://cronoscan.com -- Ticker: CRO -- Ticker Name: CRO - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/ethereum/flutter.mdx b/docs/connect-blockchain/evm/ethereum/flutter.mdx index eb1985776..8a40dbb1b 100644 --- a/docs/connect-blockchain/evm/ethereum/flutter.mdx +++ b/docs/connect-blockchain/evm/ethereum/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, ethereum, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Ethereum Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,89 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/ethereum/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Ethereum](https://ethereum.org/) to make any blockchain calls, like getting -user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from and `write` -to the smart contract, etc. We have highlighted a few here for getting you started quickly on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Ethereum](https://ethereum.org/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Ethereum - - - - -- Chain ID: 0x1 -- Public RPC URL: https://rpc.ankr.com/eth (Avoid using public rpcTarget in production, use services - like Infura, Quicknode etc) -- Display Name: Ethereum Mainnet -- Block Explorer Link: https://etherscan.io -- Ticker: ETH -- Ticker Name: Ethereum - - - - - -- Chain ID: 0xaa36a7 -- Public RPC URL: https://rpc.ankr.com/eth_sepolia (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Ethereum Sepolia Testnet -- Block Explorer Link: https://sepolia.etherscan.io -- Ticker: ETH -- Ticker Name: Sepolia - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/fhenix/flutter.mdx b/docs/connect-blockchain/evm/fhenix/flutter.mdx index af8590e66..5e4e63090 100644 --- a/docs/connect-blockchain/evm/fhenix/flutter.mdx +++ b/docs/connect-blockchain/evm/fhenix/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, fhenix, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Fhenix Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,69 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/fhenix/flutter" /> -## Installation +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Fhenix](https://www.fhenix.io/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Fhenix - - - - - -- Chain ID: 0x7a31c7 -- Public RPC URL: https://api.helium.fhenix.zone -- Display Name: Fhenix Helium -- Block Explorer Link: https://explorer.helium.fhenix.zone -- Ticker: tFHE -- Ticker Name: tFHE - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/flare/flutter.mdx b/docs/connect-blockchain/evm/flare/flutter.mdx index 38743de44..7132b06f8 100644 --- a/docs/connect-blockchain/evm/flare/flutter.mdx +++ b/docs/connect-blockchain/evm/flare/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, flare, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Flare Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,90 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/flare/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Flare](https://www.flare.network) to make any blockchain calls, like getting -the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from and -`write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Flare](https://www.flare.network) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Flare - - - - -- Chain ID: 0xE -- Public RPC URL: https://flare-api.flare.network/ext/C/rpc (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Flare Mainnet -- Block Explorer Link: https://flare-explorer.flare.network -- Ticker: FLR -- Ticker Name: FLR - - - - - -- Chain ID: 0x72 -- Public RPC URL: https://coston2-api.flare.network/ext/C/rpc (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Coston2 testnet -- Block Explorer Link: https://coston2-explorer.flare.network -- Ticker: C2FLR -- Ticker Name: C2FLR - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/harmony/flutter.mdx b/docs/connect-blockchain/evm/harmony/flutter.mdx index 7d403307b..fcd4a70d1 100644 --- a/docs/connect-blockchain/evm/harmony/flutter.mdx +++ b/docs/connect-blockchain/evm/harmony/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, harmony, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Harmony Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,90 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/harmony/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Harmony](https://www.harmony.one/) to make any blockchain calls, like getting -the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from and -`write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Harmony](https://www.harmony.one/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Harmony - - - - -- Chain ID: 0x63564c40 -- Public RPC URL: https://rpc.ankr.com/harmony (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Harmony Mainnet -- Block Explorer Link: https://explorer.harmony.one -- Ticker: ONE -- Ticker Name: ONE - - - - - -- Chain ID: 0x6357d2e0 -- Public RPC URL: https://api.s0.b.hmny.io (Avoid using public rpcTarget in production, use services - like Infura, Quicknode etc) -- Display Name: Harmony Testnet -- Block Explorer Link: https://explorer.testnet.harmony.one -- Ticker: ONE -- Ticker Name: ONE - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/hedera/flutter.mdx b/docs/connect-blockchain/evm/hedera/flutter.mdx index 959efd306..f721c888e 100644 --- a/docs/connect-blockchain/evm/hedera/flutter.mdx +++ b/docs/connect-blockchain/evm/hedera/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, hedera, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Hedera Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,95 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/hedera/flutter" /> -## Installation +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Hedera](https://hedera.com/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Hedera - - - - - -- Chain ID: 0x127 -- Public RPC URL: https://mainnet.hashio.io/api -- Display Name: Hedera Mainnet -- Block Explorer Link: https://hashscan.io/mainnet/ -- Ticker: HBAR -- Ticker Name: HBAR - - - - -- Chain ID: 0x128 -- Public RPC URL: https://testnet.hashio.io/api -- Display Name: Hedera Testnet -- Block Explorer Link: https://hashscan.io/testnet/ -- Ticker: HBAR -- Ticker Name: HBAR - - - - -- Chain ID: 0x129 -- Public RPC URL: https://previewnet.hashio.io/api -- Display Name: Hedera Previewnet -- Block Explorer Link: https://hashscan.io/previewnet/ -- Ticker: HBAR -- Ticker Name: HBAR - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/kinto/flutter.mdx b/docs/connect-blockchain/evm/kinto/flutter.mdx index 66f9054f0..4086905ea 100644 --- a/docs/connect-blockchain/evm/kinto/flutter.mdx +++ b/docs/connect-blockchain/evm/kinto/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, kinto, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Kinto Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,82 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/kinto/flutter" /> -## Installation +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Kinto](https://kinto.xyz/) to make any blockchain calls. We have highlighted a few here for getting +you started quickly on that. - - -## Chain Details for Kinto - - - - - -- Chain ID: 0x1ecf -- Public RPC URL: https://rpc.kinto.xyz/http -- Display Name: Kinto Mainnet -- Block Explorer Link: https://explorer.kinto.xyz -- Ticker: ETH -- Ticker Name: ETH - - - - -- Chain ID: 0xa788 -- Public RPC URL: http://35.215.120.180:8545 -- Display Name: Kinto Testnet -- Block Explorer Link: https://explorer.kinto.xyz -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/klaytn/flutter.mdx b/docs/connect-blockchain/evm/klaytn/flutter.mdx index 1e0e0fb15..1d8b4a0c8 100644 --- a/docs/connect-blockchain/evm/klaytn/flutter.mdx +++ b/docs/connect-blockchain/evm/klaytn/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, klaytn, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Klaytn Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,90 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/klaytn/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Klaytn](https://klaytn.foundation) to make any blockchain calls, like getting -the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from and -`write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Klaytn](https://klaytn.foundation) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Klaytn - - - - -- Chain ID: 0x2019 -- Public RPC URL: `https://public-node-api.klaytnapi.com/v1/cypress` (Avoid using public rpcTarget - in production, use services like Infura, Quicknode etc) -- Display Name: Klaytn Mainnet -- Block Explorer Link: https://scope.klaytn.com -- Ticker: KLAY -- Ticker Name: KLAY - - - - - -- Chain ID: 0x3e9 -- Public RPC URL: https://api.baobab.klaytn.net:8651 (Avoid using public rpcTarget in production, - use services like Infura, Quicknode etc) -- Display Name: Klaytn Testnet -- Block Explorer Link: https://baobab.scope.klaytn.com -- Ticker: KLAY -- Ticker Name: KLAY - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/linea/flutter.mdx b/docs/connect-blockchain/evm/linea/flutter.mdx index ce063bce0..6af8123c3 100644 --- a/docs/connect-blockchain/evm/linea/flutter.mdx +++ b/docs/connect-blockchain/evm/linea/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, linea, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Linea Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,73 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/linea/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Linea](https://linea.build/) to make any blockchain calls, like getting the -user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from and `write` -to the smart contract, etc. We have highlighted a few here to get you started quickly on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Linea](https://linea.build/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Linea - - - - -- Chain ID: 0xe708 -- Public RPC URL: https://rpc.linea.build (Avoid using public rpcTarget in production, use services - like Infura, Quicknode etc) -- Display Name: Linea Mainnet -- Block Explorer Link: https://lineascan.build/ -- Ticker: ETH -- Ticker Name: ETH - - - - - -- Chain ID: 0xe705 -- Public RPC URL: https://rpc.sepolia.linea.build (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Linea Sepolia Testnet -- Block Explorer Link: https://sepolia.lineascan.build/ -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - + diff --git a/docs/connect-blockchain/evm/manta/flutter.mdx b/docs/connect-blockchain/evm/manta/flutter.mdx index 5de47c961..571e1787d 100644 --- a/docs/connect-blockchain/evm/manta/flutter.mdx +++ b/docs/connect-blockchain/evm/manta/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, manta, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Manta Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,90 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/manta/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Manta Blockchain](https://manta.network/) to make any blockchain calls, like -getting the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from -and `write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Manta Blockchain](https://manta.network/) to make any blockchain calls. We have highlighted a few +here for getting you started quickly on that. -## Installation - - - -## Chain Details for Manta - - - - -- Chain ID: 0xA9 -- Public RPC URL: https://pacific-rpc.manta.network/http (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Manta Pacific Mainnet -- Block Explorer Link: https://pacific-explorer.manta.network -- Ticker: ETH -- Ticker Name: ETH - - - - - -- Chain ID: 0x34816E -- Public RPC URL: https://pacific-rpc.sepolia-testnet.manta.network/http (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: Manta Pacific Sepolia Testnet -- Block Explorer Link: https://pacific-explorer.sepolia-testnet.manta.network -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/metis/flutter.mdx b/docs/connect-blockchain/evm/metis/flutter.mdx index b37a03a66..afdd2171e 100644 --- a/docs/connect-blockchain/evm/metis/flutter.mdx +++ b/docs/connect-blockchain/evm/metis/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, metis, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Metis Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,90 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/metis/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Metis Blockchain](https://metis.io) to make any blockchain calls, like -getting the user's `account`, fetching `balance`, signing transactions, sending transactions, and -interacting with smart contracts. We have highlighted a few key examples to get you started quickly -on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Metis Blockchain](https://metis.io) to make any blockchain calls. We have highlighted a few here +for getting you started quickly on that. -## Installation - - - -## Chain Details for Metis - - - - -- Chain ID: 0x440 -- Public RPC URL: https://andromeda.metis.io/?owner=1088 (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Andromeda Mainnet -- Block Explorer Link: https://andromeda-explorer.metis.io -- Ticker: METIS -- Ticker Name: Metis - - - - - -- Chain ID: 0xEA6E -- Public RPC URL: https://sepolia.metisdevops.link (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Sepolia Testnet -- Block Explorer Link: https://sepolia-explorer.metisdevops.link/ -- Ticker: tMetis -- Ticker Name: tMetis - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/mint/flutter.mdx b/docs/connect-blockchain/evm/mint/flutter.mdx index 724d0b3e1..e8e5e6bad 100644 --- a/docs/connect-blockchain/evm/mint/flutter.mdx +++ b/docs/connect-blockchain/evm/mint/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, mint, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Mint Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,90 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/mint/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Mint Blockchain](https://mintscan.org/) to make any blockchain calls, like -getting the user's `account`, fetching `balance`, signing transactions, sending transactions, and -interacting with smart contracts. We have highlighted a few key examples to get you started quickly -on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Mint Blockchain](https://mintscan.org/) to make any blockchain calls. We have highlighted a few +here for getting you started quickly on that. -## Installation - - - -## Chain Details for Mint - - - - -- Chain ID: 0xB9 -- Public RPC URL: https://rpc.mintchain.io (Avoid using public rpcTarget in production, use services - like Infura, Quicknode etc.) -- Display Name: Mint Mainnet -- Block Explorer Link: https://explorer.mintchain.io -- Ticker: ETH -- Ticker Name: ETH - - - - - -- Chain ID: 0x697 -- Public RPC URL: https://sepolia-testnet-rpc.mintchain.io (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc.) -- Display Name: Mint Sepolia Testnet -- Block Explorer Link: https://sepolia-testnet-explorer.mintchain.io -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/moonbeam/flutter.mdx b/docs/connect-blockchain/evm/moonbeam/flutter.mdx index d071356e4..c0a1eed4f 100644 --- a/docs/connect-blockchain/evm/moonbeam/flutter.mdx +++ b/docs/connect-blockchain/evm/moonbeam/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, moonbeam, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Moonbeam Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,90 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/moonbeam/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Moonbeam](https://moonbeam.network/networks/moonbeam/) to make any blockchain -calls, like getting the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, -`read` from and `write` to the smart contract, etc. We have highlighted a few here to get you -started quickly on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Moonbeam](https://moonbeam.network/networks/moonbeam/) to make any blockchain calls. We have +highlighted a few here for getting you started quickly on that. -## Installation - - - -## Chain Details for Moonbeam - - - - -- Chain ID: 0x504 -- Public RPC URL: https://rpc.ankr.com/moonbeam (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Moonbeam Mainnet -- Block Explorer Link: https://moonbeam.moonscan.io -- Ticker: GLMR -- Ticker Name: GLMR - - - - - -- Chain ID: 0x507 -- Public RPC URL: https://rpc.ankr.com/moonbeam (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Moonbeam Testnet -- Block Explorer Link: https://moonbase.moonscan.io -- Ticker: GLMR -- Ticker Name: GLMR - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/moonriver/flutter.mdx b/docs/connect-blockchain/evm/moonriver/flutter.mdx index 3225af22a..12cefae15 100644 --- a/docs/connect-blockchain/evm/moonriver/flutter.mdx +++ b/docs/connect-blockchain/evm/moonriver/flutter.mdx @@ -8,17 +8,7 @@ description: "Integrate Web3Auth with the Moonriver Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -30,90 +20,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/moonriver/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Moonriver](https://moonbeam.network/networks/moonriver/) to make any -blockchain calls, like getting the user's `account`, fetch `balance`, `sign transaction`, -`send transaction`, `read` from and `write` to the smart contract, etc. We have highlighted a few -here to get you started quickly on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Moonriver](https://moonbeam.network/networks/moonriver/) to make any blockchain calls. We have +highlighted a few here for getting you started quickly on that. -## Installation - - - -## Chain Details for Moonriver - - - - -- Chain ID: 0x505 -- Public RPC URL: `https://rpc.api.moonriver.moonbeam.network` (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Moonriver Mainnet -- Block Explorer Link: https://moonriver.moonscan.io -- Ticker: MOVR -- Ticker Name: MOVR - - - - - -- Chain ID: 0x507 -- Public RPC URL: `https://rpc.api.moonriver.moonbeam.network` (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Moonriver Testnet -- Block Explorer Link: https://moonriver.moonscan.io -- Ticker: MOVR -- Ticker Name: MOVR - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/morph/flutter.mdx b/docs/connect-blockchain/evm/morph/flutter.mdx index b42c82481..a59e8bcea 100644 --- a/docs/connect-blockchain/evm/morph/flutter.mdx +++ b/docs/connect-blockchain/evm/morph/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, morph, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Morph Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,82 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/morph/flutter" /> -## Installation +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Morph](https://www.morphl2.io/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Morph - - - - - -- Chain ID: 0xa96 -- Public RPC URL: https://rpc-testnet.morphl2.io -- Display Name: Morph Testnet -- Block Explorer Link: https://explorer-testnet.morphl2.io/ -- Ticker: ETH -- Ticker Name: ETH - - - - -- Chain ID: 0xafa -- Public RPC URL: https://rpc-holesky.morphl2.io -- Display Name: Morph Holesky -- Block Explorer Link: https://explorer-holesky.morphl2.io/ -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/neon/flutter.mdx b/docs/connect-blockchain/evm/neon/flutter.mdx index ca586435b..f199c9682 100644 --- a/docs/connect-blockchain/evm/neon/flutter.mdx +++ b/docs/connect-blockchain/evm/neon/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, neon, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Neon Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,89 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/neon/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Neon](https://neonevm.org/) to make any blockchain calls, like getting the -user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from and `write` -to the smart contract, etc. We have highlighted a few here to get you started quickly on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Neon](https://neonevm.org/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Neon - - - - -- Chain ID: 0xe9ac0d6 -- Public RPC URL: https://neon-proxy-mainnet.solana.p2p.org (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Neon Mainnet -- Block Explorer Link: https://neonscan.org/ -- Ticker: NEON -- Ticker Name: NEON - - - - - -- Chain ID: 0xe9ac0d6 -- Public RPC URL: https://devnet.neonevm.org (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Neon Testnet -- Block Explorer Link: https://devnet.neonscan.org/ -- Ticker: NEON -- Ticker Name: NEON - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/nibiru/flutter.mdx b/docs/connect-blockchain/evm/nibiru/flutter.mdx index 070f61984..e1a6a83fe 100644 --- a/docs/connect-blockchain/evm/nibiru/flutter.mdx +++ b/docs/connect-blockchain/evm/nibiru/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, nibiru, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Nibiru Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,90 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/nibiru/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Nibiru](https://nibiru.fi/) to make any blockchain calls, like getting the -user's `account`, fetching `balance`, `sign transaction`, `send transaction`, `read` from and -`write` to the smart contract, etc. We have highlighted a few here for getting you started quickly -on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Nibiru](https://nibiru.fi/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Nibiru - -:::note - -Nibiru is EVM compatible only for localnet for now. Kindly refer to the -[Nibiru documentation](https://nibiru.fi/docs/dev/evm/) and -[Nibiru Networks](https://nibiru.fi/docs/dev/networks/#evm-network-configs) for the latest updates -and EVM-related configs. - -::: - -:::info - -For Nibiru, the steps for creating a local block explorer are mentioned -[here](https://nibiru.fi/docs/dev/evm/quickstart.html#_4-local-explorer-optional). - -::: - - - - -- Chain ID: 0x100 -- Public RPC URL: http://127.0.0.1:8545 -- Display Name: Nibiru Localnet -- Block Explorer Link: (See the info placard above) -- Ticker: NIBI -- Ticker Name: Nibiru - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/opbnb/flutter.mdx b/docs/connect-blockchain/evm/opbnb/flutter.mdx index 5ee23f9a9..233ace7ef 100644 --- a/docs/connect-blockchain/evm/opbnb/flutter.mdx +++ b/docs/connect-blockchain/evm/opbnb/flutter.mdx @@ -8,17 +8,7 @@ description: "Integrate Web3Auth with the BNB Optimistic Rolllup in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -30,91 +20,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/opbnb/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [opBNB](https://astar.network/) to make any blockchain calls, like getting the -user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from and `write` -to the smart contract, etc. We have highlighted a few here to get you started quickly on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[opBNB](https://astar.network/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for opBNB - - - - - -- Chain ID: 0xCC -- Public RPC URL: `https://opbnb-mainnet-rpc.bnbchain.org` (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: opBNB Mainnet -- Block Explorer Link: https://opbnbscan.com -- Ticker: BNB -- Ticker Name: opBNB - - - - - -- Chain ID: 0x15EB -- Public RPC URL: https://opbnb-testnet-rpc.bnbchain.org/ (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: opBNB Testnet -- Block Explorer Link: https://testnet.opbnbscan.com -- Ticker: tBNB -- Ticker Name: opBNB - - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/optimism/flutter.mdx b/docs/connect-blockchain/evm/optimism/flutter.mdx index c4ab5249f..f1e6890d8 100644 --- a/docs/connect-blockchain/evm/optimism/flutter.mdx +++ b/docs/connect-blockchain/evm/optimism/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, optimism, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Optimism Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,90 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/optimism/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Optimism](https://optimism.io/) to make any blockchain calls, like getting -the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from and -`write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Optimism](https://optimism.io/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Optimism - - - - -- Chain ID: 0xA -- Public RPC URL: https://rpc.ankr.com/optimism (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Optimism Mainnet -- Block Explorer Link: https://optimistic.etherscan.io -- Ticker: OP -- Ticker Name: OP - - - - - -- Chain ID: 0x45 -- Public RPC URL: https://rpc.ankr.com/optimism_testnet (Avoid using public rpcTarget in production, - use services like Infura, Quicknode etc) -- Display Name: Optimism Testnet -- Block Explorer Link: `https://kovan-optimistic.etherscan.io` -- Ticker: OP -- Ticker Name: OP - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/polygon/flutter.mdx b/docs/connect-blockchain/evm/polygon/flutter.mdx index 2f613dd4b..c375cae87 100644 --- a/docs/connect-blockchain/evm/polygon/flutter.mdx +++ b/docs/connect-blockchain/evm/polygon/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, polygon, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Polygon Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,90 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/polygon/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Polygon (formerly Matic)](https://polygon.technology/) to make any blockchain -calls, like getting the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, -`read` from and `write` to the smart contract, etc. We have highlighted a few here to get you -started quickly on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Polygon](https://polygon.technology/) to make any blockchain calls. We have highlighted a few here +for getting you started quickly on that. -## Installation - - - -## Chain Details for Polygon - - - - -- Chain ID: 0x89 -- Public RPC URL: https://rpc.ankr.com/polygon (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Polygon Mainnet -- Block Explorer Link: https://polygonscan.com -- Ticker: POL -- Ticker Name: Polygon Ecosystem Token - - - - - -- Chain ID: 0x13882 -- Public RPC URL: https://rpc.ankr.com/polygon_amoy (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Polygon Amoy Testnet -- Block Explorer Link: https://amoy.polygonscan.com -- Ticker: POL -- Ticker Name: Polygon Ecosystem Token - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/rootstock/flutter.mdx b/docs/connect-blockchain/evm/rootstock/flutter.mdx index b5c2ed410..3ea6f020c 100644 --- a/docs/connect-blockchain/evm/rootstock/flutter.mdx +++ b/docs/connect-blockchain/evm/rootstock/flutter.mdx @@ -8,17 +8,7 @@ description: "Integrate Web3Auth with the Rootstock Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -30,82 +20,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/rootstock/flutter" /> -## Installation +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Rootstock](https://rootstock.io/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Rootstock - - - - - -- Chain ID: 0x1e -- Public RPC URL: https://rootstock.drpc.org -- Display Name: Rootstock Mainnet -- Block Explorer Link: https://explorer.rootstock.io -- Ticker: RBTC -- Ticker Name: RBTC - - - - -- Chain ID: 0x1f -- Public RPC URL: https://public-node.testnet.rsk.co -- Display Name: Rootstock Testnet -- Block Explorer Link: https://explorer.testnet.rootstock.io -- Ticker: tRBTC -- Ticker Name: tRBTC - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/saakuru/flutter.mdx b/docs/connect-blockchain/evm/saakuru/flutter.mdx index 5032dcd77..192880936 100644 --- a/docs/connect-blockchain/evm/saakuru/flutter.mdx +++ b/docs/connect-blockchain/evm/saakuru/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, saakuru, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Saakuru Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,68 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/saakuru/flutter" /> -## Installation +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Saakuru](https://saakuru.com/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Saakuru - - - - -- Chain ID: 0x6E23D6 -- Public RPC URL: https://rpc.saakuru.network -- Display Name: Saakuru Mainnet -- Block Explorer Link: https://explorer.saakuru.network/ -- Ticker: OAS -- Ticker Name: Saakuru - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/shardeum/flutter.mdx b/docs/connect-blockchain/evm/shardeum/flutter.mdx index 78010fca7..63abae733 100644 --- a/docs/connect-blockchain/evm/shardeum/flutter.mdx +++ b/docs/connect-blockchain/evm/shardeum/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, shardeum, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Shardeum Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,69 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/shardeum/flutter" /> -## Installation +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Shardeum](https://shardeum.org/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Shardeum - - - - - -- Chain ID: 0x1F92 -- Public RPC URL: https://atomium.shardeum.org -- Display Name: Shardeum Atomium -- Block Explorer Link: https://explorer-atomium.shardeum.org/ -- Ticker: SHM -- Ticker Name: SHM - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/skale/flutter.mdx b/docs/connect-blockchain/evm/skale/flutter.mdx index bb3ad0c5a..c7dcd65ff 100644 --- a/docs/connect-blockchain/evm/skale/flutter.mdx +++ b/docs/connect-blockchain/evm/skale/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, skale, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Skale Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,205 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/skale/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [SKALE](https://skale.space/) to make any blockchain calls, like getting the -user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from and `write` -to the smart contract, etc. We have highlighted a few here to get you started quickly on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Skale](https://skale.space/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Skale - -### Getting the `chainConfig` for Europa Hub - - - - -- Chain ID: 0x79f99296 -- Public RPC URL: https://mainnet.skalenodes.com/v1/elated-tan-skat (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: SKALE Europa Hub Mainnet -- Block Explorer Link: https://elated-tan-skat.explorer.mainnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - - -- Chain ID: 0x561bf78b -- Public RPC URL: https://testnet.skalenodes.com/v1/juicy-low-small-testnet (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Europa Hub Testnet -- Block Explorer Link: https://juicy-low-small-testnet.explorer.testnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - -### Getting the `chainConfig` for Calypso Hub - - - - -- Chain ID: 0x5d456c62 -- Public RPC URL: https://mainnet.skalenodes.com/v1/honorable-steel-rasalhague (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Calypso Hub Mainnet -- Block Explorer Link: https://honorable-steel-rasalhague.explorer.mainnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - - -- Chain ID: 0x3a14269b -- Public RPC URL: https://testnet.skalenodes.com/v1/giant-half-dual-testnet (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Calypso Hub Testnet -- Block Explorer Link: https://giant-half-dual-testnet.explorer.testnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - -### Getting the `chainConfig` for Nebula Gaming Hub - - - - -- Chain ID: 0x3a14269b -- Public RPC URL: https://mainnet.skalenodes.com/v1/green-giddy-denebola (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Nebula Gaming Hub Mainnet -- Block Explorer Link: https://green-giddy-denebola.explorer.mainnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - - -- Chain ID: 0x0235ddd0 -- Public RPC URL: https://testnet.skalenodes.com/v1/lanky-ill-funny-testnet (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Nebula Gaming Hub Testnet -- Block Explorer Link: https://lanky-ill-funny-testnet.explorer.testnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - -### Getting the `chainConfig` for Titan Hub - - - - -- Chain ID: 0x507aaa2a -- Public RPC URL: https://mainnet.skalenodes.com/v1/parallel-stormy-spica (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Titan Hub Mainnet -- Block Explorer Link: https://parallel-stormy-spica.explorer.mainnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - - -- Chain ID: 0x3cd156dc -- Public RPC URL: https://testnet.skalenodes.com/v1/aware-fake-trim-testnet (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Titan Hub Testnet -- Block Explorer Link: https://aware-fake-trim-testnet.explorer.testnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/soneium/flutter.mdx b/docs/connect-blockchain/evm/soneium/flutter.mdx index 2551ade7c..1b669df29 100644 --- a/docs/connect-blockchain/evm/soneium/flutter.mdx +++ b/docs/connect-blockchain/evm/soneium/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, soneium, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Soneium Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,108 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/soneium/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Soneium](https://soneium.org) to make any blockchain calls, like getting the -user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from and `write` -to the smart contract, etc. We have highlighted a few here to get you started quickly on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Soneium](https://soneium.org) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Soneium - -:::note - -[Soneium](https://docs.soneium.org/docs/builders/overview) is currently available on the testnet. -The mainnet is coming soon. - -::: - - - - - -```typescript -const chainConfig = { - chainNamespace: CHAIN_NAMESPACES.EIP155, - chainId: "0x799", // hex of 1945 - rpcTarget: "https://rpc.soneium.org", - displayName: "Soneium Mainnet Network", - blockExplorerUrl: "https://explorer.soneium.org", - ticker: "ETH", - tickerName: "ETH", - logo: "https://cryptologos.cc/logos/soneium-logo.png", -}; -``` - - - - - -```typescript -const chainConfig = { - chainNamespace: CHAIN_NAMESPACES.EIP155, - chainId: "0x79a", // hex of 1946 - rpcTarget: "https://rpc.minato.soneium.org", - displayName: "Soneium Minato Testnet", - blockExplorerUrl: "https://explorer-testnet.soneium.org", - ticker: "ETH", - tickerName: "ETH", - logo: "https://cryptologos.cc/logos/soneium-logo.png", - // faucet- "https://bridge.soneium.org/en/testnet" bridge the sepolia ETH to Soneium -}; -``` - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/songbird/flutter.mdx b/docs/connect-blockchain/evm/songbird/flutter.mdx index 64490c504..5ecaa3464 100644 --- a/docs/connect-blockchain/evm/songbird/flutter.mdx +++ b/docs/connect-blockchain/evm/songbird/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, songbird, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Songbird Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,90 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/songbird/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Songbird](https://www.flare.network) to make any blockchain calls, like -getting the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from -and `write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Songbird](https://www.flare.network) to make any blockchain calls. We have highlighted a few here +for getting you started quickly on that. -## Installation - - - -## Chain Details for Songbird - - - - -- Chain ID: 0x13 -- Public RPC URL: https://songbird-api.flare.network/ext/C/rpc (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Songbird canary network -- Block Explorer Link: https://songbird-explorer.flare.network -- Ticker: SGB -- Ticker Name: SGB - - - - - -- Chain ID: 0x10 -- Public RPC URL: https://coston-api.flare.network/ext/C/rpc (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Coston testnet -- Block Explorer Link: https://coston-explorer.flare.network -- Ticker: CFLR -- Ticker Name: CFLR - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/xpla/flutter.mdx b/docs/connect-blockchain/evm/xpla/flutter.mdx index a55bb5aa9..87fcde2df 100644 --- a/docs/connect-blockchain/evm/xpla/flutter.mdx +++ b/docs/connect-blockchain/evm/xpla/flutter.mdx @@ -6,17 +6,7 @@ keywords: [flutter, xpla, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the XPLA Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -28,73 +18,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/xpla/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [XPLA](https://xpla.io/) to make any blockchain calls, like getting the user's -`account`, fetching `balance`, `sign transaction`, `send transaction`, `read` from and `write` to -the smart contract, etc. We have highlighted a few here for getting you started quickly on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[XPLA](https://xpla.io/) to make any blockchain calls. We have highlighted a few here for getting +you started quickly on that. -## Installation - - - -## Chain Details for XPLA - - - - -- Chain ID: 0x25 -- Public RPC URL: https://dimension-evm-rpc.xpla.dev -- Display Name: XPLA Mainnet -- Block Explorer Link: https://explorer.xpla.io -- Ticker: XPLA -- Ticker Name: XPLA - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/zetachain/flutter.mdx b/docs/connect-blockchain/evm/zetachain/flutter.mdx index 11ec1a6e3..f577ed8d1 100644 --- a/docs/connect-blockchain/evm/zetachain/flutter.mdx +++ b/docs/connect-blockchain/evm/zetachain/flutter.mdx @@ -8,17 +8,7 @@ description: "Integrate Web3Auth with the ZetaChain Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -30,69 +20,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/zetachain/flutter" /> -## Installation +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[ZetaChain](https://www.zetachain.com/) to make any blockchain calls. We have highlighted a few here +for getting you started quickly on that. - - -## Chain Details for ZetaChain - - - - - -- Chain ID: 0x1B58 -- Public RPC URL: https://zetachain-mainnet.g.allthatnode.com/archive/evm -- Display Name: ZetaChain Mainnet -- Block Explorer Link: https://zetachain.blockscout.com/ -- Ticker: ZETA -- Ticker Name: ZETA - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/zilliqa/flutter.mdx b/docs/connect-blockchain/evm/zilliqa/flutter.mdx index 370f7db6f..9819e0516 100644 --- a/docs/connect-blockchain/evm/zilliqa/flutter.mdx +++ b/docs/connect-blockchain/evm/zilliqa/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, zilliqa, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Zilliqa Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,75 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/zilliqa/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Zilliqa Blockchain](https://www.zilliqa.com/) to make any blockchain calls, -like getting the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` -from and `write` to the smart contract, etc. We have highlighted a few here to get you started -quickly on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Zilliqa 2.0](https://www.zilliqa.com/) to make any blockchain calls. We have highlighted a few here +for getting you started quickly on that. -## Installation - - - -## Chain Details for Zilliqa - - - - -- Chain ID: 0x814f -- Public RPC URL: https://api.zq2-prototestnet.zilliqa.com (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Zilliqa 2 EVM Testnet -- Block Explorer Link: https://explorer.zq2-prototestnet.zilliqa.com -- Ticker: ZIL -- Ticker Name: Zilliqa - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/docs/connect-blockchain/evm/zircuit/flutter.mdx b/docs/connect-blockchain/evm/zircuit/flutter.mdx index 3da71a3c4..649e7c8bc 100644 --- a/docs/connect-blockchain/evm/zircuit/flutter.mdx +++ b/docs/connect-blockchain/evm/zircuit/flutter.mdx @@ -7,17 +7,7 @@ keywords: [flutter, zircuit, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Zircuit Blockchain in Flutter | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; -import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; -import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; -import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; -import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; -import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; +import EVMInteraction from "@site/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -29,92 +19,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/zircuit/flutter" /> -While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private -key can interact with [Zircuit Blockchain](https://zircuit.com) to make blockchain calls like -getting the user's `account`, fetching `balance`, signing transactions, sending transactions, and -interacting with smart contracts. We have highlighted a few key examples to get you started quickly -on that. +While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Zircuit](https://zircuit.com/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Zircuit - - - - -- Network Name: Zircuit -- Chain ID: 0xBF04 -- Public RPC URL: https://zircuit1-mainnet.p2pify.com/ (Avoid using public rpcTarget in production, - use services like Infura, Quicknode etc) -- Display Name: Zircuit Mainnet -- Block Explorer Link: https://explorer.zircuit.com -- Ticker: ETH -- Ticker Name: ETH - - - - - -- Network Name: Zircuit Testnet -- Chain ID: 0xBF03 -- Public RPC URL: https://zircuit1.p2pify.com/ (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Zircuit Testnet -- Block Explorer Link: https://explorer.testnet.zircuit.com/ -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + diff --git a/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx b/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx index 018fddcd3..b681d3c9c 100644 --- a/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx +++ b/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx @@ -1,16 +1,19 @@ +Since web3dart package doesn't support deploying contracts directly, we'll use the precompiled smart +contract byteCode to deploy the contract using `sendTransaction` method. + ```dart -final prefs = await SharedPreferences.getInstance(); -final privateKey = prefs.getString('privateKey') ?? '0'; -final client = Web3Client(rpcUrl, Client()); -final credential = EthPrivateKey.fromHex(privateKey); +// Use the client, address, and credentials from previous code snippets + +// Use the bytecode from the previous step +final payload = Uint8List.fromList(utf8.encode(byteCode)); -var list = utf8.encode(TestContract.byteCode); -Uint8List payload = Uint8List.fromList(list); -final Transaction transaction = Transaction( +final transaction = Transaction( + // Please make sure to keep the `to` field as `null` + // for deploying the contract to: null, - from: credential.address, + from: address, data: payload, - maxGas: 2000000); -final String transactionId = - await client.sendTransaction(credential, transaction); +); + +final receipt = await client.sendTransaction(credential, transaction); ``` diff --git a/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx b/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx index 51f43fa59..a122e325d 100644 --- a/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx +++ b/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx @@ -1,25 +1,15 @@ +Once user has successfully logged in, you can retrieve the user's private key using the `getPrivKey` +method from Web3AuthFlutter. We'll use this private key to generate the Credentials for the user. + +This Credentials object has the user's key pair of private key and public key, and can be used to +sign the transactions. Please note, that this assumes that the user has already logged in and the +private key is available. + ```dart -// Use codes from Initialization here, -// and replace the `Widget build` from the below code: +import 'package:web3dart/web3dart.dart'; - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: - Column(mainAxisAlignment: MainAxisAlignment.center, children: [ - // Get Account - ElevatedButton( - onPressed: () async { - // focus-start - final credentials = EthPrivateKey.fromHex(privateKey); - final address = credentials.address; - debugPrint("Account, ${address.hexEip55}"); - // focus-end - }, - child: const Text('Get Address'), - ), - ]))); - } +final privateKey = await Web3AuthFlutter.getPrivKey(); +final credentials = EthPrivateKey.fromHex(privateKey); +final address = credentials.address; ``` diff --git a/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx b/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx index 66d5b4a8e..83d04435c 100644 --- a/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx +++ b/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx @@ -1,30 +1,17 @@ +To retrieve the native balance of the user, you can use the `Web3Client` object we created earlier. +It has `getBalance` method which helps to fetch the user's native token balance. + +The result we get from Web3Client is in wei, the smallest value. To convert the value to ether, you +can divide it with 10^18, where 18 denotes the decimals for wei. + +For the simplicity, we'll use a helper function from web3dart package which has the same +implementation + ```dart -// Use codes from Initialization here, -// and replace the `Widget build` from the below code: - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: - Column(mainAxisAlignment: MainAxisAlignment.center, children: [ - // Get Balance - ElevatedButton( - onPressed: () async { - // focus-start - final prefs = await SharedPreferences.getInstance(); - final privateKey = prefs.getString('privateKey') ?? '0'; - final credentials = EthPrivateKey.fromHex(privateKey); - final client = Web3Client(rpcUrl, Client()); - final credentials = EthPrivateKey.fromHex(privateKey); - final address = credentials.address; - final balance = await client.getBalance(address); - debugPrint("Balance, ${balance}"); - // focus-end - }, - child: const Text('Get Balance'), - ), - ]))); - } +// Use the client and address variable from above +final balanceResponse = await client.getBalance(address); +// Convert the balance to ether format, and round off to 4 decimal places. +final balance = balanceResponse.getValueInUnit(EtherUnit.ether).toStringAsFixed(4); ``` diff --git a/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx b/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx index 086895f76..57272a4ed 100644 --- a/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx +++ b/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx @@ -1,58 +1,11 @@ +We'll initialize the `Web3Client` with the RPC URL of the network you want to connect to. This +client allows us to interact with the blockchain. To get the public RPC URL, you can checkout +[chainlist.org](https://chainlist.org/). + ```dart -import 'package:flutter/material.dart'; -// focus-next-line -import 'package:web3auth_flutter/web3auth_flutter.dart'; -import 'package:web3auth_flutter/enums.dart'; -import 'package:web3auth_flutter/input.dart'; -import 'package:web3auth_flutter/output.dart'; -import 'package:http/http.dart'; -// focus-next-line import 'package:web3dart/web3dart.dart'; -import 'package:shared_preferences/shared_preferences.dart'; - -void main() { - runApp(MyApp()); -} - -class MyApp extends StatefulWidget { - @override - _MyAppState createState() => _MyAppState(); -} - -class _MyAppState extends State { - - // focus-next-line - String rpcUrl = ""; // EVM chain RPC URL - - @override - void initState() { - super.initState(); - initPlatformState(); - } - - Future initPlatformState() async { - Uri redirectUrl; - if (Platform.isAndroid) { - redirectUrl = Uri.parse('{SCHEME}://{HOST}/auth'); - // w3a://com.example.w3aflutter/auth - } else if (Platform.isIOS) { - redirectUrl = Uri.parse('{bundleId}://auth'); - // com.example.w3aflutter://openlogin - } else { - throw UnKnownException('Unknown platform'); - } - - // focus-start - await Web3AuthFlutter.init(Web3AuthOptions( - clientId: 'WEB3AUTH_CLIENT_ID_FROM_DASHBOARD', - network: Network.testnet, - redirectUrl: redirectUrl)); - // focus-end - } - @override - Widget build(BuildContext context) { - // Your page - } -} +// Please avoid using public RPC URL in production, use services +// like Infura, Quicknode, etc. +final client = Web3Client("YOUR_RPC_URL", Client()); ``` diff --git a/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx b/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx index 22aa06e29..ec740a193 100644 --- a/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx +++ b/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx @@ -1,9 +1,39 @@ -To interact with the Ethereum blockchain in Flutter, you can use any [`EIP1193`](https://eips.ethereum.org/EIPS/eip-1193) compatible package. Here, -we're using [web3dart](https://pub.dev/packages/web3dart) to demonstrate how to make blockchain calls using it with Web3Auth. +import TabItem from "@theme/TabItem"; +import Tabs from "@theme/Tabs"; -```dart -flutter pub add web3dart shared_preferences +To interact with the Ethereum compatible blockchains in Flutter, you can use any +[`EIP1193`](https://eips.ethereum.org/EIPS/eip-1193) compatible package. Here, we're using +[web3dart](https://pub.dev/packages/web3dart) to demonstrate how to make blockchain calls using it +with Web3Auth. + +To install the `web3dart` package, you have two options. You can either manually add the package in +the `pubspec.yaml` file, or you can use the `flutter pub add` command. + + + + + +Add `web3dart` using `flutter pub add` command. + +```sh +flutter pub add web3dart +``` + + + + + +Add `web3dart` as a dependency to your `pubspec.yaml`. + +```yaml +dependencies: + web3dart: ^2.7.3 ``` -> Note: We will also be using `shared_preferences` package to share `privateKey`, used for making credentials for `web3dart`, at various places in the -> codes below. + + diff --git a/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx b/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx new file mode 100644 index 000000000..c13ef1202 --- /dev/null +++ b/src/common/docs/flutter-connect-blockchain/_evm-interaction.mdx @@ -0,0 +1,56 @@ +import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; +import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; +import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; +import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; +import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; +import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; +import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; +import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; +import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; +import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; + +## Prerequisites + +This doc assumes you have already setup your project in Web3Auth Dashboard, and have integrated +Web3Auth in your Flutter app. If you haven't done that yet, you can learn how to +[integrate Web3Auth in your Flutter app](/docs/sdk/pnp/flutter/). + +## Installation + + + +## Initialize + + + +## Get Account + + + +## Get Balance + + + +## Sign Transaction + + + +## Send Transaction + + + +## Smart Contract Interactions + + + +### Deploy Contract + + + +### Read From Contract + + + +### Write to Contract + + diff --git a/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx b/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx index fc60faec4..67845e8a4 100644 --- a/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx +++ b/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx @@ -1,11 +1,27 @@ +To interact with any smart contract, you need the contract address and the ABI of the contract. The +ABI of the contract helps encode the function name and its parameters. Considering ABI as a outline +of the contract, which provides contract specifications. + +We'll create a `DeployedContract` instance with the contract address and ABI. Once created, we can +use it to call the contract function. To interact with the contract, we'll use the `call` method +form the Web3Client. + +In this sample, we'll read the message from the contract we deployed in the previous step. + ```dart -final client = Web3Client(rpcUrl, Client()); +import 'package:web3dart/web3dart.dart'; +// Use the client, address, contractAbi and credentials from previous code snippets final contract = DeployedContract( - ContractAbi.fromJson(TestContract.contractAbi, ''), - TestContract.deployedAddress); + ContractAbi.fromJson(contractAbi, ''), + "ADDRESS_OF_DEPLOYED_CONTRACT_IN_HEX", +); + final messageFunction = contract.function('message'); -var message = await client.call( -contract: contract, function: messageFunction, params: []); -debugPrint("Contract Read Message, $message"); + +final message = await client.call( + contract: contract, + function: messageFunction, + params: [], +); ``` diff --git a/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx b/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx index 5b671bf0f..0dc018801 100644 --- a/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx +++ b/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx @@ -1,38 +1,22 @@ -```dart -// Use codes from Initialization here, -// and replace the `Widget build` from the below code: +If you wish to sign, and also broadcast the transaction, you can use the +`Web3Client.sendTransaction` method. + +This method prepares the transaction, and signs similar to `signTransaction` method. The only +difference is, it also broadcasts the transaction to the network, and returns the transaction +receipt. - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: - Column(mainAxisAlignment: MainAxisAlignment.center, children: [ - // Send Transaction - ElevatedButton( - onPressed: () async { - final prefs = await SharedPreferences.getInstance(); - final privateKey = prefs.getString('privateKey') ?? '0'; - final client = Web3Client(rpcUrl, Client()); - final credentials = EthPrivateKey.fromHex(privateKey); - final address = credentials.address; - // focus-start - final receipt = await client.sendTransaction( - credentials, - Transaction( - from: address, - to: EthereumAddress.fromHex( - '0x809D4310d578649D8539e718030EE11e603Ee8f3'), - value: EtherAmount.fromUnitAndValue( - EtherUnit.gwei, 50000000), // 0.05 ETH - ), - chainId: 5); // change chainId as per your chain. - debugPrint("Receipt, ${receipt}"); - // focus-end - }, - child: const Text('Send Transaction'), - ), - ]))); - } +```dart +import 'package:web3dart/web3dart.dart'; +// Use client, address, and credentials from previous code snippets +final receipt = await client.sendTransaction( + credentials, + Transaction( + from: address, + to: EthereumAddress.fromHex('0x809D4310d578649D8539e718030EE11e603Ee8f3'), + value: EtherAmount.fromUnitAndValue(EtherUnit.gwei, 50000000), // 0.05 ETH + chainId: null, + fetchChainIdFromNetworkId: true, + ), +); ``` diff --git a/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx b/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx index cf38d4e3e..390d5e6f3 100644 --- a/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx +++ b/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx @@ -1,38 +1,23 @@ -```dart -// Use codes from Initialization here, -// and replace the `Widget build` from the below code: +To sign a transaction, you can use the `Web3Client` object we created earlier. It has +`signTransaction` method which helps to sign the transaction for the given key pair, and chain. + +The method internally handles the nonce, gas price, and gas limit. If you want to manually set the +nonce, gas price, and gas limit, you can override the parameters in the Transaction object. - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: - Column(mainAxisAlignment: MainAxisAlignment.center, children: [ - // Send Transaction - ElevatedButton( - onPressed: () async { - final prefs = await SharedPreferences.getInstance(); - final privateKey = prefs.getString('privateKey') ?? '0'; - final client = Web3Client(rpcUrl, Client()); - final credentials = EthPrivateKey.fromHex(privateKey); - final address = credentials.address; - // focus-start - final receipt = await client.signTransaction( - credentials, - Transaction( - from: address, - to: EthereumAddress.fromHex( - '0x809D4310d578649D8539e718030EE11e603Ee8f3'), - value: EtherAmount.fromUnitAndValue( - EtherUnit.gwei, 50000000), // 0.05 ETH - ), - chainId: 5); // change chainId as per your chain. - debugPrint("Receipt, ${receipt}"); - // focus-end - }, - child: const Text('Sign Transaction'), - ), - ]))); - } +```dart +import 'package:web3dart/web3dart.dart'; +// Use client, address, and credentials from previous code snippets +final signature = await client.signTransaction( + credentials, + Transaction( + from: address, + // Replace with the recipient address + to: EthereumAddress.fromHex('0x809D4310d578649D8539e718030EE11e603Ee8f3'), + // Replace with the amount of ETH to send + value: EtherAmount.fromUnitAndValue(EtherUnit.gwei, 50000000), // 0.05 ETH + chainId: null, + fetchChainIdFromNetworkId: true, + ), +); ``` diff --git a/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx b/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx index 9e9b49295..3187d8f7f 100644 --- a/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx +++ b/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx @@ -1,8 +1,12 @@ -In this example, we'll be demonstrating how to use `Web3Auth` with `web3dart` to interact with Solidity Smart Contracts. The simple Hello World -contract allows anyone to read and write a message to it. +With the web3dart library, apart from doing the normal interactions, and transactions, you can also +deploy and interact with Smart Contracts. -```tsx -pragma solidity ^0.5.10; +Firstly, we'll create a new smart contract using Solidity that allows to store a message and update +it. The contract will have a constructor that takes an initial message as input, and a function to +update the message. + +```sol +pragma solidity ^0.8.20; contract HelloWorld { @@ -18,12 +22,17 @@ contract HelloWorld { } ``` -```tsx -class TestContract { - static final deployedAddress = - EthereumAddress.fromHex("0x1dce94bb358785c2fa27b74551f8aea24d3d0afe"); - static const contractAbi = '[{"constant":false,"inputs":[{"name":"newMessage","type":"string"}],"name":"update","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"message","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"initMessage","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]'; - static const byteCode = +The package don't have a way to compile solidity smart contracts, so we'll need to compile the +contract using an online compiler and get the bytecode and abi from there. For this example we'll +use [Remix IDE](https://remix.ethereum.org/) to compile the contract. + +Please note that the bytecode and abi are different for each network, so you'll need to compile the +contract for the network you want to deploy it to. + +Once compiled, please copy the bytecode and abi for the future usecases. + +```dart +final contractAbi = '[{"constant":false,"inputs":[{"name":"newMessage","type":"string"}],"name":"update","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"message","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"initMessage","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]'; +fina byteCode = "0x608060405234801561001057600080fd5b506040516104623803806104628339818101604052602081101561003357600080fd5b81019080805164010000000081111561004b57600080fd5b8281019050602081018481111561006157600080fd5b815185600182028301116401000000008211171561007e57600080fd5b5050929190505050806000908051906020019061009c9291906100a3565b5050610148565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100e457805160ff1916838001178555610112565b82800160010185558215610112579182015b828111156101115782518255916020019190600101906100f6565b5b50905061011f9190610123565b5090565b61014591905b80821115610141576000816000905550600101610129565b5090565b90565b61030b806101576000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80633d7403a31461003b578063e21f37ce146100f6575b600080fd5b6100f46004803603602081101561005157600080fd5b810190808035906020019064010000000081111561006e57600080fd5b82018360208201111561008057600080fd5b803590602001918460018302840111640100000000831117156100a257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610179565b005b6100fe610193565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561013e578082015181840152602081019050610123565b50505050905090810190601f16801561016b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b806000908051906020019061018f929190610231565b5050565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102295780601f106101fe57610100808354040283529160200191610229565b820191906000526020600020905b81548152906001019060200180831161020c57829003601f168201915b505050505081565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061027257805160ff19168380011785556102a0565b828001600101855582156102a0579182015b8281111561029f578251825591602001919060010190610284565b5b5090506102ad91906102b1565b5090565b6102d391905b808211156102cf5760008160009055506001016102b7565b5090565b9056fea265627a7a72305820a58716d2c2342b3cc5028e49842810b98f5c3f2c1591e8c7f3ec916096f6a03264736f6c634300050a0032"; -} ``` diff --git a/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx b/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx deleted file mode 100644 index 39c1dfdcf..000000000 --- a/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx +++ /dev/null @@ -1,35 +0,0 @@ -You get the user information after a successful login returned from the `login` method. The -`userInfo` object contains the user information, whereas the `privKey` object contains the private -key that can be used to make blockchain calls. - -```dart -// Use codes from Initialization here, -// and replace the `Widget build` from the below code: - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: - Column(mainAxisAlignment: MainAxisAlignment.center, children: [ - // Get Account - ElevatedButton( - onPressed: () async { - // focus-start - // Upon ligin, gets the UserInfo along with priavteKey. - final response = await Web3AuthFlutter.login( - LoginParams(loginProvider: Provider.google) - ); - debugPrint("UserInfo, ${response?.userinfo?.toString()}"); - // focus-end - final prefs = await SharedPreferences.getInstance(); - // focus-next-line - await prefs.setString('privateKey', response?.privKey.toString()); - // Setting the privateKey to shared_preferences - }, - child: const Text('Login'), - ), - ]))); - } - -``` diff --git a/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx b/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx index 1cd02d222..b375b6b04 100644 --- a/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx +++ b/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx @@ -1,18 +1,21 @@ -```dart -final prefs = await SharedPreferences.getInstance(); -final privateKey = prefs.getString('privateKey') ?? '0'; -final client = Web3Client(rpcUrl, Client()); -final credential = EthPrivateKey.fromHex(privateKey); +Similary, you can write to the contract using the `sendTransaction` method of Web3Client. In this +sample, we'll update the message in the contract we deployed previously. +```dart +import 'package:web3dart/web3dart.dart'; +// Use the client, address, contractAbi and credentials from previous code snippets final contract = DeployedContract( - ContractAbi.fromJson(TestContract.contractAbi, ''), - TestContract.deployedAddress); + ContractAbi.fromJson(contractAbi, ''), + "ADDRESS_OF_DEPLOYED_CONTRACT_IN_HEX", +); + final updateFunction = contract.function('update'); -var transactionId = await client.sendTransaction( - credential, +final receipt = await client.sendTransaction( + credentials, Transaction.callContract( contract: contract, function: updateFunction, - parameters: ["NEW_MESSAGE"])); -debugPrint("Transaction Id, $transactionId"); + parameters: ["YOUR_NEW_MESSAGE"] + ) +); ``` diff --git a/src/common/docs/ios-connect-blockchain/_evm-installation.mdx b/src/common/docs/ios-connect-blockchain/_evm-installation.mdx index d848aef6e..024910b34 100644 --- a/src/common/docs/ios-connect-blockchain/_evm-installation.mdx +++ b/src/common/docs/ios-connect-blockchain/_evm-installation.mdx @@ -1,10 +1,11 @@ -To interact with the Ethereum blockchain in iOS Swift environment, we will be using the [web3swift](https://github.com/argentlabs/web3.swift) package. +To interact with the Ethereum blockchain in iOS Swift environment, we will be using the +[web3swift](https://github.com/argentlabs/web3.swift) package. ### CocoaPods Add web3.swift to your `Podfile`: -```ruby +```bash pod 'web3.swift' ``` @@ -22,6 +23,7 @@ import web3 :::info -Here are a few [sample apps](/examples?product=Plug+and+Play&sdk=Plug+and+Play+iOS+SDK) which you can checkout to get started with the integration. +Here are a few [sample apps](/examples?product=Plug+and+Play&sdk=Plug+and+Play+iOS+SDK) which you +can checkout to get started with the integration. ::: From 9296ea2bdc7802565a1c01c661312a9e688afacc Mon Sep 17 00:00:00 2001 From: AyushBherwani1998 Date: Wed, 16 Oct 2024 22:44:20 +0530 Subject: [PATCH 2/3] improve iOS EVM docs --- docs/connect-blockchain/evm/ethereum/ios.mdx | 82 +------ docs/connect-blockchain/evm/fhenix/ios.mdx | 63 +----- docs/connect-blockchain/evm/flare/ios.mdx | 83 +------- docs/connect-blockchain/evm/harmony/ios.mdx | 83 +------- docs/connect-blockchain/evm/hedera/ios.mdx | 90 +------- docs/connect-blockchain/evm/kinto/ios.mdx | 77 +------ docs/connect-blockchain/evm/klaytn/ios.mdx | 85 +------- docs/connect-blockchain/evm/linea/ios.mdx | 85 +------- docs/connect-blockchain/evm/manta/ios.mdx | 85 +------- docs/connect-blockchain/evm/metis/ios.mdx | 85 +------- docs/connect-blockchain/evm/mint/ios.mdx | 84 +------- docs/connect-blockchain/evm/moonbeam/ios.mdx | 85 +------- docs/connect-blockchain/evm/moonriver/ios.mdx | 85 +------- docs/connect-blockchain/evm/morph/ios.mdx | 77 +------ docs/connect-blockchain/evm/neon/ios.mdx | 84 +------- docs/connect-blockchain/evm/nibiru/ios.mdx | 84 +------- docs/connect-blockchain/evm/opbnb/flutter.mdx | 4 +- docs/connect-blockchain/evm/opbnb/ios.mdx | 87 +------- docs/connect-blockchain/evm/optimism/ios.mdx | 85 +------- docs/connect-blockchain/evm/polygon/ios.mdx | 85 +------- docs/connect-blockchain/evm/rootstock/ios.mdx | 77 +------ docs/connect-blockchain/evm/saakuru/ios.mdx | 63 +----- docs/connect-blockchain/evm/shardeum/ios.mdx | 64 +----- docs/connect-blockchain/evm/skale/ios.mdx | 201 +----------------- docs/connect-blockchain/evm/soneium/ios.mdx | 104 +-------- docs/connect-blockchain/evm/songbird/ios.mdx | 85 +------- docs/connect-blockchain/evm/xpla/ios.mdx | 68 +----- docs/connect-blockchain/evm/zetachain/ios.mdx | 64 +----- docs/connect-blockchain/evm/zilliqa/ios.mdx | 70 +----- docs/connect-blockchain/evm/zircuit/ios.mdx | 85 +------- .../_evm-get-account.mdx | 38 +++- .../_evm-get-balance.mdx | 28 ++- .../_evm-initialisation.mdx | 19 +- .../_evm-installation.mdx | 56 +++-- .../_evm-interaction.mdx | 36 ++++ .../_evm-send-transaction.mdx | 113 +++++----- .../_evm-sign-message.mdx | 15 +- 37 files changed, 392 insertions(+), 2372 deletions(-) create mode 100644 src/common/docs/ios-connect-blockchain/_evm-interaction.mdx diff --git a/docs/connect-blockchain/evm/ethereum/ios.mdx b/docs/connect-blockchain/evm/ethereum/ios.mdx index f3703c633..2c42617c8 100644 --- a/docs/connect-blockchain/evm/ethereum/ios.mdx +++ b/docs/connect-blockchain/evm/ethereum/ios.mdx @@ -9,13 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -27,73 +21,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/ethereum/ios" /> -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [Ethereum](https://ethereum.org/) to make any blockchain calls, like getting -user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from and `write` -to the smart contract, etc. We have highlighted a few here for getting you started quickly on that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Ethereum](https://ethereum.org/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Ethereum - - - - -- Chain ID: 0x1 -- Public RPC URL: https://rpc.ankr.com/eth (Avoid using public rpcTarget in production, use services - like Infura, Quicknode etc) -- Display Name: Ethereum Mainnet -- Block Explorer Link: https://etherscan.io -- Ticker: ETH -- Ticker Name: Ethereum - - - - - -- Chain ID: 0xaa36a7 -- Public RPC URL: https://rpc.ankr.com/eth_sepolia (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Ethereum Sepolia Testnet -- Block Explorer Link: https://sepolia.etherscan.io -- Ticker: ETH -- Ticker Name: Sepolia - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/fhenix/ios.mdx b/docs/connect-blockchain/evm/fhenix/ios.mdx index 949022a19..b593fba6f 100644 --- a/docs/connect-blockchain/evm/fhenix/ios.mdx +++ b/docs/connect-blockchain/evm/fhenix/ios.mdx @@ -9,14 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -27,53 +20,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/fhenix/ios" /> -## Installation +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Fhenix](https://fhenix.io/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Fhenix - - - - - -- Chain ID: 0x7a31c7 -- Public RPC URL: https://api.helium.fhenix.zone -- Display Name: Fhenix Helium -- Block Explorer Link: https://explorer.helium.fhenix.zone -- Ticker: tFHE -- Ticker Name: tFHE - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/flare/ios.mdx b/docs/connect-blockchain/evm/flare/ios.mdx index bfafb5dc5..7089bc2b5 100644 --- a/docs/connect-blockchain/evm/flare/ios.mdx +++ b/docs/connect-blockchain/evm/flare/ios.mdx @@ -8,13 +8,7 @@ description: "Integrate Web3Auth with the Flare Blockchain in iOS/Swift Applications | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -26,74 +20,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/flare/ios" /> -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [Flare](https://www.flare.network) to make any blockchain calls, like getting the -user's `account`, fetching `balance`, `sign transaction`, `send transaction`, `read` from and -`write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Flare](https://flare.network/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Flare - - - - -- Chain ID: 0xE -- Public RPC URL: https://flare-api.flare.network/ext/C/rpc (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Flare Mainnet -- Block Explorer Link: https://flare-explorer.flare.network -- Ticker: FLR -- Ticker Name: FLR - - - - - -- Chain ID: 0x72 -- Public RPC URL: https://coston2-api.flare.network/ext/C/rpc (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Coston2 testnet -- Block Explorer Link: https://coston2-explorer.flare.network -- Ticker: C2FLR -- Ticker Name: C2FLR - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/harmony/ios.mdx b/docs/connect-blockchain/evm/harmony/ios.mdx index 1c937d6da..84b670c82 100644 --- a/docs/connect-blockchain/evm/harmony/ios.mdx +++ b/docs/connect-blockchain/evm/harmony/ios.mdx @@ -9,13 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import Tabs from "@theme/Tabs"; import TabItem from "@theme/TabItem"; import SEO from "@site/src/components/SEO"; @@ -27,74 +21,9 @@ import SEO from "@site/src/components/SEO"; slug="/connect-blockchain/evm/harmony/ios" /> -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [Harmony](https://www.harmony.one/) to make any blockchain calls, like getting the -user's `account`, fetching `balance`, `sign transaction`, `send transaction`, `read` from and -`write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Harmony](https://www.harmony.one/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Harmony - - - - -- Chain ID: 0x63564c40 -- Public RPC URL: https://rpc.ankr.com/harmony (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Harmony Mainnet -- Block Explorer Link: https://explorer.harmony.one -- Ticker: ONE -- Ticker Name: ONE - - - - - -- Chain ID: 0x6357d2e0 -- Public RPC URL: https://api.s0.b.hmny.io (Avoid using public rpcTarget in production, use services - like Infura, Quicknode etc) -- Display Name: Harmony Testnet -- Block Explorer Link: https://explorer.testnet.harmony.one -- Ticker: ONE -- Ticker Name: ONE - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/hedera/ios.mdx b/docs/connect-blockchain/evm/hedera/ios.mdx index 21ddd5027..1fc6126cc 100644 --- a/docs/connect-blockchain/evm/hedera/ios.mdx +++ b/docs/connect-blockchain/evm/hedera/ios.mdx @@ -9,15 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -## Installation +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Hedera](https://www.hedera.com/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Hedera - - - - - -- Chain ID: 0x127 -- Public RPC URL: https://mainnet.hashio.io/api -- Display Name: Hedera Mainnet -- Block Explorer Link: https://hashscan.io/mainnet/ -- Ticker: HBAR -- Ticker Name: HBAR - - - - -- Chain ID: 0x128 -- Public RPC URL: https://testnet.hashio.io/api -- Display Name: Hedera Testnet -- Block Explorer Link: https://hashscan.io/testnet/ -- Ticker: HBAR -- Ticker Name: HBAR - - - - -- Chain ID: 0x129 -- Public RPC URL: https://previewnet.hashio.io/api -- Display Name: Hedera Previewnet -- Block Explorer Link: https://hashscan.io/previewnet/ -- Ticker: HBAR -- Ticker Name: HBAR - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/kinto/ios.mdx b/docs/connect-blockchain/evm/kinto/ios.mdx index 23944393a..744fbe06d 100644 --- a/docs/connect-blockchain/evm/kinto/ios.mdx +++ b/docs/connect-blockchain/evm/kinto/ios.mdx @@ -8,15 +8,7 @@ description: "Integrate Web3Auth with the Kinto Blockchain in iOS/Swift Applications | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -## Installation +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Kinto](https://www.kinto.xyz/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Kinto - - - - - -- Chain ID: 0x1ecf -- Public RPC URL: https://rpc.kinto.xyz/http -- Display Name: Kinto Mainnet -- Block Explorer Link: https://explorer.kinto.xyz -- Ticker: ETH -- Ticker Name: ETH - - - - -- Chain ID: 0xa788 -- Public RPC URL: http://35.215.120.180:8545 -- Display Name: Kinto Testnet -- Block Explorer Link: https://explorer.kinto.xyz -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/klaytn/ios.mdx b/docs/connect-blockchain/evm/klaytn/ios.mdx index b1f203191..3fa079253 100644 --- a/docs/connect-blockchain/evm/klaytn/ios.mdx +++ b/docs/connect-blockchain/evm/klaytn/ios.mdx @@ -9,15 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [Klaytn](https://klaytn.foundation) to make any blockchain calls, like getting the -user's `account`, fetching `balance`, `sign transaction`, `send transaction`, `read` from and -`write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Klaytn](https://www.klaytn.foundation/) to make any blockchain calls. We have highlighted a few +here for getting you started quickly on that. -## Installation - - - -## Chain Details for Klaytn - - - - -- Chain ID: 0x2019 -- Public RPC URL: `https://public-node-api.klaytnapi.com/v1/cypress` (Avoid using public rpcTarget - in production, use services like Infura, Quicknode etc) -- Display Name: Klaytn Mainnet -- Block Explorer Link: https://scope.klaytn.com -- Ticker: KLAY -- Ticker Name: KLAY - - - - - -- Chain ID: 0x3e9 -- Public RPC URL: https://api.baobab.klaytn.net:8651 (Avoid using public rpcTarget in production, - use services like Infura, Quicknode etc) -- Display Name: Klaytn Testnet -- Block Explorer Link: https://baobab.scope.klaytn.com -- Ticker: KLAY -- Ticker Name: KLAY - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/linea/ios.mdx b/docs/connect-blockchain/evm/linea/ios.mdx index f1de11afc..fdbb3630b 100644 --- a/docs/connect-blockchain/evm/linea/ios.mdx +++ b/docs/connect-blockchain/evm/linea/ios.mdx @@ -8,15 +8,7 @@ description: "Integrate Web3Auth with the Linea Blockchain in iOS/Swift Applications | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [Linea](https://linea.build/) to make any blockchain calls, like getting the -user's `account`, fetching `balance`, `sign transaction`, `send transaction`, `read` from and -`write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Linea](https://linea.build/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Linea - - - - -- Chain ID: 0xe708 -- Public RPC URL: https://rpc.linea.build (Avoid using public rpcTarget in production, use services - like Infura, Quicknode etc) -- Display Name: Linea Mainnet -- Block Explorer Link: https://lineascan.build/ -- Ticker: ETH -- Ticker Name: ETH - - - - - -- Chain ID: 0xe705 -- Public RPC URL: https://rpc.sepolia.linea.build (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Linea Sepolia Testnet -- Block Explorer Link: https://sepolia.lineascan.build/ -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/manta/ios.mdx b/docs/connect-blockchain/evm/manta/ios.mdx index 5b396843f..c20759fb8 100644 --- a/docs/connect-blockchain/evm/manta/ios.mdx +++ b/docs/connect-blockchain/evm/manta/ios.mdx @@ -8,15 +8,7 @@ description: "Integrate Web3Auth with the Manta Blockchain in iOS/Swift Applications | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [Manta Blockchain](https://manta.network/) to make any blockchain calls, like -getting the user's `account`, fetching `balance`, `sign transaction`, `send transaction`, `read` -from and `write` to the smart contract, etc. We have highlighted a few here to get you started -quickly on that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Manta Blockchain](https://www.manta.network/) to make any blockchain calls. We have highlighted a +few here for getting you started quickly on that. -## Installation - - - -## Chain Details for Manta - - - - -- Chain ID: 0xA9 -- Public RPC URL: https://pacific-rpc.manta.network/http (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Manta Pacific Mainnet -- Block Explorer Link: https://pacific-explorer.manta.network -- Ticker: ETH -- Ticker Name: ETH - - - - - -- Chain ID: 0x34816E -- Public RPC URL: https://pacific-rpc.sepolia-testnet.manta.network/http (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: Manta Pacific Sepolia Testnet -- Block Explorer Link: https://pacific-explorer.sepolia-testnet.manta.network -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/metis/ios.mdx b/docs/connect-blockchain/evm/metis/ios.mdx index 40c3a130d..3b6fa69e3 100644 --- a/docs/connect-blockchain/evm/metis/ios.mdx +++ b/docs/connect-blockchain/evm/metis/ios.mdx @@ -8,15 +8,7 @@ description: "Integrate Web3Auth with the Metis Blockchain in iOS/Swift Applications | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [Metis Blockchain](https://metis.io) to make any blockchain calls, like getting -the user's `account`, fetching `balance`, signing transactions, sending transactions, and -interacting with smart contracts. We have highlighted a few examples to get you started quickly on -that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Metis Blockchain](https://metis.io) to make any blockchain calls. We have highlighted a few here +for getting you started quickly on that. -## Installation - - - -## Chain Details for Metis - - - - -- Chain ID: 0x440 -- Public RPC URL: https://andromeda.metis.io/?owner=1088 (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Andromeda Mainnet -- Block Explorer Link: https://andromeda-explorer.metis.io -- Ticker: METIS -- Ticker Name: Metis - - - - - -- Chain ID: 0xEA6E -- Public RPC URL: https://sepolia.metisdevops.link (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Sepolia Testnet -- Block Explorer Link: https://sepolia-explorer.metisdevops.link/ -- Ticker: tMetis -- Ticker Name: tMetis - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/mint/ios.mdx b/docs/connect-blockchain/evm/mint/ios.mdx index 75b1c5d31..dc32e9707 100644 --- a/docs/connect-blockchain/evm/mint/ios.mdx +++ b/docs/connect-blockchain/evm/mint/ios.mdx @@ -8,15 +8,7 @@ description: "Integrate Web3Auth with the Mint Blockchain in iOS/Swift Applications | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [Mint Blockchain](https://mintscan.org/) to make any blockchain calls, like -getting the user's `account`, fetching `balance`, signing transactions, sending transactions, and -interacting with smart contracts. We have highlighted a few examples to get you started quickly. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Mint Blockchain](https://mintscan.org/) to make any blockchain calls. We have highlighted a few +here for getting you started quickly on that. -## Installation - - - -## Chain Details for Mint - - - - -- Chain ID: 0xB9 -- Public RPC URL: https://rpc.mintchain.io (Avoid using public rpcTarget in production, use services - like Infura, Quicknode etc.) -- Display Name: Mint Mainnet -- Block Explorer Link: https://explorer.mintchain.io -- Ticker: ETH -- Ticker Name: ETH - - - - - -- Chain ID: 0x697 -- Public RPC URL: https://sepolia-testnet-rpc.mintchain.io (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc.) -- Display Name: Mint Sepolia Testnet -- Block Explorer Link: https://sepolia-testnet-explorer.mintchain.io -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/moonbeam/ios.mdx b/docs/connect-blockchain/evm/moonbeam/ios.mdx index e1fe57822..c695405ff 100644 --- a/docs/connect-blockchain/evm/moonbeam/ios.mdx +++ b/docs/connect-blockchain/evm/moonbeam/ios.mdx @@ -9,15 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [Moonbeam](https://moonbeam.network/networks/moonbeam/) to make any blockchain -calls, like getting the user's `account`, fetching `balance`, `sign transaction`, -`send transaction`, `read` from and `write` to the smart contract, etc. We have highlighted a few -here to get you started quickly on that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Moonbeam](https://moonbeam.network/) to make any blockchain calls. We have highlighted a few here +for getting you started quickly on that. -## Installation - - - -## Chain Details for Moonbeam - - - - -- Chain ID: 0x504 -- Public RPC URL: https://rpc.ankr.com/moonbeam (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Moonbeam Mainnet -- Block Explorer Link: https://moonbeam.moonscan.io -- Ticker: GLMR -- Ticker Name: GLMR - - - - - -- Chain ID: 0x507 -- Public RPC URL: https://rpc.ankr.com/moonbeam (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Moonbeam Testnet -- Block Explorer Link: https://moonbase.moonscan.io -- Ticker: GLMR -- Ticker Name: GLMR - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/moonriver/ios.mdx b/docs/connect-blockchain/evm/moonriver/ios.mdx index 8c0618ea9..7d807b0af 100644 --- a/docs/connect-blockchain/evm/moonriver/ios.mdx +++ b/docs/connect-blockchain/evm/moonriver/ios.mdx @@ -9,15 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [Moonriver](https://moonbeam.network/networks/moonriver/) to make any blockchain -calls, like getting the user's `account`, fetching `balance`, `sign transaction`, -`send transaction`, `read` from and `write` to the smart contract, etc. We have highlighted a few -here to get you started quickly on that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Moonriver](https://moonbeam.network/networks/moonriver/) to make any blockchain calls. We have +highlighted a few here for getting you started quickly on that. -## Installation - - - -## Chain Details for Moonriver - - - - -- Chain ID: 0x505 -- Public RPC URL: `https://rpc.api.moonriver.moonbeam.network` (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Moonriver Mainnet -- Block Explorer Link: https://moonriver.moonscan.io -- Ticker: MOVR -- Ticker Name: MOVR - - - - - -- Chain ID: 0x507 -- Public RPC URL: `https://rpc.api.moonriver.moonbeam.network` (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Moonriver Testnet -- Block Explorer Link: https://moonriver.moonscan.io -- Ticker: MOVR -- Ticker Name: MOVR - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/morph/ios.mdx b/docs/connect-blockchain/evm/morph/ios.mdx index dba824925..4b6559ef6 100644 --- a/docs/connect-blockchain/evm/morph/ios.mdx +++ b/docs/connect-blockchain/evm/morph/ios.mdx @@ -8,15 +8,7 @@ description: "Integrate Web3Auth with the Morph Blockchain in iOS/Swift Applications | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -## Installation +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Morph](https://www.morphl2.io/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Morph - - - - - -- Chain ID: 0xa96 -- Public RPC URL: https://rpc-testnet.morphl2.io -- Display Name: Morph Testnet -- Block Explorer Link: https://explorer-testnet.morphl2.io/ -- Ticker: ETH -- Ticker Name: ETH - - - - -- Chain ID: 0xafa -- Public RPC URL: https://rpc-holesky.morphl2.io -- Display Name: Morph Holesky -- Block Explorer Link: https://explorer-holesky.morphl2.io/ -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/neon/ios.mdx b/docs/connect-blockchain/evm/neon/ios.mdx index 7d400be85..6b4d6a1e1 100644 --- a/docs/connect-blockchain/evm/neon/ios.mdx +++ b/docs/connect-blockchain/evm/neon/ios.mdx @@ -8,15 +8,7 @@ description: "Integrate Web3Auth with the Neon Blockchain in iOS/Swift Applications | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [Neon](https://neonevm.org/) to make any blockchain calls, like getting the user's -`account`, fetching `balance`, `sign transaction`, `send transaction`, `read` from and `write` to -the smart contract, etc. We have highlighted a few here to get you started quickly on that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Neon](https://neonevm.org/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Neon - - - - -- Chain ID: 0xe9ac0d6 -- Public RPC URL: https://neon-proxy-mainnet.solana.p2p.org (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Neon Mainnet -- Block Explorer Link: https://neonscan.org/ -- Ticker: NEON -- Ticker Name: NEON - - - - - -- Chain ID: 0xe9ac0d6 -- Public RPC URL: https://devnet.neonevm.org (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Neon Testnet -- Block Explorer Link: https://devnet.neonscan.org/ -- Ticker: NEON -- Ticker Name: NEON - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/nibiru/ios.mdx b/docs/connect-blockchain/evm/nibiru/ios.mdx index 8c6560733..3eda7854d 100644 --- a/docs/connect-blockchain/evm/nibiru/ios.mdx +++ b/docs/connect-blockchain/evm/nibiru/ios.mdx @@ -9,15 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [Nibiru](https://nibiru.fi/) to make any blockchain calls, like getting the user's -`account`, fetching `balance`, `sign transaction`, `send transaction`, `read` from and `write` to -the smart contract, etc. We have highlighted a few here for getting you started quickly on that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Nibiru](https://www.nibiru.fi/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Nibiru - -:::note - -Nibiru is EVM compatible only for localnet for now. Kindly refer to the -[Nibiru documentation](https://nibiru.fi/docs/dev/evm/) and -[Nibiru Networks](https://nibiru.fi/docs/dev/networks/#evm-network-configs) for the latest updates -and EVM-related configs. - -::: - -:::info - -For Nibiru, the steps for creating a local block explorer are mentioned -[here](https://nibiru.fi/docs/dev/evm/quickstart.html#_4-local-explorer-optional). - -::: - - - - -- Chain ID: 0x100 -- Public RPC URL: http://127.0.0.1:8545 -- Display Name: Nibiru Localnet -- Block Explorer Link: (See the info placard above) -- Ticker: NIBI -- Ticker Name: Nibiru - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/opbnb/flutter.mdx b/docs/connect-blockchain/evm/opbnb/flutter.mdx index 233ace7ef..9b0af5fdb 100644 --- a/docs/connect-blockchain/evm/opbnb/flutter.mdx +++ b/docs/connect-blockchain/evm/opbnb/flutter.mdx @@ -22,7 +22,7 @@ import SEO from "@site/src/components/SEO"; While using the Web3Auth Flutter SDK, you get the private key within the user scope after successful authorization. This private key can be used to retrieve the user's address, and interact with -[opBNB](https://astar.network/) to make any blockchain calls. We have highlighted a few here for -getting you started quickly on that. +[opBNB](https://opbnb.bnbchain.org/) to make any blockchain calls. We have highlighted a few here +for getting you started quickly on that. diff --git a/docs/connect-blockchain/evm/opbnb/ios.mdx b/docs/connect-blockchain/evm/opbnb/ios.mdx index d881cc6ea..c7afab16a 100644 --- a/docs/connect-blockchain/evm/opbnb/ios.mdx +++ b/docs/connect-blockchain/evm/opbnb/ios.mdx @@ -9,15 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [opBNB](https://astar.network/) to make any blockchain calls, like getting the -user's `account`, fetching `balance`, `sign transaction`, `send transaction`, `read` from and -`write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[opBNB](https://opbnb.bnbchain.org/) to make any blockchain calls. We have highlighted a few here +for getting you started quickly on that. -## Installation - - - -## Chain Details for opBNB - - - - - -- Chain ID: 0xCC -- Public RPC URL: `https://opbnb-mainnet-rpc.bnbchain.org` (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: opBNB Mainnet -- Block Explorer Link: https://opbnbscan.com -- Ticker: BNB -- Ticker Name: opBNB - - - - - -- Chain ID: 0x15EB -- Public RPC URL: https://opbnb-testnet-rpc.bnbchain.org/ (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: opBNB Testnet -- Block Explorer Link: https://testnet.opbnbscan.com -- Ticker: tBNB -- Ticker Name: opBNB - - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/optimism/ios.mdx b/docs/connect-blockchain/evm/optimism/ios.mdx index e95739ccb..8fadef6f4 100644 --- a/docs/connect-blockchain/evm/optimism/ios.mdx +++ b/docs/connect-blockchain/evm/optimism/ios.mdx @@ -9,15 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [Optimism](https://optimism.io/) to make any blockchain calls, like getting the -user's `account`, fetching `balance`, `sign transaction`, `send transaction`, `read` from and -`write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Optimism](https://optimism.io/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Optimism - - - - -- Chain ID: 0xA -- Public RPC URL: https://rpc.ankr.com/optimism (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Optimism Mainnet -- Block Explorer Link: https://optimistic.etherscan.io -- Ticker: OP -- Ticker Name: OP - - - - - -- Chain ID: 0x45 -- Public RPC URL: https://rpc.ankr.com/optimism_testnet (Avoid using public rpcTarget in production, - use services like Infura, Quicknode etc) -- Display Name: Optimism Testnet -- Block Explorer Link: `https://kovan-optimistic.etherscan.io` -- Ticker: OP -- Ticker Name: OP - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/polygon/ios.mdx b/docs/connect-blockchain/evm/polygon/ios.mdx index 7104c553c..f19025fe7 100644 --- a/docs/connect-blockchain/evm/polygon/ios.mdx +++ b/docs/connect-blockchain/evm/polygon/ios.mdx @@ -9,15 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [Polygon (formerly Matic)](https://polygon.technology/) to make any blockchain -calls, like getting the user's `account`, fetching `balance`, `sign transaction`, -`send transaction`, `read` from and `write` to the smart contract, etc. We have highlighted a few -here to get you started quickly on that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Polygon](https://polygon.technology/) to make any blockchain calls. We have highlighted a few here +for getting you started quickly on that. -## Installation - - - -## Chain Details for Polygon - - - - -- Chain ID: 0x89 -- Public RPC URL: https://rpc.ankr.com/polygon (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Polygon Mainnet -- Block Explorer Link: https://polygonscan.com -- Ticker: POL -- Ticker Name: Polygon Ecosystem Token - - - - - -- Chain ID: 0x13882 -- Public RPC URL: https://rpc.ankr.com/polygon_amoy (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Polygon Amoy Testnet -- Block Explorer Link: https://amoy.polygonscan.com -- Ticker: POL -- Ticker Name: Polygon Ecosystem Token - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/rootstock/ios.mdx b/docs/connect-blockchain/evm/rootstock/ios.mdx index 011c7ed09..468907a9b 100644 --- a/docs/connect-blockchain/evm/rootstock/ios.mdx +++ b/docs/connect-blockchain/evm/rootstock/ios.mdx @@ -9,15 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -## Installation +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Rootstock](https://rootstock.io/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Rootstock - - - - - -- Chain ID: 0x1e -- Public RPC URL: https://rootstock.drpc.org -- Display Name: Rootstock Mainnet -- Block Explorer Link: https://explorer.rootstock.io -- Ticker: RBTC -- Ticker Name: RBTC - - - - -- Chain ID: 0x1f -- Public RPC URL: https://public-node.testnet.rsk.co -- Display Name: Rootstock Testnet -- Block Explorer Link: https://explorer.testnet.rootstock.io -- Ticker: tRBTC -- Ticker Name: tRBTC - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/saakuru/ios.mdx b/docs/connect-blockchain/evm/saakuru/ios.mdx index 0b2569b0a..d7c258f49 100644 --- a/docs/connect-blockchain/evm/saakuru/ios.mdx +++ b/docs/connect-blockchain/evm/saakuru/ios.mdx @@ -9,15 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -## Installation +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Saakuru](https://saakuru.com/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Saakuru - - - - -- Chain ID: 0x6E23D6 -- Public RPC URL: https://rpc.saakuru.network -- Display Name: Saakuru Mainnet -- Block Explorer Link: https://explorer.saakuru.network/ -- Ticker: OAS -- Ticker Name: Saakuru - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/shardeum/ios.mdx b/docs/connect-blockchain/evm/shardeum/ios.mdx index 21be15121..e1a96d30e 100644 --- a/docs/connect-blockchain/evm/shardeum/ios.mdx +++ b/docs/connect-blockchain/evm/shardeum/ios.mdx @@ -9,15 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -## Installation +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Shardeum](https://shardeum.org/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Shardeum - - - - - -- Chain ID: 0x1F92 -- Public RPC URL: https://atomium.shardeum.org -- Display Name: Shardeum Atomium -- Block Explorer Link: https://explorer-atomium.shardeum.org/ -- Ticker: SHM -- Ticker Name: SHM - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/skale/ios.mdx b/docs/connect-blockchain/evm/skale/ios.mdx index 0c2c3fe41..9bba075b8 100644 --- a/docs/connect-blockchain/evm/skale/ios.mdx +++ b/docs/connect-blockchain/evm/skale/ios.mdx @@ -8,15 +8,7 @@ description: "Integrate Web3Auth with the Skale Blockchain in iOS/Swift Applications | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [SKALE](https://skale.space/) to make any blockchain calls, like getting the -user's `account`, fetching `balance`, `sign transaction`, `send transaction`, `read` from and -`write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Skale](https://skale.space/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Skale - -### Getting the `chainConfig` for Europa Hub - - - - -- Chain ID: 0x79f99296 -- Public RPC URL: https://mainnet.skalenodes.com/v1/elated-tan-skat (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: SKALE Europa Hub Mainnet -- Block Explorer Link: https://elated-tan-skat.explorer.mainnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - - -- Chain ID: 0x561bf78b -- Public RPC URL: https://testnet.skalenodes.com/v1/juicy-low-small-testnet (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Europa Hub Testnet -- Block Explorer Link: https://juicy-low-small-testnet.explorer.testnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - -### Getting the `chainConfig` for Calypso Hub - - - - -- Chain ID: 0x5d456c62 -- Public RPC URL: https://mainnet.skalenodes.com/v1/honorable-steel-rasalhague (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Calypso Hub Mainnet -- Block Explorer Link: https://honorable-steel-rasalhague.explorer.mainnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - - -- Chain ID: 0x3a14269b -- Public RPC URL: https://testnet.skalenodes.com/v1/giant-half-dual-testnet (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Calypso Hub Testnet -- Block Explorer Link: https://giant-half-dual-testnet.explorer.testnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - -### Getting the `chainConfig` for Nebula Gaming Hub - - - - -- Chain ID: 0x585eb4b1 -- Public RPC URL: https://mainnet.skalenodes.com/v1/green-giddy-denebola (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Nebula Gaming Hub Mainnet -- Block Explorer Link: https://green-giddy-denebola.explorer.mainnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - - -- Chain ID: 0x0235ddd0 -- Public RPC URL: https://testnet.skalenodes.com/v1/lanky-ill-funny-testnet (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Nebula Gaming Hub Testnet -- Block Explorer Link: https://lanky-ill-funny-testnet.explorer.testnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - -### Getting the `chainConfig` for Titan Hub - - - - -- Chain ID: 0x507aaa2a -- Public RPC URL: https://mainnet.skalenodes.com/v1/parallel-stormy-spica (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Titan Hub Mainnet -- Block Explorer Link: https://parallel-stormy-spica.explorer.mainnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - - -- Chain ID: 0x3cd156dc -- Public RPC URL: https://testnet.skalenodes.com/v1/aware-fake-trim-testnet (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Titan Hub Testnet -- Block Explorer Link: https://aware-fake-trim-testnet.explorer.testnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/soneium/ios.mdx b/docs/connect-blockchain/evm/soneium/ios.mdx index 51996ea6b..c6215b83b 100644 --- a/docs/connect-blockchain/evm/soneium/ios.mdx +++ b/docs/connect-blockchain/evm/soneium/ios.mdx @@ -9,15 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [Soneium](https://soneium.org) to make any blockchain calls, like getting the -user's `account`, fetching `balance`, `sign transaction`, `send transaction`, `read` from and -`write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Soneium](https://soneium.org) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Soneium - -:::note - -[Soneium](https://docs.soneium.org/docs/builders/overview) is currently available on the testnet. -The mainnet is coming soon. - -::: - - - - - -```typescript -const chainConfig = { - chainNamespace: CHAIN_NAMESPACES.EIP155, - chainId: "0x799", // hex of 1945 - rpcTarget: "https://rpc.soneium.org", - displayName: "Soneium Mainnet Network", - blockExplorerUrl: "https://explorer.soneium.org", - ticker: "ETH", - tickerName: "ETH", - logo: "https://cryptologos.cc/logos/soneium-logo.png", -}; -``` - - - - - -```typescript -const chainConfig = { - chainNamespace: CHAIN_NAMESPACES.EIP155, - chainId: "0x79a", // hex of 1946 - rpcTarget: "https://rpc.minato.soneium.org", - displayName: "Soneium Minato Testnet", - blockExplorerUrl: "https://explorer-testnet.soneium.org", - ticker: "ETH", - tickerName: "ETH", - logo: "https://cryptologos.cc/logos/soneium-logo.png", - // faucet- "https://bridge.soneium.org/en/testnet" bridge the sepolia ETH to Soneium -}; -``` - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/songbird/ios.mdx b/docs/connect-blockchain/evm/songbird/ios.mdx index eb886ee2d..8dd2a4f88 100644 --- a/docs/connect-blockchain/evm/songbird/ios.mdx +++ b/docs/connect-blockchain/evm/songbird/ios.mdx @@ -9,15 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [Songbird](https://www.flare.network) to make any blockchain calls, like getting -the user's `account`, fetching `balance`, `sign transaction`, `send transaction`, `read` from and -`write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Songbird](https://www.flare.network) to make any blockchain calls. We have highlighted a few here +for getting you started quickly on that. -## Installation - - - -## Chain Details for Songbird - - - - -- Chain ID: 0x13 -- Public RPC URL: https://songbird-api.flare.network/ext/C/rpc (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Songbird canary network -- Block Explorer Link: https://songbird-explorer.flare.network -- Ticker: SGB -- Ticker Name: SGB - - - - - -- Chain ID: 0x10 -- Public RPC URL: https://coston-api.flare.network/ext/C/rpc (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Coston testnet -- Block Explorer Link: https://coston-explorer.flare.network -- Ticker: CFLR -- Ticker Name: CFLR - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/xpla/ios.mdx b/docs/connect-blockchain/evm/xpla/ios.mdx index f83043cb4..7efb87ed3 100644 --- a/docs/connect-blockchain/evm/xpla/ios.mdx +++ b/docs/connect-blockchain/evm/xpla/ios.mdx @@ -7,15 +7,7 @@ description: "Integrate Web3Auth with the XPLA Blockchain in iOS/Swift Applications | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [XPLA](https://xpla.io/) to make any blockchain calls, like getting the user's -`account`, fetching `balance`, `sign transaction`, `send transaction`, `read` from and `write` to -the smart contract, etc. We have highlighted a few here for getting you started quickly on that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[XPLA](https://xpla.io/) to make any blockchain calls. We have highlighted a few here for getting +you started quickly on that. -## Installation - - - -## Chain Details for XPLA - - - - -- Chain ID: 0x25 -- Public RPC URL: https://dimension-evm-rpc.xpla.dev -- Display Name: XPLA Mainnet -- Block Explorer Link: https://explorer.xpla.io -- Ticker: XPLA -- Ticker Name: XPLA - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/zetachain/ios.mdx b/docs/connect-blockchain/evm/zetachain/ios.mdx index 829b76a43..95ac4aa6f 100644 --- a/docs/connect-blockchain/evm/zetachain/ios.mdx +++ b/docs/connect-blockchain/evm/zetachain/ios.mdx @@ -9,15 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -## Installation +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[ZetaChain](https://www.zetachain.com/) to make any blockchain calls. We have highlighted a few here +for getting you started quickly on that. - - -## Chain Details for ZetaChain - - - - - -- Chain ID: 0x1B58 -- Public RPC URL: https://zetachain-mainnet.g.allthatnode.com/archive/evm -- Display Name: ZetaChain Mainnet -- Block Explorer Link: https://zetachain.blockscout.com/ -- Ticker: ZETA -- Ticker Name: ZETA - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/zilliqa/ios.mdx b/docs/connect-blockchain/evm/zilliqa/ios.mdx index a81842fde..293443bf1 100644 --- a/docs/connect-blockchain/evm/zilliqa/ios.mdx +++ b/docs/connect-blockchain/evm/zilliqa/ios.mdx @@ -9,15 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [Zilliqa Blockchain](https://www.zilliqa.com/) to make any blockchain calls, like -getting the user's `account`, fetching `balance`, `sign transaction`, `send transaction`, `read` -from and `write` to the smart contract, etc. We have highlighted a few here to get you started -quickly on that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Zilliqa 2.0](https://www.zilliqa.com/) to make any blockchain calls. We have highlighted a few here +for getting you started quickly on that. -## Installation - - - -## Chain Details for Zilliqa - - - - -- Chain ID: 0x814f -- Public RPC URL: https://api.zq2-prototestnet.zilliqa.com (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Zilliqa 2 EVM Testnet -- Block Explorer Link: https://explorer.zq2-prototestnet.zilliqa.com -- Ticker: ZIL -- Ticker Name: Zilliqa - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/zircuit/ios.mdx b/docs/connect-blockchain/evm/zircuit/ios.mdx index 0cb06da2c..64d39a2c1 100644 --- a/docs/connect-blockchain/evm/zircuit/ios.mdx +++ b/docs/connect-blockchain/evm/zircuit/ios.mdx @@ -9,15 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth iOS SDK, you get the private key within the user scope. This private key -can interact with [Zircuit Blockchain](https://zircuit.com) to make blockchain calls like getting -the user's `account`, fetching `balance`, signing transactions, sending transactions, and -interacting with smart contracts. We have highlighted a few examples to get you started quickly on -that. +While using the Web3Auth iOS SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Zircuit](https://zircuit.com/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Zircuit - - - - -- Chain ID: 0xBF04 -- Public RPC URL: https://zircuit1-mainnet.p2pify.com/ (Avoid using public rpcTarget in production, - use services like Infura, Quicknode etc) -- Display Name: Zircuit Mainnet -- Block Explorer Link: https://explorer.zircuit.com -- Ticker: ETH -- Ticker Name: ETH - - - - - -- Chain ID: 0xBF03 -- Public RPC URL: https://zircuit1.p2pify.com/ (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Zircuit Testnet -- Block Explorer Link: https://explorer.testnet.zircuit.com -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx b/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx index f2f37480d..07e53d5a1 100644 --- a/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx +++ b/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx @@ -1,4 +1,38 @@ +To retrieve the user's Ethereum address, you can use the `EthereumAccount` class. This account can +also be used to sign transactions and messages. + +The package doesn't provides any direct way to consume the the private key and create an account. +Hence, we'll create an extension for the `Web3AuthState` extending the +`EthereumSingleKeyStorageProtocol` to retrieve the private key and create an account. + ```swift -account = try EthereumAccount(keyStorage: user ) -address = account.address +import web3 +import Web3Auth + +extension Web3AuthState: EthereumSingleKeyStorageProtocol { + public func storePrivateKey(key: Data) throws { + + } + + public func loadPrivateKey() throws -> Data { + guard let data = self.privKey?.web3.hexData else { + throw PlaygroundError.decodingError + } + + return data + } +} +``` + +Once we have created the extension, we can use the Web3AuthState to create an EthereumAccount. +Please note, that this assumes that the user has already logged in and the state is available. + +```swift +import web3 + +// Use your existing Web3Auth instance +let web3authState = web3Auth.state! + +let account = try EthereumAccount(keyStorage: web3authState) +let address = account.address ``` diff --git a/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx b/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx index fb00643ed..7569a1088 100644 --- a/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx +++ b/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx @@ -1,5 +1,27 @@ +To retrieve the balance of an Ethereum address, you can use the `EthereumClient.eth_getBalance` +method. The response we get from this method is in Wei, so we need to convert it to Ether. The get +the ether value, you can divide the wei value with `1 / 10^18`. + ```swift -client = EthereumClient(url: URL(string: RPC_URL)!) -latestBlock = client.eth_blockNumber -let balance = try client.eth_getBalance(address: address, block:latestBlock) +import web3 + +let etherInWei = pow(Double(10), 18) + +/// Convert Wei(BInt) unit to Ether(Decimal) unit +public func toEther(wei: Wei) -> Ether { + guard let decimalWei = Double(wei.description) else { + return 0 + } + return decimalWei / etherInWei +} + +// focus-start +let balanceResponse = try await client.eth_getBalance( + // Use the address from previous step + address: address, + block: .Latest +) + +let balance = toEther(wei: balanceResponse) +// focus-end ``` diff --git a/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx b/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx index 30407556d..4ce864592 100644 --- a/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx +++ b/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx @@ -1,12 +1,15 @@ +To interact with the blockchain, initialize the `EthereumHttpClient` with the RPC URL, and chain id +of the network you want to connect to. To get the public RPC URL, and other details as chain id, you +can checkout [ChainList](https://chainlist.org/). + ```swift import web3 -import Web3Auth -var user: Web3AuthState -var client: EthereumClientProtocol -var address: EthereumAddress -var account: EthereumAccount -var latestBlock = 0 -var chainID = 1 // EVM Chain ID -var providerUrl = "" // EVM chain RPC URL +let client = EthereumHttpClient( + // Please avoid using public RPC URL in production, use services + // like Infura, Quicknode, etc. + url: URL.init(string: rpcUrl)!, + // Replace with the chain id of the network you want to connect to + network: .custom(chainId) +) ``` diff --git a/src/common/docs/ios-connect-blockchain/_evm-installation.mdx b/src/common/docs/ios-connect-blockchain/_evm-installation.mdx index 024910b34..92c32cc1d 100644 --- a/src/common/docs/ios-connect-blockchain/_evm-installation.mdx +++ b/src/common/docs/ios-connect-blockchain/_evm-installation.mdx @@ -1,29 +1,47 @@ -To interact with the Ethereum blockchain in iOS Swift environment, we will be using the -[web3swift](https://github.com/argentlabs/web3.swift) package. +import TabItem from "@theme/TabItem"; +import Tabs from "@theme/Tabs"; -### CocoaPods +To interact with the Ethereum compatible blockchains in Swift, you can use any +[`EIP1193`](https://eips.ethereum.org/EIPS/eip-1193) compatible package. Here, we're using +[web3swift](https://github.com/argentlabs/web3.swift) to demonstrate how to make blockchain calls +using it with Web3Auth. -Add web3.swift to your `Podfile`: +To install the `web3swift` package, you have two options. You can either use Swift Package Manager +or CocoaPods. -```bash -pod 'web3.swift' -``` + -Then run the following command: + -```bash -$ pod install -``` +1. In Xcode, with your app project open, navigate to **File > Add Packages**. -- Import the package and shims into your codebase: +1. When prompted, add the single-factor-auth-swift iOS SDK repository: -```swift -import web3 -``` + ```sh + https://github.com/argentlabs/web3.swift + ``` -:::info +1. When finished, Xcode will automatically begin resolving and downloading your dependencies in the + background. -Here are a few [sample apps](/examples?product=Plug+and+Play&sdk=Plug+and+Play+iOS+SDK) which you -can checkout to get started with the integration. + -::: + + +To install the Web3Auth SingleFactorAuth SDK using Cocoapods, follow the below steps: + +1. Open the Podfile, and add the SingleFactorAuth pod: + + ```sh + pod 'web3.swift' + ``` + +2. Once added, use `pod install` command to download the dependency. + + + diff --git a/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx b/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx new file mode 100644 index 000000000..1ff6918ff --- /dev/null +++ b/src/common/docs/ios-connect-blockchain/_evm-interaction.mdx @@ -0,0 +1,36 @@ +import InstallationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-installation.mdx"; +import GetAccountSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-account.mdx"; +import GetBalanceSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-get-balance.mdx"; +import InitialisationSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-initialisation.mdx"; +import SignMessageSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx"; +import SendTransactionSnippet from "@site/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx"; + +## Prerequisites + +This doc assumes you have already setup your project in Web3Auth Dashboard, and have integrated +Web3Auth in your iOS app. If you haven't done that yet, you can learn how to +[integrate Web3Auth in your iOS app](/docs/sdk/pnp/ios/). + +## Installation + + + +## Initialize + + + +## Get Account + + + +## Get Balance + + + +## Sign a message + + + +## Send Transaction + + diff --git a/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx b/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx index 9a8cea152..95cc7d164 100644 --- a/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx +++ b/src/common/docs/ios-connect-blockchain/_evm-send-transaction.mdx @@ -1,68 +1,73 @@ -We have used some util functions to convert the values to the required format. +For signing and sending the transaction, we'll create helper methods to get the nonce, gas price, +estimate the gas and send the transaction. The nonce is the number of transactions sent from the +address. The gas price is the price of the gas in Wei. The gas limit is the maximum amount of gas +that can be used to send the transaction. Apart form that, we'll also create a helper method to +convert the amount to Wei. -```swift -let gasPrice = try await client.eth_gasPrice() -let maxTipInGwie = BigUInt(TorusWeb3Utils.toEther(Gwie: BigUInt(amount))) -let totalGas = gasPrice + maxTipInGwie -let amtInGwie = TorusWeb3Utils.toWei(ether: amount) -let nonce = try await client.eth_getTransactionCount(address: address, block: .Latest) -let transaction = EthereumTransaction(from: address, to: EthereumAddress(sendTo), value: amtInGwie, data: Data(), nonce: nonce + 1, gasPrice: totalGas, gasLimit: gasLimit, chainId: chainID) -let signed = try account.sign(transaction: transaction) -let val = try await client.eth_sendRawTransaction(signed.transaction, withAccount: account) -``` - -The util functions are as follows +Once the transaction object is created, we'll estimate the gas and create a new transaction object +with the gas limit. Finally, we'll send the transaction using +`EthereumHttpClient.eth_sendRawTransaction` method and get the hash. ```swift -import BigInt -import Foundation import web3 -public typealias Ether = Double -public typealias Wei = BigUInt +private let etherInWei = pow(Double(10), 18) + +private func getNonce() async throws -> Int { + let nonce = try await client.eth_getTransactionCount(address: account.address, block: .Latest) + return nonce +} + +private func getGasPrice() async throws -> BigUInt { + return try await client.eth_gasPrice() +} -public final class TorusWeb3Utils { - public static func timeMinToSec(val: Double) -> Double { - return val * 60 - } +private func estimateGas(ethereumTransaction: EthereumTransaction) async throws -> BigUInt { + return try await client.eth_estimateGas(ethereumTransaction) +} - // NOTE: calculate wei by 10^18 - private static let etherInWei = pow(Double(10), 18) - private static let etherInGwei = pow(Double(10), 9) +public func toWei(ether: Ether) -> Wei { + let wei = Wei(ether * etherInWei) + return wei +} - /// Convert Wei(BInt) unit to Ether(Decimal) unit - public static func toEther(wei: Wei) -> Ether { - guard let decimalWei = Double(wei.description) else { - return 0 - } - return decimalWei / etherInWei - } +let nonce = try await getNonce() +let gasPrice = try await getGasPrice() - public static func toEther(Gwie: BigUInt) -> Ether { - guard let decimalWei = Double(Gwie.description) else { - return 0 - } - return decimalWei / etherInGwei - } +// Convert the amount to Wei +let value = toWei(ether: Ether(floatLiteral: 0.001)) - /// Convert Ether(Decimal) unit to Wei(BInt) unit - public static func toWei(ether: Ether) -> Wei { - let wei = Wei(ether * etherInWei) - return wei - } +let ethereumTransaction = EthereumTransaction( + // Use the account from previous step + from: account.address, + to: EthereumAddress.init(stringLiteral: "RECIPIENT_ADDRESS_IN_HEX_FORMAT"), + value: value, + // Empty data, 0x + data: Data(), + nonce: nonce, + gasPrice: gasPrice, + gasLimit: nil, + // Use the chain id from previous step + chainId: CHAIN_ID_IN_INTEGER +) - /// Convert Ether(String) unit to Wei(BInt) unit - public static func toWei(ether: String) -> Wei { - guard let decimalEther = Double(ether) else { - return 0 - } - return toWei(ether: decimalEther) - } +// Estimate the gas +let gasLimit = try await estimateGas(ethereumTransaction: ethereumTransaction) - // Only used for calcurating gas price and gas limit. - public static func toWei(GWei: Double) -> Wei { - return Wei(GWei * 1000000000) - } -} +let transaction = EthereumTransaction( + // Use the account from previous step + from: account.address, + to: EthereumAddress.init(stringLiteral: "RECIPIENT_ADDRESS_IN_HEX_FORMAT"), + value: value, + // Empty data, 0x + data: Data(), + nonce: nonce, + gasPrice: gasPrice, + gasLimit: gasLimit, + // Use the chain id from previous step + chainId: CHAIN_ID_IN_INTEGER +) +// Use the account from previous step +let hash = try await client.eth_sendRawTransaction(transaction, withAccount: account) ``` diff --git a/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx b/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx index 442fc30de..f5467d17e 100644 --- a/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx +++ b/src/common/docs/ios-connect-blockchain/_evm-sign-message.mdx @@ -1,5 +1,14 @@ +To sign the message, you can use the `EthereumAccount.sign` method. The sign method takes in the +data of the message, and returns the signature. + ```swift -account = try EthereumAccount(keyStorage: user ) -let val = try account.sign(message: "Hello World") -let signedMessage = val.web3.hexString +import web3 + +let message = "Hello World" +// Use the account from previous step +guard let data = message.data(using: .ascii) else { + // throw error +} + +let signature = try ethereumAccount.signMessage(message: data) ``` From 7393a56947b7ce503812e9d7e7a7c5f0216d313a Mon Sep 17 00:00:00 2001 From: AyushBherwani1998 Date: Thu, 17 Oct 2024 08:21:19 +0530 Subject: [PATCH 3/3] update the android EVM docs --- docs/connect-blockchain/evm/5ire/android.mdx | 85 +------- .../evm/aleph-zero/android.mdx | 85 +------- .../evm/ancient8/android.mdx | 85 +------- .../evm/arbitrum/android.mdx | 85 +------- .../evm/astar-zkevm/android.mdx | 70 +----- .../evm/astar-zkyoto/android.mdx | 71 +------ .../evm/avalanche/android.mdx | 85 +------- docs/connect-blockchain/evm/base/android.mdx | 85 +------- docs/connect-blockchain/evm/bnb/android.mdx | 85 +------- docs/connect-blockchain/evm/celo/android.mdx | 85 +------- .../connect-blockchain/evm/cronos/android.mdx | 85 +------- .../evm/ethereum/android.mdx | 85 +------- .../connect-blockchain/evm/fhenix/android.mdx | 64 +----- docs/connect-blockchain/evm/flare/android.mdx | 85 +------- .../evm/harmony/android.mdx | 85 +------- .../connect-blockchain/evm/hedera/android.mdx | 90 +------- docs/connect-blockchain/evm/kinto/android.mdx | 77 +------ .../connect-blockchain/evm/klaytn/android.mdx | 85 +------- docs/connect-blockchain/evm/linea/android.mdx | 85 +------- docs/connect-blockchain/evm/manta/android.mdx | 85 +------- docs/connect-blockchain/evm/metis/android.mdx | 83 +------- docs/connect-blockchain/evm/mint/android.mdx | 85 +------- .../evm/moonbeam/android.mdx | 85 +------- .../evm/moonriver/android.mdx | 85 +------- docs/connect-blockchain/evm/morph/android.mdx | 77 +------ docs/connect-blockchain/evm/neon/android.mdx | 85 +------- .../connect-blockchain/evm/nibiru/android.mdx | 85 +------- docs/connect-blockchain/evm/opbnb/android.mdx | 87 +------- .../evm/optimism/android.mdx | 85 +------- .../evm/polygon/android.mdx | 85 +------- .../evm/rootstock/android.mdx | 77 +------ .../evm/saakuru/android.mdx | 63 +----- .../evm/shardeum/android.mdx | 64 +----- docs/connect-blockchain/evm/skale/android.mdx | 201 +----------------- .../evm/soneium/android.mdx | 104 +-------- .../evm/songbird/android.mdx | 85 +------- docs/connect-blockchain/evm/xpla/android.mdx | 69 +----- .../evm/zetachain/android.mdx | 64 +----- .../evm/zilliqa/android.mdx | 70 +----- .../evm/zircuit/android.mdx | 87 +------- .../_evm-get-account.mdx | 26 ++- .../_evm-get-balance.mdx | 24 ++- .../_evm-initialisation.mdx | 81 +------ .../_evm-installation.mdx | 10 +- .../_evm-interaction.mdx | 36 ++++ .../_evm-send-transaction.mdx | 77 ++++--- .../_evm-sign-message.mdx | 31 +-- 47 files changed, 380 insertions(+), 3278 deletions(-) create mode 100644 src/common/docs/android-connect-blockchain/_evm-interaction.mdx diff --git a/docs/connect-blockchain/evm/5ire/android.mdx b/docs/connect-blockchain/evm/5ire/android.mdx index 9c5407a36..4eaea8eb8 100644 --- a/docs/connect-blockchain/evm/5ire/android.mdx +++ b/docs/connect-blockchain/evm/5ire/android.mdx @@ -7,15 +7,7 @@ keywords: [android, metis, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Metis Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Metis Blockchain](https://metis.io) to make any blockchain -calls, like getting the user's `account`, fetching `balance`, signing transactions, sending -transactions, and interacting with smart contracts. We have highlighted a few key examples to get -you started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[5ire Blockchain](https://5ire.org) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Metis - - - - -- Chain ID: 0x440 -- Public RPC URL: https://andromeda.metis.io/?owner=1088 (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Andromeda Mainnet -- Block Explorer Link: https://andromeda-explorer.metis.io -- Ticker: METIS -- Ticker Name: Metis - - - - - -- Chain ID: 0xEA6E -- Public RPC URL: https://sepolia.metisdevops.link (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Sepolia Testnet -- Block Explorer Link: https://sepolia-explorer.metisdevops.link/ -- Ticker: tMetis -- Ticker Name: tMetis - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/aleph-zero/android.mdx b/docs/connect-blockchain/evm/aleph-zero/android.mdx index 25658545c..126f41216 100644 --- a/docs/connect-blockchain/evm/aleph-zero/android.mdx +++ b/docs/connect-blockchain/evm/aleph-zero/android.mdx @@ -8,15 +8,7 @@ description: "Integrate Web3Auth with the Aleph Zero Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Aleph Zero Blockchain](https://alephzero.org) to make any -blockchain calls, like getting the user's `account`, fetching `balance`, signing transactions, -sending transactions, and interacting with smart contracts. We have highlighted a few key examples -to get you started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Aleph Zero Blockchain](https://alephzero.org) to make any blockchain calls. We have highlighted a +few here for getting you started quickly on that. -## Installation - - - -## Chain Details for Aleph Zero - - - - -- Chain ID: 0xA1EF -- Public RPC URL: https://rpc.alephzero.raas.gelato.cloud (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Aleph Zero Mainnet -- Block Explorer Link: https://evm-explorer.alephzero.org -- Ticker: AZERO -- Ticker Name: Aleph Zero - - - - - -- Chain ID: 0x7F7 -- Public RPC URL: https://rpc.alephzero-testnet.gelato.digital (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Aleph Zero Testnet -- Block Explorer Link: https://evm-explorer-testnet.alephzero.org/ -- Ticker: AZERO -- Ticker Name: Aleph Zero - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/ancient8/android.mdx b/docs/connect-blockchain/evm/ancient8/android.mdx index 85d456098..1078096c2 100644 --- a/docs/connect-blockchain/evm/ancient8/android.mdx +++ b/docs/connect-blockchain/evm/ancient8/android.mdx @@ -7,15 +7,7 @@ keywords: [android, ancient8, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Ancient8 Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Ancient8 Blockchain](https://ancient8.gg) to make any blockchain -calls, like getting the user's `account`, fetching `balance`, signing transactions, sending -transactions, and interacting with smart contracts. We have highlighted a few key operations to get -you started. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Ancient8 Blockchain](https://ancient8.gg) to make any blockchain calls. We have highlighted a few +here for getting you started quickly on that. -## Installation - - - -## Chain Details for Ancient8 - - - - -- Chain ID: 0x34BC6B8 -- Public RPC URL: https://rpc.ancient8.gg (Avoid using public rpcTarget in production, use services - like Infura, Quicknode etc) -- Display Name: Ancient8 Mainnet -- Block Explorer Link: https://scan.ancient8.gg -- Ticker: ETH -- Ticker Name: ETH - - - - - -- Chain ID: 0x1AD4150 -- Public RPC URL: https://rpcv2-testnet.ancient8.gg (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Ancient8 Testnet V2 -- Block Explorer Link: https://scanv2-testnet.ancient8.gg -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/arbitrum/android.mdx b/docs/connect-blockchain/evm/arbitrum/android.mdx index e099f62db..642e45f22 100644 --- a/docs/connect-blockchain/evm/arbitrum/android.mdx +++ b/docs/connect-blockchain/evm/arbitrum/android.mdx @@ -7,15 +7,7 @@ keywords: [android, arbitrum, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Arbitrum Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Arbitrum](https://arbitrum.io/) to make any blockchain calls, -like getting the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` -from and `write` to the smart contract, etc. We have highlighted a few here to get you started -quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Arbitrum](https://arbitrum.io/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Arbitrum - - - - -- Chain ID: 0xA4B1 -- Public RPC URL: https://rpc.ankr.com/arbitrum (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Arbitrum Mainnet -- Block Explorer Link: https://arbiscan.io -- Ticker: AETH -- Ticker Name: AETH - - - - - -- Chain ID: 0x66EEE -- Public RPC URL: https://rpc.ankr.com/arbitrum_sepolia (Avoid using public rpcTarget in production, - use services like Infura, Quicknode etc) -- Display Name: Arbitrum Sepolia Testnet -- Block Explorer Link: https://sepolia.arbiscan.io/ -- Ticker: AETH -- Ticker Name: AETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/astar-zkevm/android.mdx b/docs/connect-blockchain/evm/astar-zkevm/android.mdx index f1cbf60bc..e60d06a6b 100644 --- a/docs/connect-blockchain/evm/astar-zkevm/android.mdx +++ b/docs/connect-blockchain/evm/astar-zkevm/android.mdx @@ -8,15 +8,7 @@ description: "Integrate Web3Auth with the Astar zkEVM Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Astar zkEVM](https://docs.astar.network/docs/build/zkEVM/) to -make any blockchain calls, like getting the user's `account`, fetching `balance`, -`sign transaction`, `send transaction`, `read` from and `write` to the smart contract, etc. We have -highlighted a few here to get you started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Astar zkEVM](https://docs.astar.network/docs/build/zkEVM/) to make any blockchain calls. We have +highlighted a few here for getting you started quickly on that. -## Installation - - - -## Chain Details for zkEVM - - - - -- Chain ID: 0xEC0 -- Public RPC URL: https://rpc.startale.com/astar-zkevm (Avoid using public rpcTarget in production, - use services like Infura, Quicknode etc) -- Display Name: Astar zkEVM -- Block Explorer Link: https://astar-zkevm.explorer.startale.com/ -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/astar-zkyoto/android.mdx b/docs/connect-blockchain/evm/astar-zkyoto/android.mdx index 7fbb055af..3c9116ee9 100644 --- a/docs/connect-blockchain/evm/astar-zkyoto/android.mdx +++ b/docs/connect-blockchain/evm/astar-zkyoto/android.mdx @@ -8,15 +8,7 @@ description: "Integrate Web3Auth with the Astar zKyoto Testnet in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with -[Astar zKyoto](https://docs.astar.network/docs/build/zkEVM/quickstart) to make any blockchain calls, -like getting the user's `account`, fetching `balance`, `sign transaction`, `send transaction`, -`read` from and `write` to the smart contract, etc. We have highlighted a few here to get you -started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Astar zKyoto](https://docs.astar.network/docs/build/zkEVM/quickstart) to make any blockchain calls. +We have highlighted a few here for getting you started quickly on that. -## Installation - - - -## Chain Details for zKyoto - - - - -- Chain ID: 0x5C2359 -- Public RPC URL: https://rpc.startale.com/astar-zkyoto (Avoid using public rpcTarget in production, - use services like Infura, Quicknode etc) -- Display Name: Astar zKyoto -- Block Explorer Link: https://zkyoto.explorer.startale.com/ -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/avalanche/android.mdx b/docs/connect-blockchain/evm/avalanche/android.mdx index 2d8edfc94..10d1147b8 100644 --- a/docs/connect-blockchain/evm/avalanche/android.mdx +++ b/docs/connect-blockchain/evm/avalanche/android.mdx @@ -8,15 +8,7 @@ description: "Integrate Web3Auth with the Avalanche (C-Chain) Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Avalanche (C-Chain)](https://www.avax.network/) to make any -blockchain calls, like getting the user's `account`, fetch `balance`, `sign transaction`, -`send transaction`, `read` from and `write` to the smart contract, etc. We have highlighted a few -here to get you started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Avalanche (C-Chain)](https://www.avax.network/) to make any blockchain calls. We have highlighted a +few here for getting you started quickly on that. -## Installation - - - -## Chain Details for Avalanche (C-Chain) - - - - -- Chain ID: 0xA86A -- Public RPC URL: https://rpc.ankr.com/avalanche-c (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Avalanche C-Chain Mainnet -- Block Explorer Link: https://subnets.avax.network/c-chain -- Ticker: AVAX -- Ticker Name: AVAX - - - - - -- Chain ID: 0xA869 -- Public RPC URL: https://rpc.ankr.com/avalanche_fuji-c (Avoid using public rpcTarget in production, - use services like Infura, Quicknode etc) -- Display Name: Avalanche C-Chain Testnet -- Block Explorer Link: https://subnets-test.avax.network/c-chain -- Ticker: AVAX -- Ticker Name: AVAX - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/base/android.mdx b/docs/connect-blockchain/evm/base/android.mdx index 290c0d21c..c751f0cca 100644 --- a/docs/connect-blockchain/evm/base/android.mdx +++ b/docs/connect-blockchain/evm/base/android.mdx @@ -9,15 +9,7 @@ description: Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Base Chain (Coinbase)](https://base.org/) to make any blockchain -calls, like getting the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, -`read` from and `write` to the smart contract, etc. We have highlighted a few here to get you -started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Base Chain (Coinbase)](https://base.org) to make any blockchain calls. We have highlighted a few +here for getting you started quickly on that. -## Installation - - - -## Chain Details for Base Chain (Coinbase) - - - - -- Chain ID: 0x2105 -- Public RPC URL: `https://mainnet.base.org` (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Base Mainnet -- Block Explorer Link: https://basescan.org/ -- Ticker: ETH -- Ticker Name: ETH - - - - - -- Chain ID: 0x14A34 -- Public RPC URL: `https://sepolia.base.org` (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Base Sepolia -- Block Explorer Link: https://sepolia-explorer.base.org -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/bnb/android.mdx b/docs/connect-blockchain/evm/bnb/android.mdx index 4b2e2a5bd..6e39e025e 100644 --- a/docs/connect-blockchain/evm/bnb/android.mdx +++ b/docs/connect-blockchain/evm/bnb/android.mdx @@ -8,15 +8,7 @@ description: "Integrate Web3Auth with the BNB (Binance) Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [BNB (Binance) Chain](https://www.bnbchain.org/) to make any -blockchain calls, like getting the user's `account`, fetch `balance`, `sign transaction`, -`send transaction`, `read` from and `write` to the smart contract, etc. We have highlighted a few -here to get you started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[BNB (Binance) Chain](https://www.bnbchain.org/) to make any blockchain calls. We have highlighted a +few here for getting you started quickly on that. -## Installation - - - -## Chain Details for BNB (Binance) Chain - - - - -- Chain ID: 0x38 -- Public RPC URL: https://rpc.ankr.com/bsc (Avoid using public rpcTarget in production, use services - like Infura, Quicknode etc) -- Display Name: Binance SmartChain Mainnet -- Block Explorer Link: https://bscscan.com/ -- Ticker: BNB -- Ticker Name: BNB - - - - - -- Chain ID: 0x61 -- Public RPC URL: https://rpc.ankr.com/bsc_testnet_chapel (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Binance SmartChain Testnet -- Block Explorer Link: https://testnet.bscscan.com -- Ticker: BNB -- Ticker Name: BNB - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/celo/android.mdx b/docs/connect-blockchain/evm/celo/android.mdx index f91f6ed12..0fef616ef 100644 --- a/docs/connect-blockchain/evm/celo/android.mdx +++ b/docs/connect-blockchain/evm/celo/android.mdx @@ -7,15 +7,7 @@ keywords: [android, celo, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Celo Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Celo](https://celo.org/) to make any blockchain calls, like -getting the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from -and `write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Celo](https://celo.org/) to make any blockchain calls. We have highlighted a few here for getting +you started quickly on that. -## Installation - - - -## Chain Details for Celo - - - - -- Chain ID: 0xa4ec -- Public RPC URL: https://rpc.ankr.com/celo (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Celo Mainnet -- Block Explorer Link: https://explorer.celo.org -- Ticker: CELO -- Ticker Name: CELO - - - - - -- Chain ID: 0xaef3 -- Public RPC URL: https://rpc.ankr.com/celo (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Celo Testnet -- Block Explorer Link: https://alfajores-blockscout.celo-testnet.org -- Ticker: CELO -- Ticker Name: CELO - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/cronos/android.mdx b/docs/connect-blockchain/evm/cronos/android.mdx index 452dfac81..c611ec95d 100644 --- a/docs/connect-blockchain/evm/cronos/android.mdx +++ b/docs/connect-blockchain/evm/cronos/android.mdx @@ -7,15 +7,7 @@ keywords: [android, cronos, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Cronos Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Cronos](https://cronos.org/) to make any blockchain calls, like -getting the user's `account`, fetching `balance`, `sign transaction`, `send transaction`, `read` -from and `write` to the smart contract, etc. We have highlighted a few here to get you started -quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Cronos](https://cronos.org/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Cronos - - - - -- Chain ID: 0x19 -- Public RPC URL: https://rpc.cronos.org (Avoid using public rpcTarget in production, use services - like Infura, Quicknode etc) -- Display Name: Cronos Mainnet -- Block Explorer Link: https://cronoscan.com -- Ticker: CRO -- Ticker Name: CRO - - - - - -- Chain ID: 0x152 -- Public RPC URL: https://rpc-t3.cronos.org (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Cronos Testnet -- Block Explorer Link: https://cronoscan.com -- Ticker: CRO -- Ticker Name: CRO - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/ethereum/android.mdx b/docs/connect-blockchain/evm/ethereum/android.mdx index 04a5f1e20..6cfc33b65 100644 --- a/docs/connect-blockchain/evm/ethereum/android.mdx +++ b/docs/connect-blockchain/evm/ethereum/android.mdx @@ -7,15 +7,7 @@ keywords: [android, ethereum, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Ethereum Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Ethereum](https://ethereum.org/) to make any blockchain calls, -like getting the user's `account`, fetching `balance`, `sign transaction`, `send transaction`, -`read` from and `write` to the smart contract, etc. We have highlighted a few here to get you -started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Ethereum](https://ethereum.org/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Ethereum - - - - -- Chain ID: 0x1 -- Public RPC URL: https://rpc.ankr.com/eth (Avoid using public rpcTarget in production, use services - like Infura, Quicknode etc) -- Display Name: Ethereum Mainnet -- Block Explorer Link: https://etherscan.io -- Ticker: ETH -- Ticker Name: Ethereum - - - - - -- Chain ID: 0xaa36a7 -- Public RPC URL: https://rpc.ankr.com/eth_sepolia (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Ethereum Sepolia Testnet -- Block Explorer Link: https://sepolia.etherscan.io -- Ticker: ETH -- Ticker Name: Sepolia - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/fhenix/android.mdx b/docs/connect-blockchain/evm/fhenix/android.mdx index 39af2b147..299172933 100644 --- a/docs/connect-blockchain/evm/fhenix/android.mdx +++ b/docs/connect-blockchain/evm/fhenix/android.mdx @@ -7,15 +7,7 @@ keywords: [android, fhenix, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Fhenix Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -## Installation +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Fhenix](https://fhenix.io/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Fhenix - - - - - -- Chain ID: 0x7a31c7 -- Public RPC URL: https://api.helium.fhenix.zone -- Display Name: Fhenix Helium -- Block Explorer Link: https://explorer.helium.fhenix.zone -- Ticker: tFHE -- Ticker Name: tFHE - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/flare/android.mdx b/docs/connect-blockchain/evm/flare/android.mdx index 0870732bd..63c4928e9 100644 --- a/docs/connect-blockchain/evm/flare/android.mdx +++ b/docs/connect-blockchain/evm/flare/android.mdx @@ -7,15 +7,7 @@ keywords: [android, flare, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Flare Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Flare](https://www.flare.network) to make any blockchain calls, -like getting the user's `account`, fetching `balance`, `sign transaction`, `send transaction`, -`read` from and `write` to the smart contract, etc. We have highlighted a few here to get you -started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Flare](https://www.flare.network) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Flare - - - - -- Chain ID: 0xE -- Public RPC URL: https://flare-api.flare.network/ext/C/rpc (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Flare Mainnet -- Block Explorer Link: https://flare-explorer.flare.network -- Ticker: FLR -- Ticker Name: FLR - - - - - -- Chain ID: 0x72 -- Public RPC URL: https://coston2-api.flare.network/ext/C/rpc (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Coston2 testnet -- Block Explorer Link: https://coston2-explorer.flare.network -- Ticker: C2FLR -- Ticker Name: C2FLR - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/harmony/android.mdx b/docs/connect-blockchain/evm/harmony/android.mdx index 10267a4b0..151fbd542 100644 --- a/docs/connect-blockchain/evm/harmony/android.mdx +++ b/docs/connect-blockchain/evm/harmony/android.mdx @@ -7,15 +7,7 @@ keywords: [android, harmony, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Harmony Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Harmony](https://www.harmony.one/) to make any blockchain calls, -like getting the user's `account`, fetching `balance`, `sign transaction`, `send transaction`, -`read` from and `write` to the smart contract, etc. We have highlighted a few here to get you -started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Harmony](https://www.harmony.one/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Harmony - - - - -- Chain ID: 0x63564c40 -- Public RPC URL: https://rpc.ankr.com/harmony (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Harmony Mainnet -- Block Explorer Link: https://explorer.harmony.one -- Ticker: ONE -- Ticker Name: ONE - - - - - -- Chain ID: 0x6357d2e0 -- Public RPC URL: https://api.s0.b.hmny.io (Avoid using public rpcTarget in production, use services - like Infura, Quicknode etc) -- Display Name: Harmony Testnet -- Block Explorer Link: https://explorer.testnet.harmony.one -- Ticker: ONE -- Ticker Name: ONE - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/hedera/android.mdx b/docs/connect-blockchain/evm/hedera/android.mdx index d397aad68..ac8b735d5 100644 --- a/docs/connect-blockchain/evm/hedera/android.mdx +++ b/docs/connect-blockchain/evm/hedera/android.mdx @@ -7,15 +7,7 @@ keywords: [android, hedera, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Hedera Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -## Installation +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Hedera](https://hedera.com/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Hedera - - - - - -- Chain ID: 0x127 -- Public RPC URL: https://mainnet.hashio.io/api -- Display Name: Hedera Mainnet -- Block Explorer Link: https://hashscan.io/mainnet/ -- Ticker: HBAR -- Ticker Name: HBAR - - - - -- Chain ID: 0x128 -- Public RPC URL: https://testnet.hashio.io/api -- Display Name: Hedera Testnet -- Block Explorer Link: https://hashscan.io/testnet/ -- Ticker: HBAR -- Ticker Name: HBAR - - - - -- Chain ID: 0x129 -- Public RPC URL: https://previewnet.hashio.io/api -- Display Name: Hedera Previewnet -- Block Explorer Link: https://hashscan.io/previewnet/ -- Ticker: HBAR -- Ticker Name: HBAR - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/kinto/android.mdx b/docs/connect-blockchain/evm/kinto/android.mdx index b19382486..963d0fc5c 100644 --- a/docs/connect-blockchain/evm/kinto/android.mdx +++ b/docs/connect-blockchain/evm/kinto/android.mdx @@ -7,15 +7,7 @@ keywords: [android, kinto, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Kinto Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -## Installation +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Kinto](https://kinto.xyz) to make any blockchain calls. We have highlighted a few here for getting +you started quickly on that. - - -## Chain Details for Kinto - - - - - -- Chain ID: 0x1ecf -- Public RPC URL: https://rpc.kinto.xyz/http -- Display Name: Kinto Mainnet -- Block Explorer Link: https://explorer.kinto.xyz -- Ticker: ETH -- Ticker Name: ETH - - - - -- Chain ID: 0xa788 -- Public RPC URL: http://35.215.120.180:8545 -- Display Name: Kinto Testnet -- Block Explorer Link: https://explorer.kinto.xyz -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/klaytn/android.mdx b/docs/connect-blockchain/evm/klaytn/android.mdx index ca6b32127..5572177e8 100644 --- a/docs/connect-blockchain/evm/klaytn/android.mdx +++ b/docs/connect-blockchain/evm/klaytn/android.mdx @@ -7,15 +7,7 @@ keywords: [android, klaytn, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Klaytn Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Klaytn](https://klaytn.foundation) to make any blockchain calls, -like getting the user's `account`, fetching `balance`, `sign transaction`, `send transaction`, -`read` from and `write` to the smart contract, etc. We have highlighted a few here to get you -started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Klaytn](https://klaytn.foundation) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Klaytn - - - - -- Chain ID: 0x2019 -- Public RPC URL: `https://public-node-api.klaytnapi.com/v1/cypress` (Avoid using public rpcTarget - in production, use services like Infura, Quicknode etc) -- Display Name: Klaytn Mainnet -- Block Explorer Link: https://scope.klaytn.com -- Ticker: KLAY -- Ticker Name: KLAY - - - - - -- Chain ID: 0x3e9 -- Public RPC URL: https://api.baobab.klaytn.net:8651 (Avoid using public rpcTarget in production, - use services like Infura, Quicknode etc) -- Display Name: Klaytn Testnet -- Block Explorer Link: https://baobab.scope.klaytn.com -- Ticker: KLAY -- Ticker Name: KLAY - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/linea/android.mdx b/docs/connect-blockchain/evm/linea/android.mdx index f23383cb7..745d33d32 100644 --- a/docs/connect-blockchain/evm/linea/android.mdx +++ b/docs/connect-blockchain/evm/linea/android.mdx @@ -7,15 +7,7 @@ keywords: [android, linea, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Linea Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Linea](https://linea.build/) to make any blockchain calls, like -getting the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from -and `write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Linea](https://linea.build/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Linea - - - - -- Chain ID: 0xe708 -- Public RPC URL: https://rpc.linea.build (Avoid using public rpcTarget in production, use services - like Infura, Quicknode etc) -- Display Name: Linea Mainnet -- Block Explorer Link: https://lineascan.build/ -- Ticker: ETH -- Ticker Name: ETH - - - - - -- Chain ID: 0xe705 -- Public RPC URL: https://rpc.sepolia.linea.build (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Linea Sepolia Testnet -- Block Explorer Link: https://sepolia.lineascan.build/ -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/manta/android.mdx b/docs/connect-blockchain/evm/manta/android.mdx index b6159e236..d2b01e06d 100644 --- a/docs/connect-blockchain/evm/manta/android.mdx +++ b/docs/connect-blockchain/evm/manta/android.mdx @@ -7,15 +7,7 @@ keywords: [android, manta, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Manta Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Manta Blockchain](https://manta.network/) to make any blockchain -calls, like getting the user's `account`, fetching `balance`, `sign transaction`, -`send transaction`, `read` from and `write` to the smart contract, etc. We have highlighted a few -here to get you started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Manta](https://manta.network/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Manta - - - - -- Chain ID: 0xA9 -- Public RPC URL: https://pacific-rpc.manta.network/http (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Manta Pacific Mainnet -- Block Explorer Link: https://pacific-explorer.manta.network -- Ticker: ETH -- Ticker Name: ETH - - - - - -- Chain ID: 0x34816E -- Public RPC URL: https://pacific-rpc.sepolia-testnet.manta.network/http (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: Manta Pacific Sepolia Testnet -- Block Explorer Link: https://pacific-explorer.sepolia-testnet.manta.network -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/metis/android.mdx b/docs/connect-blockchain/evm/metis/android.mdx index 9c5407a36..1d3e02942 100644 --- a/docs/connect-blockchain/evm/metis/android.mdx +++ b/docs/connect-blockchain/evm/metis/android.mdx @@ -7,15 +7,7 @@ keywords: [android, metis, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Metis Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Metis Blockchain](https://metis.io) to make any blockchain -calls, like getting the user's `account`, fetching `balance`, signing transactions, sending -transactions, and interacting with smart contracts. We have highlighted a few key examples to get +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Metis](https://metis.io) to make any blockchain calls. We have highlighted a few here for getting you started quickly on that. -## Installation - - - -## Chain Details for Metis - - - - -- Chain ID: 0x440 -- Public RPC URL: https://andromeda.metis.io/?owner=1088 (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Andromeda Mainnet -- Block Explorer Link: https://andromeda-explorer.metis.io -- Ticker: METIS -- Ticker Name: Metis - - - - - -- Chain ID: 0xEA6E -- Public RPC URL: https://sepolia.metisdevops.link (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Sepolia Testnet -- Block Explorer Link: https://sepolia-explorer.metisdevops.link/ -- Ticker: tMetis -- Ticker Name: tMetis - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/mint/android.mdx b/docs/connect-blockchain/evm/mint/android.mdx index 83270e0f8..4f87f7298 100644 --- a/docs/connect-blockchain/evm/mint/android.mdx +++ b/docs/connect-blockchain/evm/mint/android.mdx @@ -7,15 +7,7 @@ keywords: [android, mint, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Mint Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Mint Blockchain](https://mintscan.org/) to make any blockchain -calls, like getting the user's `account`, fetching `balance`, signing transactions, sending -transactions, and interacting with smart contracts. We have highlighted a few key examples to get -you started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Mint](https://mintscan.io/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Mint - - - - -- Chain ID: 0xB9 -- Public RPC URL: https://rpc.mintchain.io (Avoid using public rpcTarget in production, use services - like Infura, Quicknode, etc.) -- Display Name: Mint Mainnet -- Block Explorer Link: https://explorer.mintchain.io -- Ticker: ETH -- Ticker Name: ETH - - - - - -- Chain ID: 0x697 -- Public RPC URL: https://sepolia-testnet-rpc.mintchain.io (Avoid using public rpcTarget in - production, use services like Infura, Quicknode, etc.) -- Display Name: Mint Sepolia Testnet -- Block Explorer Link: https://sepolia-testnet-explorer.mintchain.io -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/moonbeam/android.mdx b/docs/connect-blockchain/evm/moonbeam/android.mdx index b03b309c6..797872acd 100644 --- a/docs/connect-blockchain/evm/moonbeam/android.mdx +++ b/docs/connect-blockchain/evm/moonbeam/android.mdx @@ -7,15 +7,7 @@ keywords: [android, moonbeam, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Moonbeam Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Moonbeam](https://moonbeam.network/networks/moonbeam/) to make -any blockchain calls, like getting the user's `account`, fetching `balance`, `sign transaction`, -`send transaction`, `read` from and `write` to the smart contract, etc. We have highlighted a few -here to get you started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Moonbeam](https://moonbeam.network/networks/moonbeam/) to make any blockchain calls. We have +highlighted a few here for getting you started quickly on that. -## Installation - - - -## Chain Details for Moonbeam - - - - -- Chain ID: 0x504 -- Public RPC URL: https://rpc.ankr.com/moonbeam (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Moonbeam Mainnet -- Block Explorer Link: https://moonbeam.moonscan.io -- Ticker: GLMR -- Ticker Name: GLMR - - - - - -- Chain ID: 0x507 -- Public RPC URL: https://rpc.ankr.com/moonbeam (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Moonbeam Testnet -- Block Explorer Link: https://moonbase.moonscan.io -- Ticker: GLMR -- Ticker Name: GLMR - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/moonriver/android.mdx b/docs/connect-blockchain/evm/moonriver/android.mdx index def3f151f..c4446e66e 100644 --- a/docs/connect-blockchain/evm/moonriver/android.mdx +++ b/docs/connect-blockchain/evm/moonriver/android.mdx @@ -8,15 +8,7 @@ description: "Integrate Web3Auth with the Moonriver Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Moonriver](https://moonbeam.network/networks/moonriver/) to make -any blockchain calls, like getting the user's `account`, fetching `balance`, `sign transaction`, -`send transaction`, `read` from and `write` to the smart contract, etc. We have highlighted a few -here to get you started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Moonriver](https://moonriver.network/) to make any blockchain calls. We have highlighted a few here +for getting you started quickly on that. -## Installation - - - -## Chain Details for Moonriver - - - - -- Chain ID: 0x505 -- Public RPC URL: `https://rpc.api.moonriver.moonbeam.network` (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Moonriver Mainnet -- Block Explorer Link: https://moonriver.moonscan.io -- Ticker: MOVR -- Ticker Name: MOVR - - - - - -- Chain ID: 0x507 -- Public RPC URL: `https://rpc.api.moonriver.moonbeam.network` (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Moonriver Testnet -- Block Explorer Link: https://moonriver.moonscan.io -- Ticker: MOVR -- Ticker Name: MOVR - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/morph/android.mdx b/docs/connect-blockchain/evm/morph/android.mdx index 002797a44..cf7a49a58 100644 --- a/docs/connect-blockchain/evm/morph/android.mdx +++ b/docs/connect-blockchain/evm/morph/android.mdx @@ -7,15 +7,7 @@ keywords: [android, morph, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Morph Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -## Installation +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Morph](https://morphl2.io/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Morph - - - - - -- Chain ID: 0xa96 -- Public RPC URL: https://rpc-testnet.morphl2.io -- Display Name: Morph Testnet -- Block Explorer Link: https://explorer-testnet.morphl2.io/ -- Ticker: ETH -- Ticker Name: ETH - - - - -- Chain ID: 0xafa -- Public RPC URL: https://rpc-holesky.morphl2.io -- Display Name: Morph Holesky -- Block Explorer Link: https://explorer-holesky.morphl2.io/ -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/neon/android.mdx b/docs/connect-blockchain/evm/neon/android.mdx index 4057d61a1..da1e6a40a 100644 --- a/docs/connect-blockchain/evm/neon/android.mdx +++ b/docs/connect-blockchain/evm/neon/android.mdx @@ -7,15 +7,7 @@ keywords: [android, neon, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Neon Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Neon](https://neonevm.org/) to make any blockchain calls, like -getting the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from -and `write` to the smart contract, etc. We have highlighted a few here to get you started quickly on -that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Neon](https://neonevm.org/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Neon - - - - -- Chain ID: 0xe9ac0d6 -- Public RPC URL: https://neon-proxy-mainnet.solana.p2p.org (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Neon Mainnet -- Block Explorer Link: https://neonscan.org/ -- Ticker: NEON -- Ticker Name: NEON - - - - - -- Chain ID: 0xe9ac0d6 -- Public RPC URL: https://devnet.neonevm.org (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Neon Testnet -- Block Explorer Link: https://devnet.neonscan.org/ -- Ticker: NEON -- Ticker Name: NEON - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/nibiru/android.mdx b/docs/connect-blockchain/evm/nibiru/android.mdx index a30084717..a745a9eeb 100644 --- a/docs/connect-blockchain/evm/nibiru/android.mdx +++ b/docs/connect-blockchain/evm/nibiru/android.mdx @@ -7,15 +7,7 @@ keywords: [android, nibiru, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Nibiru Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Nibiru](https://nibiru.fi/) to make any blockchain calls, like -getting the user's `account`, fetching `balance`, `sign transaction`, `send transaction`, `read` -from and `write` to the smart contract, etc. We have highlighted a few here to get you started -quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Nibiru](https://nibiru.fi/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Nibiru - -:::note - -Nibiru is EVM compatible only for localnet for now. Kindly refer to the -[Nibiru documentation](https://nibiru.fi/docs/dev/evm/) and -[Nibiru Networks](https://nibiru.fi/docs/dev/networks/#evm-network-configs) for the latest updates -and EVM-related configs. - -::: - -:::info - -For Nibiru, the steps for creating a local block explorer are mentioned -[here](https://nibiru.fi/docs/dev/evm/quickstart.html#_4-local-explorer-optional). - -::: - - - - -- Chain ID: 0x100 -- Public RPC URL: http://127.0.0.1:8545 -- Display Name: Nibiru Localnet -- Block Explorer Link: (See the info placard above) -- Ticker: NIBI -- Ticker Name: Nibiru - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/opbnb/android.mdx b/docs/connect-blockchain/evm/opbnb/android.mdx index c9f38d8bd..369f87ad8 100644 --- a/docs/connect-blockchain/evm/opbnb/android.mdx +++ b/docs/connect-blockchain/evm/opbnb/android.mdx @@ -8,15 +8,7 @@ description: "Integrate Web3Auth with the BNB Optimistic Rolllup in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [opBNB](https://astar.network/) to make any blockchain calls, -like getting the user's `account`, fetching `balance`, `sign transaction`, `send transaction`, -`read` from and `write` to the smart contract, etc. We have highlighted a few here to get you -started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[opBNB](https://opbnb.bnbchain.org/) to make any blockchain calls. We have highlighted a few here +for getting you started quickly on that. -## Installation - - - -## Chain Details for opBNB - - - - - -- Chain ID: 0xCC -- Public RPC URL: `https://opbnb-mainnet-rpc.bnbchain.org` (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: opBNB Mainnet -- Block Explorer Link: https://opbnbscan.com -- Ticker: BNB -- Ticker Name: opBNB - - - - - -- Chain ID: 0x15EB -- Public RPC URL: https://opbnb-testnet-rpc.bnbchain.org/ (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: opBNB Testnet -- Block Explorer Link: https://testnet.opbnbscan.com -- Ticker: tBNB -- Ticker Name: opBNB - - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/optimism/android.mdx b/docs/connect-blockchain/evm/optimism/android.mdx index 63ee3ce6f..962ba65a8 100644 --- a/docs/connect-blockchain/evm/optimism/android.mdx +++ b/docs/connect-blockchain/evm/optimism/android.mdx @@ -7,15 +7,7 @@ keywords: [android, optimism, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Optimism Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Optimism](https://optimism.io/) to make any blockchain calls, -like getting the user's `account`, fetching `balance`, `sign transaction`, `send transaction`, -`read` from and `write` to the smart contract, etc. We have highlighted a few here to get you -started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Optimism](https://optimism.io/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Optimism - - - - -- Chain ID: 0xA -- Public RPC URL: https://rpc.ankr.com/optimism (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Optimism Mainnet -- Block Explorer Link: https://optimistic.etherscan.io -- Ticker: OP -- Ticker Name: OP - - - - - -- Chain ID: 0x45 -- Public RPC URL: https://rpc.ankr.com/optimism_testnet (Avoid using public rpcTarget in production, - use services like Infura, Quicknode etc) -- Display Name: Optimism Testnet -- Block Explorer Link: `https://kovan-optimistic.etherscan.io` -- Ticker: OP -- Ticker Name: OP - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/polygon/android.mdx b/docs/connect-blockchain/evm/polygon/android.mdx index 7e1e3deaa..85f3a263e 100644 --- a/docs/connect-blockchain/evm/polygon/android.mdx +++ b/docs/connect-blockchain/evm/polygon/android.mdx @@ -7,15 +7,7 @@ keywords: [android, polygon, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Polygon Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Polygon (formerly Matic)](https://polygon.technology/) to make -any blockchain calls, like getting the user's `account`, fetching `balance`, `sign transaction`, -`send transaction`, `read` from and `write` to the smart contract, etc. We have highlighted a few -here to get you started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Polygon](https://polygon.technology/) to make any blockchain calls. We have highlighted a few here +for getting you started quickly on that. -## Installation - - - -## Chain Details for Polygon - - - - -- Chain ID: 0x89 -- Public RPC URL: https://rpc.ankr.com/polygon (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Polygon Mainnet -- Block Explorer Link: https://polygonscan.com -- Ticker: POL -- Ticker Name: Polygon Ecosystem Token - - - - - -- Chain ID: 0x13882 -- Public RPC URL: https://rpc.ankr.com/polygon_amoy (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Polygon Amoy Testnet -- Block Explorer Link: https://amoy.polygonscan.com/ -- Ticker: POL -- Ticker Name: Polygon Ecosystem Token - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/rootstock/android.mdx b/docs/connect-blockchain/evm/rootstock/android.mdx index b6ab0dbae..206bae455 100644 --- a/docs/connect-blockchain/evm/rootstock/android.mdx +++ b/docs/connect-blockchain/evm/rootstock/android.mdx @@ -8,15 +8,7 @@ description: "Integrate Web3Auth with the Rootstock Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -## Installation +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Rootstock](https://rootstock.io/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Rootstock - - - - - -- Chain ID: 0x1e -- Public RPC URL: https://rootstock.drpc.org -- Display Name: Rootstock Mainnet -- Block Explorer Link: https://explorer.rootstock.io -- Ticker: RBTC -- Ticker Name: RBTC - - - - -- Chain ID: 0x1f -- Public RPC URL: https://public-node.testnet.rsk.co -- Display Name: Rootstock Testnet -- Block Explorer Link: https://explorer.testnet.rootstock.io -- Ticker: tRBTC -- Ticker Name: tRBTC - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/saakuru/android.mdx b/docs/connect-blockchain/evm/saakuru/android.mdx index 86162c15a..e3a43ad2f 100644 --- a/docs/connect-blockchain/evm/saakuru/android.mdx +++ b/docs/connect-blockchain/evm/saakuru/android.mdx @@ -7,15 +7,7 @@ keywords: [android, saakuru, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Saakuru Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -## Installation +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Saakuru](https://saakuru.com/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Saakuru - - - - -- Chain ID: 0x6E23D6 -- Public RPC URL: https://rpc.saakuru.network -- Display Name: Saakuru Mainnet -- Block Explorer Link: https://explorer.saakuru.network/ -- Ticker: OAS -- Ticker Name: Saakuru - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/shardeum/android.mdx b/docs/connect-blockchain/evm/shardeum/android.mdx index 25b31b737..6a08eed5f 100644 --- a/docs/connect-blockchain/evm/shardeum/android.mdx +++ b/docs/connect-blockchain/evm/shardeum/android.mdx @@ -7,15 +7,7 @@ keywords: [android, shardeum, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Shardeum Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -## Installation +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Shardeum](https://shardeum.org/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for Shardeum - - - - - -- Chain ID: 0x1F92 -- Public RPC URL: https://atomium.shardeum.org -- Display Name: Shardeum Atomium -- Block Explorer Link: https://explorer-atomium.shardeum.org/ -- Ticker: SHM -- Ticker Name: SHM - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/skale/android.mdx b/docs/connect-blockchain/evm/skale/android.mdx index c50e8ba95..8b0e408b0 100644 --- a/docs/connect-blockchain/evm/skale/android.mdx +++ b/docs/connect-blockchain/evm/skale/android.mdx @@ -7,15 +7,7 @@ keywords: [android, skale, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Skale Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [SKALE](https://skale.space/) to make any blockchain calls, like -getting the user's `account`, fetching `balance`, `sign transaction`, `send transaction`, `read` -from and `write` to the smart contract, etc. We have highlighted a few here to get you started -quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Skale](https://skale.space/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Skale - -### Getting the `chainConfig` for Europa Hub - - - - -- Chain ID: 0x79f99296 -- Public RPC URL: https://mainnet.skalenodes.com/v1/elated-tan-skat (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: SKALE Europa Hub Mainnet -- Block Explorer Link: https://elated-tan-skat.explorer.mainnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - - -- Chain ID: 0x561bf78b -- Public RPC URL: https://testnet.skalenodes.com/v1/juicy-low-small-testnet (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Europa Hub Testnet -- Block Explorer Link: https://juicy-low-small-testnet.explorer.testnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - -### Getting the `chainConfig` for Calypso Hub - - - - -- Chain ID: 0x5d456c62 -- Public RPC URL: https://mainnet.skalenodes.com/v1/honorable-steel-rasalhague (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Calypso Hub Mainnet -- Block Explorer Link: https://honorable-steel-rasalhague.explorer.mainnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - - -- Chain ID: 0x3a14269b -- Public RPC URL: https://testnet.skalenodes.com/v1/giant-half-dual-testnet (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Calypso Hub Testnet -- Block Explorer Link: https://giant-half-dual-testnet.explorer.testnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - -### Getting the `chainConfig` for Nebula Gaming Hub - - - - -- Chain ID: 0x585eb4b1 -- Public RPC URL: https://mainnet.skalenodes.com/v1/green-giddy-denebola (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Nebula Gaming Hub Mainnet -- Block Explorer Link: https://green-giddy-denebola.explorer.mainnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - - -- Chain ID: 0x0235ddd0 -- Public RPC URL: https://testnet.skalenodes.com/v1/lanky-ill-funny-testnet (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Nebula Gaming Hub Testnet -- Block Explorer Link: https://lanky-ill-funny-testnet.explorer.testnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - -### Getting the `chainConfig` for Titan Hub - - - - -- Chain ID: 0x507aaa2a -- Public RPC URL: https://mainnet.skalenodes.com/v1/parallel-stormy-spica (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Titan Hub Mainnet -- Block Explorer Link: https://parallel-stormy-spica.explorer.mainnet.skalenodes.com -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - - -- Chain ID: 0x3cd156dc -- Public RPC URL: https://testnet.skalenodes.com/v1/aware-fake-trim-testnet (Avoid using public - rpcTarget in production, use services like Infura, Quicknode etc) -- Display Name: SKALE Titan Hub Testnet -- Block Explorer Link: https://aware-fake-trim-testnet.explorer.testnet.skalenodes.com/ -- Ticker: sFUEL -- Ticker Name: sFUEL - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/soneium/android.mdx b/docs/connect-blockchain/evm/soneium/android.mdx index 3f7e88635..dc4f53cdb 100644 --- a/docs/connect-blockchain/evm/soneium/android.mdx +++ b/docs/connect-blockchain/evm/soneium/android.mdx @@ -7,15 +7,7 @@ keywords: [android, soneium, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Soneium Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Soneium](https://soneium.org) to make any blockchain calls, like -getting the user's `account`, fetching `balance`, `sign transaction`, `send transaction`, `read` -from and `write` to the smart contract, etc. We have highlighted a few here to get you started -quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Soneium](https://soneium.org) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Soneium - -:::note - -[Soneium](https://docs.soneium.org/docs/builders/overview) is currently available on the testnet. -The mainnet is coming soon. - -::: - - - - - -```typescript -const chainConfig = { - chainNamespace: CHAIN_NAMESPACES.EIP155, - chainId: "0x799", // hex of 1945 - rpcTarget: "https://rpc.soneium.org", - displayName: "Soneium Mainnet Network", - blockExplorerUrl: "https://explorer.soneium.org", - ticker: "ETH", - tickerName: "ETH", - logo: "https://cryptologos.cc/logos/soneium-logo.png", -}; -``` - - - - - -```typescript -const chainConfig = { - chainNamespace: CHAIN_NAMESPACES.EIP155, - chainId: "0x79a", // hex of 1946 - rpcTarget: "https://rpc.minato.soneium.org", - displayName: "Soneium Minato Testnet", - blockExplorerUrl: "https://explorer-testnet.soneium.org", - ticker: "ETH", - tickerName: "ETH", - logo: "https://cryptologos.cc/logos/soneium-logo.png", - // faucet- "https://bridge.soneium.org/en/testnet" bridge the sepolia ETH to Soneium -}; -``` - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/songbird/android.mdx b/docs/connect-blockchain/evm/songbird/android.mdx index 8e976514c..4658cb0fb 100644 --- a/docs/connect-blockchain/evm/songbird/android.mdx +++ b/docs/connect-blockchain/evm/songbird/android.mdx @@ -7,15 +7,7 @@ keywords: [android, songbird, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Songbird Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Songbird](https://www.flare.network) to make any blockchain -calls, like getting the user's `account`, fetching `balance`, `sign transaction`, -`send transaction`, `read` from and `write` to the smart contract, etc. We have highlighted a few -here to get you started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Songbird](https://www.flare.network) to make any blockchain calls. We have highlighted a few here +for getting you started quickly on that. -## Installation - - - -## Chain Details for Songbird - - - - -- Chain ID: 0x13 -- Public RPC URL: https://songbird-api.flare.network/ext/C/rpc (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Songbird canary network -- Block Explorer Link: https://songbird-explorer.flare.network -- Ticker: SGB -- Ticker Name: SGB - - - - - -- Chain ID: 0x10 -- Public RPC URL: https://coston-api.flare.network/ext/C/rpc (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Coston testnet -- Block Explorer Link: https://coston-explorer.flare.network -- Ticker: CFLR -- Ticker Name: CFLR - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/xpla/android.mdx b/docs/connect-blockchain/evm/xpla/android.mdx index 918025fd3..8de191edb 100644 --- a/docs/connect-blockchain/evm/xpla/android.mdx +++ b/docs/connect-blockchain/evm/xpla/android.mdx @@ -6,15 +6,7 @@ keywords: [android, xpla, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the XPLA Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [XPLA](https://xpla.io/) to make any blockchain calls, like -getting the user's `account`, fetching `balance`, `sign transaction`, `send transaction`, `read` -from and `write` to the smart contract, etc. We have highlighted a few here to get you started -quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[XPLA](https://xpla.io/) to make any blockchain calls. We have highlighted a few here for getting +you started quickly on that. -## Installation - - - -## Chain Details for XPLA - - - - -- Chain ID: 0x25 -- Public RPC URL: https://dimension-evm-rpc.xpla.dev -- Display Name: XPLA Mainnet -- Block Explorer Link: https://explorer.xpla.io -- Ticker: XPLA -- Ticker Name: XPLA - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/zetachain/android.mdx b/docs/connect-blockchain/evm/zetachain/android.mdx index d657b3039..74d4f5ca5 100644 --- a/docs/connect-blockchain/evm/zetachain/android.mdx +++ b/docs/connect-blockchain/evm/zetachain/android.mdx @@ -8,15 +8,7 @@ description: "Integrate Web3Auth with the ZetaChain Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -## Installation +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[ZetaChain](https://zetachain.com/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. - - -## Chain Details for ZetaChain - - - - - -- Chain ID: 0x1B58 -- Public RPC URL: https://zetachain-mainnet.g.allthatnode.com/archive/evm -- Display Name: ZetaChain Mainnet -- Block Explorer Link: https://zetachain.blockscout.com/ -- Ticker: ZETA -- Ticker Name: ZETA - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/zilliqa/android.mdx b/docs/connect-blockchain/evm/zilliqa/android.mdx index 3cb29deb0..47534c6f1 100644 --- a/docs/connect-blockchain/evm/zilliqa/android.mdx +++ b/docs/connect-blockchain/evm/zilliqa/android.mdx @@ -7,15 +7,7 @@ keywords: [android, zilliqa, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Zilliqa Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Zilliqa Blockchain](https://www.zilliqa.com/) to make any -blockchain calls, like getting the user's `account`, fetching `balance`, `sign transaction`, -`send transaction`, `read` from and `write` to the smart contract, etc. We have highlighted a few -here to get you started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Zilliqa](https://www.zilliqa.com/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Zilliqa - - - - -- Chain ID: 0x814f -- Public RPC URL: https://api.zq2-prototestnet.zilliqa.com (Avoid using public rpcTarget in - production, use services like Infura, Quicknode etc) -- Display Name: Zilliqa 2 EVM Testnet -- Block Explorer Link: https://explorer.zq2-prototestnet.zilliqa.com -- Ticker: ZIL -- Ticker Name: Zilliqa - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/zircuit/android.mdx b/docs/connect-blockchain/evm/zircuit/android.mdx index 3cbdd631f..4f397f911 100644 --- a/docs/connect-blockchain/evm/zircuit/android.mdx +++ b/docs/connect-blockchain/evm/zircuit/android.mdx @@ -7,15 +7,7 @@ keywords: [android, zircuit, web3auth, authentication, blockchain] description: "Integrate Web3Auth with the Zircuit Blockchain in Android | Documentation - Web3Auth" --- -import InstallationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-installation.mdx"; -import GetAccountSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-account.mdx"; -import UserInfoSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-user-info.mdx"; -import GetBalanceSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-get-balance.mdx"; -import InitialisationSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-initialisation.mdx"; -import SignMessageSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-sign-message.mdx"; -import SendTransactionSnippet from "@site/src/common/docs/android-connect-blockchain/_evm-send-transaction.mdx"; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import EVMInteraction from "@site/src/common/docs/android-connect-blockchain/_evm-interaction.mdx"; import SEO from "@site/src/components/SEO"; -While using the Web3Auth Android SDK, you get the private key and sessionId within the user scope. -This private key can interact with [Zircuit Blockchain](https://zircuit.com) to make any blockchain -calls, like getting the user's `account`, fetching `balance`, signing transactions, sending -transactions, and interacting with smart contracts. We have highlighted a few key examples to get -you started quickly on that. +While using the Web3Auth Android SDK, you get the private key within the user scope after successful +authorization. This private key can be used to retrieve the user's address, and interact with +[Zircuit](https://zircuit.com/) to make any blockchain calls. We have highlighted a few here for +getting you started quickly on that. -## Installation - - - -## Chain Details for Zircuit - - - - -- Network Name: Zircuit -- Chain ID: 0xBF04 // hex of 48900 -- Public RPC URL: https://zircuit1-mainnet.p2pify.com/ (Avoid using public rpcTarget in production, - use services like Infura, Quicknode etc) -- Display Name: Zircuit Mainnet -- Block Explorer Link: https://explorer.zircuit.com -- Ticker: ETH -- Ticker Name: ETH - - - - - -- Network Name: Zircuit Testnet -- Chain ID: 0xBF03 // hex of 48899 -- Public RPC URL: https://zircuit1.p2pify.com/ (Avoid using public rpcTarget in production, use - services like Infura, Quicknode etc) -- Display Name: Zircuit Testnet -- Block Explorer Link: https://explorer.testnet.zircuit.com/ -- Ticker: ETH -- Ticker Name: ETH - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/src/common/docs/android-connect-blockchain/_evm-get-account.mdx b/src/common/docs/android-connect-blockchain/_evm-get-account.mdx index 235e48713..bf6f7cb5b 100644 --- a/src/common/docs/android-connect-blockchain/_evm-get-account.mdx +++ b/src/common/docs/android-connect-blockchain/_evm-get-account.mdx @@ -1,11 +1,19 @@ +Once user has successfully logged in, you can retrieve the user's private key using the `getPrivKey` +method from Web3Auth instance. We'll use this private key to generate the Credentials for the user. + +This Credentials object has the user's key pair of private key and public key, and can be used to +sign the transactions. Please note, that this assumes that the user has already logged in and the +private key is available. + ```kotlin -private fun getAddress(): String { - println("Address:, ${credentials.address}") - // focus-next-line - return credentials.address -} - -// Setup UI and event handlers -val getAccountButton = findViewById