diff --git a/docs/auth-provider-setup/authentication-service-providers/auth0-service-provider.mdx b/docs/auth-provider-setup/authentication-service-providers/auth0-service-provider.mdx index 7aa75fc3d..86eab37b7 100644 --- a/docs/auth-provider-setup/authentication-service-providers/auth0-service-provider.mdx +++ b/docs/auth-provider-setup/authentication-service-providers/auth0-service-provider.mdx @@ -107,18 +107,18 @@ export const Auth0Guides = [ icon: "logo-js.png", path: "/docs/guides/auth0", }, - { - key: "android", - title: "Android (Kotlin)", - icon: "logo-android.png", - path: "/docs/guides/android-auth0", - }, - { - key: "ios", - title: "iOS (Swift)", - icon: "logo-apple.png", - path: "/docs/guides/ios-auth0", - }, + // { + // key: "android", + // title: "Android (Kotlin)", + // icon: "logo-android.png", + // path: "/docs/guides/android-auth0", + // }, + // { + // key: "ios", + // title: "iOS (Swift)", + // icon: "logo-apple.png", + // path: "/docs/guides/ios-auth0", + // }, { key: "flutter", title: "Flutter", diff --git a/docs/auth-provider-setup/authentication-service-providers/firebase-service-provider.mdx b/docs/auth-provider-setup/authentication-service-providers/firebase-service-provider.mdx index 15e7da241..c2e3e872a 100644 --- a/docs/auth-provider-setup/authentication-service-providers/firebase-service-provider.mdx +++ b/docs/auth-provider-setup/authentication-service-providers/firebase-service-provider.mdx @@ -84,12 +84,12 @@ export const FirebaseGuides = [ icon: "logo-js.png", path: "/docs/guides/firebase", }, - { - key: "android", - title: "Android (Kotlin)", - icon: "logo-android.png", - path: "/docs/guides/android-firebase", - }, + // { + // key: "android", + // title: "Android (Kotlin)", + // icon: "logo-android.png", + // path: "/docs/guides/android-firebase", + // }, { key: "flutter", title: "Flutter", 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/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/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/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/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/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/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/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/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-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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/opbnb/flutter.mdx b/docs/connect-blockchain/evm/opbnb/flutter.mdx index 5ee23f9a9..9b0af5fdb 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://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 Transaction - - - -## Smart Contract - - - -### Deploy Contract - - - -### Read From Contract - - - -### Write to Contract - - + 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/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/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/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/android.mdx b/docs/connect-blockchain/evm/polygon/android.mdx index e0b233cbc..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: MATIC -- Ticker Name: MATIC - - - - - -- 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: MATIC -- Ticker Name: MATIC - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/polygon/flutter.mdx b/docs/connect-blockchain/evm/polygon/flutter.mdx index ca8d81690..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: MATIC -- Ticker Name: MATIC - - - - - -- 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: MATIC -- Ticker Name: MATIC - - - - -## 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/ios.mdx b/docs/connect-blockchain/evm/polygon/ios.mdx index d0c8179a8..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: MATIC -- Ticker Name: MATIC - - - - - -- 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: MATIC -- Ticker Name: MATIC - - - - -## Initialize - - - -## Get User Info - - - -## Get Account - - - -## Get Balance - - - -## Send Transaction - - - -## Sign a message - - + diff --git a/docs/connect-blockchain/evm/polygon/react-native.mdx b/docs/connect-blockchain/evm/polygon/react-native.mdx index 2221d7339..aa57bb144 100644 --- a/docs/connect-blockchain/evm/polygon/react-native.mdx +++ b/docs/connect-blockchain/evm/polygon/react-native.mdx @@ -67,8 +67,8 @@ const chainConfig = { // Use services like Infura, Quicknode etc displayName: "Polygon Mainnet", blockExplorer: "https://polygonscan.com", - ticker: "MATIC", - tickerName: "Matic", + ticker: "POL", + tickerName: "Polygon Ecosystem Token", }; ``` @@ -87,8 +87,8 @@ const chainConfig = { // Use services like Infura, Quicknode etc displayName: "Polygon Amoy Testnet", blockExplorer: "https://amoy.polygonscan.com/", - ticker: "MATIC", - tickerName: "Matic", + ticker: "POL", + tickerName: "Polygon Ecosystem Token", }; ``` diff --git a/docs/connect-blockchain/evm/polygon/unity.mdx b/docs/connect-blockchain/evm/polygon/unity.mdx index 6a9fc5c61..34e4cdf0c 100644 --- a/docs/connect-blockchain/evm/polygon/unity.mdx +++ b/docs/connect-blockchain/evm/polygon/unity.mdx @@ -53,8 +53,8 @@ started quickly on that. services like Infura, Quicknode etc) - Display Name: Polygon Mainnet - Block Explorer Link: https://polygonscan.com -- Ticker: MATIC -- Ticker Name: MATIC +- Ticker: POL +- Ticker Name: Polygon Ecosystem Token @@ -67,8 +67,8 @@ started quickly on that. services like Infura, Quicknode etc) - Display Name: Polygon Amoy Testnet - Block Explorer Link: https://amoy.polygonscan.com -- Ticker: MATIC -- Ticker Name: MATIC +- Ticker: POL +- Ticker Name: Polygon Ecosystem Token diff --git a/docs/connect-blockchain/evm/polygon/web.mdx b/docs/connect-blockchain/evm/polygon/web.mdx index 2c0accb51..f1d9da0ca 100644 --- a/docs/connect-blockchain/evm/polygon/web.mdx +++ b/docs/connect-blockchain/evm/polygon/web.mdx @@ -87,8 +87,8 @@ const chainConfig = { // Use services like Infura, Quicknode etc displayName: "Polygon Mainnet", blockExplorerUrl: "https://polygonscan.com", - ticker: "MATIC", - tickerName: "MATIC", + ticker: "POL", + tickerName: "Polygon Ecosystem Token", logo: "https://cryptologos.cc/logos/polygon-matic-logo.png", }; ``` @@ -108,8 +108,8 @@ const chainConfig = { // Use services like Infura, Quicknode etc displayName: "Polygon Amoy Testnet", blockExplorerUrl: "https://amoy.polygonscan.com/", - ticker: "MATIC", - tickerName: "MATIC", + ticker: "POL", + tickerName: "Polygon Ecosystem Token", logo: "https://cryptologos.cc/logos/polygon-matic-logo.png", }; ``` 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/docs/connect-blockchain/other/starknet.mdx b/docs/connect-blockchain/other/starknet.mdx index 650210f06..a8b2014e6 100644 --- a/docs/connect-blockchain/other/starknet.mdx +++ b/docs/connect-blockchain/other/starknet.mdx @@ -1,10 +1,10 @@ --- -title: Integrate Web3Auth with the Starknet Blockchain -sidebar_label: Starknet +title: Integrate Web3Auth with the StarkNet Blockchain +sidebar_label: StarkNet image: "banners/starknet.png" keywords: [starknet, web3auth, authentication, blockchain] -description: "Integrate Web3Auth with the Starknet Blockchain | Documentation - Web3Auth" +description: "Integrate Web3Auth with the StarkNet Blockchain | Documentation - Web3Auth" --- import GetUserInfoSnippet from "@site/src/common/docs/_get-userinfo.mdx"; @@ -13,18 +13,18 @@ import GetWeb3AuthProvider from "@site/src/common/docs/_get-web3auth-provider.md import TabItem from "@theme/TabItem"; import Tabs from "@theme/Tabs"; -While using the Web3Auth Web SDK for a non EVM chain like [Starknet](https://www.starknet.io/) you -get a standard provider from which you can get the private key of the user. Using this private key, -you can use the corresponding libraries of the blockchain to make blockchain calls like getting +While using the Web3Auth Web SDK for a non EVM chain like [StarkNet](https://starkware.co/starknet/) +you get a standard provider from which you can get the private key of the user. Using this private +key, you can use the corresponding libraries of the blockchain to make 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 methods here for getting you started quickly on that. :::note -This reference is for the `Web`, however, you can use Starknet on other Mobile and Gaming Platforms +This reference is for the `Web`, however, you can use StarkNet on other Mobile and Gaming Platforms as well. Please follow our reference for [EVM Blockchains](/connect-blockchain/evm/), and similarly -use Starknet libraries that support the platforms to use the private key and make blockchain calls +use StarkNet libraries that support the platforms to use the private key and make blockchain calls accordingly. ::: @@ -56,10 +56,10 @@ const chainConfig = { chainId: "0x1", // rpcTarget: "https://rpc.ankr.com/eth", // Avoid using public rpcTarget in production. - displayName: "Starknet Mainnet", + displayName: "StarkNet Mainnet", blockExplorerUrl: "https://explorer.immutable.com", ticker: "STRK", - tickerName: "Starknet", + tickerName: "StarkNet", }; ``` @@ -75,10 +75,10 @@ const chainConfig = { chainId: "0xaa36a7", // rpcTarget: "https://rpc.ankr.com/eth_sepolia", // Avoid using public rpcTarget in production. - displayName: "Starknet Testnet", + displayName: "StarkNet Testnet", blockExplorerUrl: "https://sepolia.etherscan.io", ticker: "STRK", - tickerName: "Starknet", + tickerName: "StarkNet", }; ``` @@ -97,20 +97,20 @@ const chainConfig = { ## Get Account and Key -Once a user logs in, the Web3Auth SDK returns a provider. Even though Starknet is a layer 2 on +Once a user logs in, the Web3Auth SDK returns a provider. Even though StarkNet is a layer 2 on Ethereum, it is not EVM compatible. Hence to use it, one cannot use the native [`EIP1193`](https://eips.ethereum.org/EIPS/eip-1193) provider that Web3Auth gives for EVM blockchains. Hence we need to directly use the private key to make the calls here. Using the function, `web3auth.provider.request({method: "private_key"})` from Web3Auth provider, the -application can have access to the user's private key. However, we cannot use this key with Starknet +application can have access to the user's private key. However, we cannot use this key with StarkNet EC Curve specific signing functions, hence, we first derive the Stark Key using the `getStarkKey()` function. On the underhood, it uses the `starkwareCrypto.ec.keyFromPrivate()` function, where we pass our Private key with the `hex` argument since it is hex encoded. Further, we get the public key from this using the `starkwareCrypto.ec.keyFromPublic()` function, and we take its X-coordinate using -`.pub.getX()` which is our `starkKey`. We use this `starkKey` on Starknet transactions. +`.pub.getX()` which is our `starkKey`. We use this `starkKey` on StarkNet transactions. For the `deployAccount()`, we use the file `ArgentAccount.json` which gives us the ABI of the compiled contract. We use that contract in Starknet's `defaultProvider.deployContract()` function to @@ -131,7 +131,7 @@ const keyPair = starkwareCrypto.ec.keyFromPrivate(privateKey, "hex"); // get the account address from the public key const account = starkwareCrypto.ec.keyFromPublic(keyPair.getPublic(true, "hex"), "hex"); -// Use this key for the Starknet transactions +// Use this key for the StarkNet transactions const startKey = account.pub.getX().toString("hex"); ``` diff --git a/docs/how-web3auth-works.mdx b/docs/how-web3auth-works.mdx index 042ed5114..5a6eb2b30 100644 --- a/docs/how-web3auth-works.mdx +++ b/docs/how-web3auth-works.mdx @@ -93,7 +93,7 @@ implementation of Web3Auth PnP and Core-Kit. With the Web3Auth infrastructure, your key is divided into multiple parts and stored across your devices and our Auth Network. This ensures that your key is always available and never stored in a single place. While in the traditional Web3Auth SDK, your key was dynamically reconstructed in the -front end using threshold signatures. +front end using shamir secret sharing. With the new Web3Auth MPC (Multi-Party Computation) architecture, it is **never reconstructed**. Instead, these partial keys are stored across different locations, and your device is used to make diff --git a/docs/migration-guides/android-v5-to-v6.mdx b/docs/migration-guides/android-v5-to-v6.mdx index 46bc62e0e..80f274b62 100644 --- a/docs/migration-guides/android-v5-to-v6.mdx +++ b/docs/migration-guides/android-v5-to-v6.mdx @@ -33,6 +33,7 @@ users. > + ```kotlin title="Usage" import android.widget.Button import com.web3auth.core.Web3Auth @@ -66,10 +67,12 @@ class MainActivity : AppCompatActivity() { private lateinit var web3Auth: Web3Au } -```` +``` + + ```kotlin title="Usage" import android.widget.Button import com.web3auth.core.Web3Auth @@ -107,7 +110,7 @@ class MainActivity : AppCompatActivity() { private lateinit var web3Auth: Web3Au ... } -```` +``` diff --git a/docs/migration-guides/flutter-v3-to-v4.mdx b/docs/migration-guides/flutter-v3-to-v4.mdx index 68b1fee18..bf8cd5f01 100644 --- a/docs/migration-guides/flutter-v3-to-v4.mdx +++ b/docs/migration-guides/flutter-v3-to-v4.mdx @@ -42,6 +42,7 @@ in users. > + ```dart title="Usage" try { // focus-next-line @@ -52,9 +53,11 @@ try { log("Unknown exception occurred"); } ``` + + ```dart title="Usage" try { final loginParams = LoginParams( @@ -67,23 +70,28 @@ try { // focus-next-line await Web3AuthFlutter.enableMFA(loginParams); -} on UserCancelledException { log("User cancelled."); } catch(e) { log("Unknown exceptionoccurred"); +} on UserCancelledException { + log("User cancelled."); +} catch(e) { + log("Unknown exceptionoccurred"); } -```` +``` + ### `launchWalletServices` method -From v4, developers can use the `launchWalletServices` to launches a WebView which allows them to use the templated wallet UI -services. Developers can pass the `ChainConfig` to launch wallet services with a specific chain selected. +From v4, developers can use the `launchWalletServices` to launches a WebView which allows them to +use the templated wallet UI services. Developers can pass the `ChainConfig` to launch wallet +services with a specific chain selected. :::note -Access to Wallet Services is gated. You can use this feature in `sapphire_devnet` for -free. The minimum [pricing plan](https://web3auth.io/pricing.html) to use this feature in a -production environment is the **Scale Plan**. +Access to Wallet Services is gated. You can use this feature in `sapphire_devnet` for free. The +minimum [pricing plan](https://web3auth.io/pricing.html) to use this feature in a production +environment is the **Scale Plan**. ::: @@ -118,7 +126,7 @@ try { } catch(e) { log("Unknown exception occurred"); } -```` +``` ### `request` method diff --git a/docs/migration-guides/ios-v7-to-v8.mdx b/docs/migration-guides/ios-v7-to-v8.mdx index 6ec1bccc1..2d9cd8699 100644 --- a/docs/migration-guides/ios-v7-to-v8.mdx +++ b/docs/migration-guides/ios-v7-to-v8.mdx @@ -45,6 +45,7 @@ do { + ```swift title="Usage" do { let loginParams = W3ALoginParams( @@ -55,23 +56,27 @@ do { // focus-next-line let isMFAEnabled = try await self.web3Auth.enableMFA(loginParams) -} catch { print(error.localizedDescription) // Handle Error } +} catch { + print(error.localizedDescription) + // Handle Error +} -```` +``` ### `launchWalletServices` method -From v8, developers can use the `launchWalletServices` to launches a WebView which allows them to use the templated wallet UI -services. Developers can pass the `ChainConfig` in `W3AInitParams` to open wallet services with a specific chain selected. +From v8, developers can use the `launchWalletServices` to launches a WebView which allows them to +use the templated wallet UI services. Developers can pass the `ChainConfig` in `W3AInitParams` to +open wallet services with a specific chain selected. :::note -Access to Wallet Services is gated. You can use this feature in `sapphire_devnet` for -free. The minimum [pricing plan](https://web3auth.io/pricing.html) to use this feature in a -production environment is the **Scale Plan**. +Access to Wallet Services is gated. You can use this feature in `sapphire_devnet` for free. The +minimum [pricing plan](https://web3auth.io/pricing.html) to use this feature in a production +environment is the **Scale Plan**. ::: @@ -116,7 +121,7 @@ do { } catch { // Handle error } -```` +``` ### `request` method diff --git a/docs/product/pnp.mdx b/docs/product/pnp.mdx index 63aa76257..423388e46 100644 --- a/docs/product/pnp.mdx +++ b/docs/product/pnp.mdx @@ -5,8 +5,28 @@ sidebar_label: Plug and Play description: "Plug and Play | Documentation - Web3Auth" --- -import ModalAnim from "@site/src/components/ModalAnim"; -import { pnpweb, pnpmobile, pnpgaming } from "@site/src/components/SDKReferenceCards"; +import BrowserOnly from "@docusaurus/BrowserOnly"; + +export const PnPContent = () => ( + + {() => { + const SDKReferenceCards = require('@site/src/components/SDKReferenceCards').default; + return ( + <> +

Web3Auth Plug and Play Web SDKs

+ + +

Web3Auth Plug and Play Mobile SDKs

+ + +

Web3Auth Plug and Play Gaming SDKs

+ + + ); + }} + +
+); Web3Auth's Plug and Play (PnP) SDKs are engineered to redefine the key management integration for wallets and dApps, focusing on efficiency, user convenience, and security. These SDKs are not just @@ -19,7 +39,12 @@ non-custodial solution by default. It offers a predefined UI/UX flow, with full options, and is available for all major platforms. This helps you to focus on your core product, while we take care of the wallet management and user authentication. - + + {() => { + const ModalAnim = require("@site/src/components/ModalAnim").default; + return ; + }} + ## Key Features @@ -52,20 +77,4 @@ embedded wallets with a focus on security, user experience, and ease of integrat MPC-based key management and customizable features, it establishes a new standard for dApp development. -## Web3Auth Plug and Play Web SDKs - ---- - -{ pnpweb } - -## Web3Auth Plug and Play Mobile SDKs - ---- - -{ pnpmobile } - -## Web3Auth Plug and Play Gaming SDKs - ---- - -{ pnpgaming } + diff --git a/docs/sdk/core-kit/mpc-core-kit/initialize.mdx b/docs/sdk/core-kit/mpc-core-kit/initialize.mdx index e2f461b9e..98a9cf74d 100644 --- a/docs/sdk/core-kit/mpc-core-kit/initialize.mdx +++ b/docs/sdk/core-kit/mpc-core-kit/initialize.mdx @@ -248,16 +248,21 @@ export declare const UX_MODE: { > + ```javascript import { Web3AuthMPCCoreKit, WEB3AUTH_NETWORK } from "@web3auth/mpc-core-kit"; // focus-next-line import { tssLib } from "@toruslabs/tss-dkls-lib"; -const coreKitInstance = new Web3AuthMPCCoreKit({ web3AuthClientId: "YOUR_CLIENT_ID", -web3AuthNetwork: WEB3AUTH_NETWORK.MAINNET, manualSync: true, // This is the recommended approach -tssLib: tssLib, storage: window.storage, }); +const coreKitInstance = new Web3AuthMPCCoreKit({ + web3AuthClientId: "YOUR_CLIENT_ID", + web3AuthNetwork: WEB3AUTH_NETWORK.MAINNET, + manualSync: true, // This is the recommended approach + tssLib: tssLib, + storage: window.storage, +}); +``` -```` @@ -274,7 +279,7 @@ const coreKitInstance = new Web3AuthMPCCoreKit({ tssLib: tssLib, storage: window.storage, }); -```` +``` diff --git a/docs/sdk/core-kit/sfa-android/usage.mdx b/docs/sdk/core-kit/sfa-android/usage.mdx index d574ce4fc..7d2c8e843 100644 --- a/docs/sdk/core-kit/sfa-android/usage.mdx +++ b/docs/sdk/core-kit/sfa-android/usage.mdx @@ -14,7 +14,7 @@ users and obtain their private and public keys. :::tip NOTE -Web3Auth SFA iOS SDK only works for users who have **not enabled MFA**. For MFA enabled users, +Web3Auth SFA Android SDK only works for users who have **not enabled MFA**. For MFA enabled users, you'll see an Error message. ::: diff --git a/docs/sdk/core-kit/sfa-ios/authentication.mdx b/docs/sdk/core-kit/sfa-ios/authentication.mdx index ab4ccb645..0458f4973 100644 --- a/docs/sdk/core-kit/sfa-ios/authentication.mdx +++ b/docs/sdk/core-kit/sfa-ios/authentication.mdx @@ -1,8 +1,8 @@ --- -title: "Authentication in Core Kit SFA iOS SDK" +title: "Authentication in Core Kit SFA Swift SDK" sidebar_label: "Authentication" description: - "Web3Auth Core Kit Single Factor Auth iOS SDK - Authentication | Documentation - Web3Auth" + "Web3Auth Core Kit Single Factor Auth Swift SDK - Authentication | Documentation - Web3Auth" --- import AuthenticationInSFA from "@site/src/common/sdk/core-kit/sfa/_auth_in_core_kit_sfa.mdx"; diff --git a/docs/sdk/core-kit/sfa-ios/examples.mdx b/docs/sdk/core-kit/sfa-ios/examples.mdx index dc0dd0f61..c2ca762dd 100644 --- a/docs/sdk/core-kit/sfa-ios/examples.mdx +++ b/docs/sdk/core-kit/sfa-ios/examples.mdx @@ -1,7 +1,7 @@ --- -title: Examples - Core Kit SFA iOS SDK +title: Examples - Core Kit SFA Swift SDK sidebar_label: Examples -description: "Core Kit SFA iOS Examples | Documentation - Web3Auth" +description: "Core Kit SFA Swift Examples | Documentation - Web3Auth" hide_table_of_contents: true --- diff --git a/docs/sdk/core-kit/sfa-ios/initialize.mdx b/docs/sdk/core-kit/sfa-ios/initialize.mdx index 1e9168c5b..d011a57cf 100644 --- a/docs/sdk/core-kit/sfa-ios/initialize.mdx +++ b/docs/sdk/core-kit/sfa-ios/initialize.mdx @@ -1,7 +1,7 @@ --- -title: Initializing SFA iOS SDK +title: Initializing SFA Swift SDK sidebar_label: Initialize -description: "Web3Auth SFA iOS SDK - Initialization | Documentation - Web3Auth" +description: "Web3Auth SFA Swift SDK - Initialization | Documentation - Web3Auth" --- import Initialization from "@site/src/common/sdk/core-kit/sfa/ios/_sfa-ios-initialization.mdx"; diff --git a/docs/sdk/core-kit/sfa-ios/install.mdx b/docs/sdk/core-kit/sfa-ios/install.mdx index 39b883fed..94246d519 100644 --- a/docs/sdk/core-kit/sfa-ios/install.mdx +++ b/docs/sdk/core-kit/sfa-ios/install.mdx @@ -1,7 +1,7 @@ --- -title: "Installing SFA iOS SDK" +title: "Installing SFA Swift SDK" sidebar_label: "Install" -description: "Installing Web3Auth SFA iOS SDK | Documentation - Web3Auth" +description: "Installing Web3Auth SFA Swift SDK | Documentation - Web3Auth" --- import SPM from "@site/src/common/sdk/core-kit/sfa/ios/_sfa-ios-spm.mdx"; diff --git a/docs/sdk/core-kit/sfa-ios/sfa-ios.mdx b/docs/sdk/core-kit/sfa-ios/sfa-ios.mdx index 57b5bfda0..5b6e2ddae 100644 --- a/docs/sdk/core-kit/sfa-ios/sfa-ios.mdx +++ b/docs/sdk/core-kit/sfa-ios/sfa-ios.mdx @@ -1,26 +1,29 @@ --- -title: "Web3Auth Core Kit Single Factor Auth iOS SDK" +title: "Web3Auth Core Kit Single Factor Auth Swift SDK" sidebar_label: Overview -description: "Web3Auth Core Kit Single Factor Auth iOS SDK | Documentation - Web3Auth" +description: "Web3Auth Core Kit Single Factor Auth Swift SDK | Documentation - Web3Auth" --- You can use the Web3Auth -[Single Factor Auth iOS SDK](https://github.com/Web3Auth/single-factor-auth-swift) as a library for -your iOS app to authenticate users through Web3Auth. The SDK is written in Swift and allows for -native use of the One Key flow, which starts with just one share of the key. This means that users -can authenticate without redirection in a single key pair flow. +[Single Factor Auth Swift SDK](https://github.com/Web3Auth/single-factor-auth-swift) as a library +for your iOS, and macOS app to authenticate users through Web3Auth. The SDK is written in Swift and +allows for native use of the One Key flow, which starts with just one share of the key. This means +that users can authenticate without redirection in a single key pair flow. -Using the Web3Auth SFA iOS SDK, you can authenticate users and reconstruct their private keys +Using the Web3Auth SFA Swift SDK, you can authenticate users and reconstruct their private keys quickly and easily. Additionally, you can use the Web3Auth Plug and Play iOS SDK to redirect users to a Web3Auth-hosted screen (`https://auth.web3auth.io`), which is suitable for most use cases. However, if you want more control over the UI and UX of the authentication process, you can customize the authentication flow to avoid redirection. This is possible with the new Web3Auth SFA -iOS SDK, which allows you to use Web3Auth SFA iOS and prevent redirection to Openlogin-hosted +Swift SDK, which allows you to use Web3Auth SFA Swift and prevent redirection to Openlogin-hosted screens. ### Requirements - iOS 14+ +- Xcode 12+ +- Swift 5.x +- macOS 11+ :::note diff --git a/docs/sdk/core-kit/sfa-ios/usage.mdx b/docs/sdk/core-kit/sfa-ios/usage.mdx index 29b813a90..d178f4a9e 100644 --- a/docs/sdk/core-kit/sfa-ios/usage.mdx +++ b/docs/sdk/core-kit/sfa-ios/usage.mdx @@ -1,7 +1,7 @@ --- -title: "Using Core Kit SFA iOS SDK" +title: "Using Core Kit SFA Swift SDK" sidebar_label: "Usage" -description: "Web3Auth Core Kit Single Factor Auth iOS SDK - Usage | Documentation - Web3Auth" +description: "Web3Auth Core Kit Single Factor Auth Swift SDK - Usage | Documentation - Web3Auth" --- import TabItem from "@theme/TabItem"; @@ -14,7 +14,7 @@ users and obtain their private and public keys. :::tip NOTE -Web3Auth SFA iOS SDK only works for users who have **not enabled MFA**. For MFA enabled users, +Web3Auth SFA Swift SDK only works for users who have **not enabled MFA**. For MFA enabled users, you'll see an Error message. ::: diff --git a/docs/sdk/core-kit/sfa-web/passkeys-sfa.mdx b/docs/sdk/core-kit/sfa-web/passkeys-sfa.mdx index db2774086..9d84744c6 100644 --- a/docs/sdk/core-kit/sfa-web/passkeys-sfa.mdx +++ b/docs/sdk/core-kit/sfa-web/passkeys-sfa.mdx @@ -125,8 +125,8 @@ web3auth.addPlugin(passkeysPlugin); // Add the plugin to web3auth // Register a new passkey await passkeysPlugin.registerPasskey({ username: "user@example.com" }); -// Login with an existing passkey -await passkeysPlugin.loginWithPasskey({ authenticatorId: "authenticator_id" }); +// Login with a passkey +await passkeysPlugin.loginWithPasskey(); // List all registered passkeys const passkeys = await passkeysPlugin.listAllPasskeys(); @@ -135,8 +135,11 @@ console.log(passkeys); :::note Note -First, a user needs to log in the usual way, and then register a passkey. The next time, they can -log in using a passkey. +Here’s the refined version: + +First, users need to log in with their authentication provider. Once logged in, they can register a +passkey. The next time they log in, they can seamlessly use the registered passkey with a +passkey-enabled authentication device. ::: @@ -153,7 +156,7 @@ Registers a new passkey for the user. | `authenticatorAttachment?` | Option to restrict the type of authenticators that can be registered. | | `username?` | The passkey in the user device will be saved with this name. Default is `loginProvider\|verifierId.` | -#### Example +#### Usage ```javascript await passkeysPlugin.registerPasskey({ @@ -168,11 +171,11 @@ Logs in the user with an existing passkey. #### Parameters -| Parameter | Description | -| ------------------ | --------------------------------------------- | -| `authenticatorId?` | The ID of the authenticator to use for login. | +| Parameter | Description | +| ------------------ | ------------------------------------------------------------------------------------------------------------- | +| `authenticatorId?` | The ID of the specific authenticator you want to log in with, useful when multiple authenticators are set up. | -#### Example +#### Usage ```javascript await passkeysPlugin.loginWithPasskey({ @@ -180,11 +183,38 @@ await passkeysPlugin.loginWithPasskey({ }); ``` +:::tip + +When you call `listAllPasskeys()`, the `credential_id` from the response is the authenticator ID +that can be used for logging in with a specific passkey. This improves UX by reducing the number of +prompts the user has to face when multiple authenticators are set up. Here’s a sample output for +`listAllPasskeys()`: + +```json +{ + "id": "123", + // focus-next-line + "credential_id": "abc123def456ghi789jkl012mno345pqr678stu901vwx234yz", + "verifier_id": "verifier987zyx654wvu321tsr098qpo765nml432kji109gfe", + "browser": "Chrome", + "browser_version": "126.0.0.0", + "transport": "hybrid,internal", + "os": "macOS", + "os_version": "12.5.1", + "platform": "desktop", + "provider_name": "Samsung Pass", + "created_at": "2024-06-25T07:41:38.000Z", + "updated_at": "2024-06-25T07:41:38.000Z" +} +``` + +::: + ### `listAllPasskeys()` Lists all registered passkeys for the user. -#### Example +#### Usage ```javascript const passkeys = await passkeysPlugin.listAllPasskeys(); @@ -262,8 +292,8 @@ if (!result.isBrowserSupported) { // Register a new passkey await passkeysPlugin.registerPasskey({ username: "user@example.com" }); - // Login with an existing passkey - await passkeysPlugin.loginWithPasskey({ authenticatorId: "authenticator_id" }); + // Login with a passkey + await passkeysPlugin.loginWithPasskey(); // List all registered passkeys const passkeys = await passkeysPlugin.listAllPasskeys(); diff --git a/docs/sdk/core-kit/tkey/initialize.mdx b/docs/sdk/core-kit/tkey/initialize.mdx index 5bc2e0f0d..402d1e6bb 100644 --- a/docs/sdk/core-kit/tkey/initialize.mdx +++ b/docs/sdk/core-kit/tkey/initialize.mdx @@ -21,7 +21,6 @@ modules. - [Configuration of Storage Layer](#configuring-storage-layer) - [Configuration of Modules](#configuring-modules) - [Instantiation of tKey](#instantiating-tkey) -- [Initialisation of Service Provider](#initializing-service-provider) :::note diff --git a/docs/sdk/core-kit/tkey/usage.mdx b/docs/sdk/core-kit/tkey/usage.mdx index 1d5d791b2..9ccbbf474 100644 --- a/docs/sdk/core-kit/tkey/usage.mdx +++ b/docs/sdk/core-kit/tkey/usage.mdx @@ -224,7 +224,7 @@ which is compatible with blockchains like Solana, Aptos, and etc. However, you c `secp256k1` key into other curves and utilize it. In addition to that, we have dedicated provider packages for EVM, Solana and XRPL libraries. You can -check out their respective documentation in the [Providers Section](/sdk/providers/). +check out their respective documentation in the [Providers Section](/sdk/pnp/web/providers/). :::tip diff --git a/docs/sdk/pnp/android/custom-authentication.mdx b/docs/sdk/pnp/android/custom-authentication.mdx index a42bc03c3..dfa108640 100644 --- a/docs/sdk/pnp/android/custom-authentication.mdx +++ b/docs/sdk/pnp/android/custom-authentication.mdx @@ -9,40 +9,30 @@ import Tabs from "@theme/Tabs"; import GrowthPlanNote from "@site/src/common/docs/_growth_plan_note.mdx"; import SMSPasswordless from "@site/src/common/sdk/pnp/android/_sms_passwordless.mdx"; +## Configuration + To use custom authentication (Using Social providers or Login providers like Auth0, AWS Cognito, -Firebase etc. or even your own custom JWT login) you can add the configuration to the `loginConfig` -parameter of the `Web3AuthOptions` object during the initialization. +Firebase etc. or even your own custom JWT login) you can add the configuration using `loginConfig` +parameter during the initialization. The `loginConfig` parameter is a key value map. The key should be one of the `Web3AuthProvider` in its string form, and the value should be a `LoginConfigItem` instance. -First, configure your own verifier in the Web3Auth Dashboard to use custom authentication. - - +To use custom authentication, first you'll need to configure your own verifier in the Web3Auth +Dashboard in "Custom Authentication" section. +[Learn how to create a custom verifier](/auth-provider-setup/verifiers). :::tip Create Custom Verifier -Check out how to create a **[Custom Verifier](/auth-provider-setup/verifiers)** on the Web3Auth -Dashboard. - -::: - -:::info using dapp share - -- dApp Share is only returned for the Custom verifiers. -- Also, 2FA should be enabled for the account using it. Use `mfaLevel = MFALevel.MANDATORY` in the - `LoginParams` during login. See **[MFA](/sdk/pnp/android/mfa)** for more details. +Learn how to create a [Custom Verifier](/auth-provider-setup/verifiers) on the Web3Auth Dashboard. ::: -Then, you should specify the details of your verifier in the `LoginConfigItem` struct, the details -of this struct are as follows: - -## `LoginConfigItem` + -### Arguments +### Parameters -`LoginConfigItem` +After creating the verifier, you can use the following parameters in the `LoginConfigItem`. - - -### `typeOfLogin` - -```kotlin enum class TypeOfLogin { @SerializedName("google") GOOGLE, @@ -135,6 +117,11 @@ enum class TypeOfLogin { } ``` + + + +### Usage + -```kotlin title="Usage" -web3Auth = Web3Auth ( - Web3AuthOptions ( +```kotlin +import com.web3auth.core.Web3Auth +import com.web3auth.core.types.Web3AuthOptions + +val web3Auth = Web3Auth( + Web3AuthOptions( context = this, - clientId = getString (R.string.web3auth_project_id), + clientId = "YOUR_WEB3AUTH_CLIENT_ID", // Pass over your Web3Auth Client ID from Developer Dashboard network = Network.MAINNET, - redirectUrl = Uri.parse ("{YOUR_APP_PACKAGE_NAME}://auth"), - // Optional loginConfig object + redirectUrl = Uri.parse("{YOUR_APP_PACKAGE_NAME}://auth"), // focus-start loginConfig = hashMapOf("google" to LoginConfigItem( - verifier = "verifier-name", // get it from web3auth dashboard + verifier = "verifier-name", // Get it from Web3Auth dashboard typeOfLogin = TypeOfLogin.GOOGLE, - clientId = getString(R.string.google_client_id) // google's client id + clientId = getString(R.string.google_client_id) // Google's client id )) // focus-end ) ) + +// focus-start +val loginCompletableFuture: CompletableFuture = web3Auth.login( + LoginParams(Provider.GOOGLE) +) +// focus-end ``` -```kotlin title="Usage" -web3Auth = Web3Auth ( - Web3AuthOptions ( +```kotlin +import com.web3auth.core.Web3Auth +import com.web3auth.core.types.Web3AuthOptions + +val web3Auth = Web3Auth( + Web3AuthOptions( context = this, - clientId = getString (R.string.web3auth_project_id), + clientId = "YOUR_WEB3AUTH_CLIENT_ID", // Pass over your Web3Auth Client ID from Developer Dashboard network = Network.MAINNET, - redirectUrl = Uri.parse ("{YOUR_APP_PACKAGE_NAME}://auth"), - // Optional loginConfig object + redirectUrl = Uri.parse("{YOUR_APP_PACKAGE_NAME}://auth"), // focus-start - loginConfig = hashMapOf("facebook" to LoginConfigItem( - verifier = "verifier-name", // get it from web3auth dashboard - typeOfLogin = TypeOfLogin.FACEBOOK, - clientId = getString(R.string.facebook_client_id) // facebook's client id - )) + loginConfig = hashMapOf( + "facebook" to LoginConfigItem( + verifier = "verifier-name", // Get it from Web3Auth dashboard + typeOfLogin = TypeOfLogin.FACEBOOK, + clientId = getString(R.string.facebook_client_id) // Facebook's client id + ) + ) // focus-end ) ) + +// focus-start +val loginCompletableFuture: CompletableFuture = web3Auth.login( + LoginParams(Provider.Facebook) +) +// focus-end + ``` -```kotlin title="Usage" -web3Auth = Web3Auth ( - Web3AuthOptions ( +```kotlin +import com.web3auth.core.Web3Auth +import com.web3auth.core.types.Web3AuthOptions + +val web3Auth = Web3Auth( + Web3AuthOptions( context = this, - clientId = getString (R.string.web3auth_project_id), + clientId = "YOUR_WEB3AUTH_CLIENT_ID", // Pass over your Web3Auth Client ID from Developer Dashboard network = Network.MAINNET, - redirectUrl = Uri.parse ("{YOUR_APP_PACKAGE_NAME}://auth"), - // Optional loginConfig object + redirectUrl = Uri.parse("{YOUR_APP_PACKAGE_NAME}://auth"), // focus-start loginConfig = hashMapOf("jwt" to LoginConfigItem( - verifier = "verifier-name", // get it from web3auth dashboard + verifier = "verifier-name", // Get it from Web3Auth dashboard typeOfLogin = TypeOfLogin.JWT, - clientId = getString (R.string.auth0_project_id) // auth0's client id + clientId = getString (R.string.auth0_project_id) // Auth0's client id )) // focus-end ) ) + +// focus-start +val loginCompletableFuture: CompletableFuture = web3Auth.login( + LoginParams(Provider.JWT) +) +// focus-end ``` -```kotlin title="Usage" -web3Auth = Web3Auth ( - Web3AuthOptions ( +```kotlin +import com.web3auth.core.Web3Auth +import com.web3auth.core.types.Web3AuthOptions + +val web3Auth = Web3Auth( + Web3AuthOptions( context = this, - clientId = getString (R.string.web3auth_project_id), + clientId = "YOUR_WEB3AUTH_CLIENT_ID", // Pass over your Web3Auth Client ID from Developer Dashboard network = Network.MAINNET, - redirectUrl = Uri.parse ("{YOUR_APP_PACKAGE_NAME}://auth"), - // Optional loginConfig object + redirectUrl = Uri.parse("{YOUR_APP_PACKAGE_NAME}://auth"), // focus-start - loginConfig = hashMapOf("jwt" to LoginConfigItem( - verifier = "verifier-name", // get it from web3auth dashboard - typeOfLogin = TypeOfLogin.JWT, - )) + loginConfig = hashMapOf( + "jwt" to LoginConfigItem( + verifier = "verifier-name", // Get it from Web3Auth dashboard + typeOfLogin = TypeOfLogin.JWT, + ) + ) // focus-end ) ) + +// focus-start +val loginCompletableFuture: CompletableFuture = web3Auth.login( + LoginParams(Provider.JWT) +) +// focus-end + ``` - -## `ExtraLoginOptions` for special login methods +## Configure Extra Login Options Additional to the `LoginConfig` you can pass extra options to the `login` function to configure the login flow for cases requiring additional info for enabling login. The `ExtraLoginOptions` accepts -the following parameters: +the following parameters. + +### Parameters - -## Single Verifier +### Single Verifier Usage + + -### Using Auth0 Login + Auth0 has a special login flow, called the SPA flow. This flow requires a `client_id` and `domain` to be passed, and Web3Auth will get the JWT `id_token` from Auth0 directly. You can pass these configurations in the `ExtraLoginOptions` object in the login function. -```tsx -web3Auth = Web3Auth ( - Web3AuthOptions ( +```kotlin +import com.web3auth.core.Web3Auth +import com.web3auth.core.types.Web3AuthOptions + +val web3Auth = Web3Auth( + Web3AuthOptions( context = this, - clientId = getString (R.string.web3auth_project_id), + clientId = "YOUR_WEB3AUTH_CLIENT_ID", // Pass over your Web3Auth Client ID from Developer Dashboard network = Network.MAINNET, - redirectUrl = Uri.parse ("{YOUR_APP_PACKAGE_NAME}://auth"), - // Optional loginConfig object + redirectUrl = Uri.parse("{YOUR_APP_PACKAGE_NAME}://auth"), // focus-start loginConfig = hashMapOf("jwt" to LoginConfigItem( - verifier = "verifier-name", // get it from web3auth dashboard for auth0 configuration + verifier = "verifier-name", // Get it from Web3Auth dashboard typeOfLogin = TypeOfLogin.JWT, - clientId = getString (R.string.auth0_client_id) // auth0's client id, get it from auth0 dashboard + clientId = getString (R.string.auth0_project_id) // Auth0's client id )) // focus-end ) ) -val loginCompletableFuture: CompletableFuture = - web3Auth.login(LoginParams(Provider.JWT, - // focus-start - extraLoginOptions = ExtraLoginOptions( - domain: "https://username.us.auth0.com", // domain of your auth0 app - verifierIdField: "sub", // The field in jwt token which maps to verifier id. - ) - // focus-end - )) +val loginCompletableFuture: CompletableFuture = web3Auth.login( + LoginParams( + Provider.JWT, + // focus-start + extraLoginOptions = ExtraLoginOptions( + domain: "https://username.us.auth0.com", // Domain of your Auth0 app + verifierIdField: "sub", // The field in jwt token which maps to verifier id. + ) + // focus-end + ) +) ``` -### Custom JWT Login + + If you're using any other provider like Firebase/ AWS Cognito or deploying your own Custom JWT server, you need to put the jwt token into the `id_token` field of the `extraLoginOptions`, additionally, you need to pass over the `domain` field as well, which is mandatory. If you don't have a domain, just passover a string in that field. ```kotlin -web3Auth = Web3Auth ( - Web3AuthOptions ( +import com.web3auth.core.Web3Auth +import com.web3auth.core.types.Web3AuthOptions + +val web3Auth = Web3Auth( + Web3AuthOptions( context = this, - clientId = getString (R.string.web3auth_project_id), + clientId = "YOUR_WEB3AUTH_CLIENT_ID", // Pass over your Web3Auth Client ID from Developer Dashboard network = Network.MAINNET, - redirectUrl = Uri.parse ("{YOUR_APP_PACKAGE_NAME}://auth"), - // Optional loginConfig object + redirectUrl = Uri.parse("{YOUR_APP_PACKAGE_NAME}://auth"), // focus-start loginConfig = hashMapOf("jwt" to LoginConfigItem( - verifier = "verifier-name", // get it from web3auth dashboard for auth0 configuration + verifier = "verifier-name", // Get it from Web3Auth dashboard typeOfLogin = TypeOfLogin.JWT, )) // focus-end ) ) -val loginCompletableFuture: CompletableFuture = - web3Auth.login(LoginParams(Provider.JWT, - // focus-start - extraLoginOptions = ExtraLoginOptions( - id_token: "Your JWT id token", - ) - // focus-end - )) +val loginCompletableFuture: CompletableFuture = web3Auth.login( + LoginParams( + Provider.JWT, + // focus-start + extraLoginOptions = ExtraLoginOptions( + id_token: "Your JWT id token", + ) + // focus-end + ) +) ``` -### Email Passwordless + -To use the `EMAIL_PASSWORDLESS` login, you need to put the email into the `login_hint` field of the -`extraLoginOptions`. + +To use the Email Passwordless login, you need to put the email into the `login_hint` parameter of +the `ExtraLoginOptions`. By default, the login flow will be `code` flow, if you want to use the +`link` flow, you need to put `flow_type` into the `additionalParams` parameter of the +`ExtraLoginOptions`. ```kotlin +import com.web3auth.core.Web3Auth +import com.web3auth.core.types.Web3AuthOptions + +val web3Auth = Web3Auth( + Web3AuthOptions( + context = this, + clientId = "YOUR_WEB3AUTH_CLIENT_ID", // Pass over your Web3Auth Client ID from Developer Dashboard + network = Network.MAINNET, + redirectUrl = Uri.parse("{YOUR_APP_PACKAGE_NAME}://auth"), + ) +) + val loginCompletableFuture: CompletableFuture = web3Auth.login( LoginParams( Provider.EMAIL_PASSWORDLESS, @@ -398,28 +457,33 @@ val loginCompletableFuture: CompletableFuture = web3Auth.login ) ``` -### SMS Passwordless + + To use the SMS Passwordless login, send the phone number as the `login_hint` parameter of the `ExtraLoginOptions`. Please make sure the phone number is in the format of +\{country_code}-\{phone_number}, i.e. (+91-09xx901xx1). + + -## Aggregate Verifier +### Aggregate Verifier Usage You can use aggregate verifier to combine multiple login methods to get the same address for the users regardless of their login providers. For example, combining a Google and Email Passwordless login, or Google and GitHub via Auth0 to access the same address for your user. ```kotlin -web3Auth = Web3Auth ( - Web3AuthOptions ( +import com.web3auth.core.Web3Auth +import com.web3auth.core.types.Web3AuthOptions + +val web3Auth = Web3Auth( + Web3AuthOptions( context = this, - clientId = getString (R.string.web3auth_project_id), - network = Network.SAPPHIRE_MAINNET, - redirectUrl = Uri.parse ("{YOUR_APP_PACKAGE_NAME}://auth"), - // Optional loginConfig object + clientId = "YOUR_WEB3AUTH_CLIENT_ID", // Pass over your Web3Auth Client ID from Developer Dashboard + network = Network.MAINNET, + redirectUrl = Uri.parse("{YOUR_APP_PACKAGE_NAME}://auth"), // focus-start loginConfig = hashMapOf( "google" to LoginConfigItem( @@ -441,20 +505,20 @@ web3Auth = Web3Auth ( ) ) -// Google Login // focus-start +// Google Login web3Auth.login(LoginParams(Provider.GOOGLE)) // focus-end -// Auth0 Login // focus-start +// Auth0 Login web3Auth.login(LoginParams( Provider.JWT, extraLoginOptions = ExtraLoginOptions( domain = "https://web3auth.au.auth0.com", verifierIdField = "email", - isVerifierIdCaseSensitive = false) + isVerifierIdCaseSensitive = false ) -) +)) // focus-end ``` diff --git a/docs/sdk/pnp/android/initialize.mdx b/docs/sdk/pnp/android/initialize.mdx index f9cf64645..0145830d2 100644 --- a/docs/sdk/pnp/android/initialize.mdx +++ b/docs/sdk/pnp/android/initialize.mdx @@ -10,28 +10,22 @@ import SetResultUrl from "@site/src/common/sdk/pnp/android/_set-result-url.mdx"; import TabItem from "@theme/TabItem"; import Tabs from "@theme/Tabs"; -After installation, the next step to use Web3Auth is to initialize the SDK. +After installation, the next step to use Web3Auth is to configure & initialize the SDK. -However, Initialization is a two-step process: +However, configuring and initializing is a four-step process: 1. [Creating a Web3Auth Instance](#create-web3auth-instance) 2. [Setting a Result URL](#set-result-url) - -Please note that these are the most critical steps where you must pass on different parameters -according to the preference of your project. Additionally, You must configure Whitelabeling and -Custom Authentication within this step if you wish to customize your Web3Auth Instance. +3. [Triggering Login exceptions](#triggering-login-exceptions) +4. [Initialize Web3Auth](#initialize-web3auth) ## Create Web3Auth Instance -In your activity, create a `Web3Auth` instance with your Web3Auth project's configurations. - -```kotlin -web3Auth = Web3Auth(Web3AuthOptions) -``` - -### Arguments +The first step is to create the Web3Auth instance, and configure the Whitelabeling, Session time, +and Custom Authentication. Please note that these are the most critical steps where you need to pass +on different parameters according to the preference of your project. -#### `Web3AuthOptions` +### Parameters The Web3Auth Constructor takes an object with `Web3AuthOptions` as input. @@ -80,112 +74,68 @@ data class Web3AuthOptions( ``` - -### Instance +### Instantiate Web3Auth -### Session Management - -The Session Management feature allows you to check the existing sessions with Web3Auth. The -`sessionResponse()` will allow users to remain authenticated with Web3Auth for up to 1 day default, -or a maximum of 7 days, or until they logout or session data is cleared. To change the default -session time, you can pass `sessionTime` in `Web3AuthOptions`. - -```kotlin -// Call sessionResponse() in onCreate() to check for any existing session. -val sessionResponse: CompletableFuture = web3Auth.initialize() -sessionResponse.whenComplete { _, error -> - if (error == null) { - Log.d("MainActivity_Web3Auth", "User already logged in") - // Add your logic - } else { - Log.d("MainActivity_Web3Auth", error.message ?: "Something went wrong") - // Ideally, you should initiate the login function here. - } -} -``` - -:::note - -If you're looking for `refreshToken` to maintain the JWT session, use this method instead to extend -the session. - -::: - ## Set Result URL -## Example +## Triggering Login exceptions + +The `setCustomTabsClosed` method can be used to trigger login exceptions for Android. The Android +SDK uses the custom tabs and from current implementation of chrome custom tab, it's not possible to +add a listener directly to chrome custom tab close button and trigger login exceptions. + +Hence, it's necessary to use `setCustomTabsClosed` method in your login screen to trigger +exceptions. ```kotlin class MainActivity : AppCompatActivity() { - // ... - private lateinit var web3Auth: Web3Auth - - override fun onCreate(savedInstanceState: Bundle?) { - super.onCreate(savedInstanceState) - setContentView(R.layout.activity_main) - - web3Auth = Web3Auth( - Web3AuthOptions(context = this, - clientId = getString(R.string.web3auth_project_id), - network = Network.MAINNET, - redirectUrl = Uri.parse("{YOUR_APP_PACKAGE_NAME}://auth") - ) - ) - - // Handle user signing in when app is not alive - web3Auth.setResultUrl(intent?.data) - - // Calls sessionResponse() to check for any existing session. - val sessionResponse: CompletableFuture = web3Auth.initialize() - sessionResponse.whenComplete { _, error -> - if (error == null) { - Log.d("MainActivity_Web3Auth", "User already logged in") - // Add your logic - } else { - Log.d("MainActivity_Web3Auth", error.message ?: "Something went wrong") - // Ideally, you should initiate the login function here. + // Additional code + + override fun onResume() { + super.onResume() + // focus-start + if (Web3Auth.getCustomTabsClosed()) { + Toast.makeText(this, "User closed the browser.", Toast.LENGTH_SHORT).show() + web3Auth.setResultUrl(null) + Web3Auth.setCustomTabsClosed(false) } + // focus-end } - // Setup UI and event handlers - val signInButton = findViewById