|
| 1 | +--- |
| 2 | +title: Integrate Web3Auth with the Neon Blockchain in Flutter |
| 3 | +sidebar_label: Flutter |
| 4 | +image: "guides/banners/neon.png" |
| 5 | +displayed_sidebar: resources |
| 6 | +keywords: [flutter, neon, web3auth, authentication, blockchain] |
| 7 | +description: "Integrate Web3Auth with the Neon Blockchain in Flutter | Documentation - Web3Auth" |
| 8 | +--- |
| 9 | + |
| 10 | +import InstallationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-installation.mdx"; |
| 11 | +import GetAccountSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-account.mdx"; |
| 12 | +import UserInfoSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-user-info.mdx"; |
| 13 | +import GetBalanceSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-get-balance.mdx"; |
| 14 | +import InitialisationSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-initialisation.mdx"; |
| 15 | +import SignTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-sign-transaction.mdx"; |
| 16 | +import SendTransactionSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-send-transaction.mdx"; |
| 17 | +import TestContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-test-contract.mdx"; |
| 18 | +import DeployContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-deploy-contract.mdx"; |
| 19 | +import ReadContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-read-contract.mdx"; |
| 20 | +import WriteContractSnippet from "@site/src/common/docs/flutter-connect-blockchain/_evm-write-contract.mdx"; |
| 21 | +import Tabs from "@theme/Tabs"; |
| 22 | +import TabItem from "@theme/TabItem"; |
| 23 | +import SEO from "@site/src/components/SEO"; |
| 24 | + |
| 25 | +<SEO |
| 26 | + title="Integrate Web3Auth with the Neon Blockchain in Flutter" |
| 27 | + description="Integrate Web3Auth with the Neon Blockchain in Flutter | Documentation - Web3Auth" |
| 28 | + image="https://web3auth.io/docs/guides/banners/neon.png" |
| 29 | + slug="/connect-blockchain/evm/neon/flutter" |
| 30 | +/> |
| 31 | + |
| 32 | +While using the Web3Auth Flutter SDK, you get the private key within the user scope. This private |
| 33 | +key can interact with [Neon](https://neonevm.org/) to make any blockchain calls, like getting the |
| 34 | +user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from and `write` |
| 35 | +to the smart contract, etc. We have highlighted a few here to get you started quickly on that. |
| 36 | + |
| 37 | +## Installation |
| 38 | + |
| 39 | +<InstallationSnippet /> |
| 40 | + |
| 41 | +## Chain Details for Neon |
| 42 | + |
| 43 | +<Tabs |
| 44 | + defaultValue="mainnet" |
| 45 | + values={[ |
| 46 | + { label: "Mainnet", value: "mainnet", }, |
| 47 | + { label: "Testnet", value: "testnet", }, |
| 48 | + ]} |
| 49 | +> |
| 50 | +<TabItem |
| 51 | + value="mainnet" |
| 52 | +> |
| 53 | + |
| 54 | +- Chain ID: 0xe9ac0d6 |
| 55 | +- Public RPC URL: https://neon-proxy-mainnet.solana.p2p.org (Avoid using public rpcTarget in |
| 56 | + production, use services like Infura, Quicknode etc) |
| 57 | +- Display Name: Neon Mainnet |
| 58 | +- Block Explorer Link: https://neonscan.org/ |
| 59 | +- Ticker: NEON |
| 60 | +- Ticker Name: NEON |
| 61 | + |
| 62 | +</TabItem> |
| 63 | + |
| 64 | +<TabItem |
| 65 | + value="testnet" |
| 66 | +> |
| 67 | + |
| 68 | +- Chain ID: 0xe9ac0d6 |
| 69 | +- Public RPC URL: https://devnet.neonevm.org (Avoid using public rpcTarget in production, use |
| 70 | + services like Infura, Quicknode etc) |
| 71 | +- Display Name: Neon Testnet |
| 72 | +- Block Explorer Link: https://devnet.neonscan.org/ |
| 73 | +- Ticker: NEON |
| 74 | +- Ticker Name: NEON |
| 75 | + |
| 76 | +</TabItem> |
| 77 | +</Tabs> |
| 78 | + |
| 79 | +## Initialize |
| 80 | + |
| 81 | +<InitialisationSnippet /> |
| 82 | + |
| 83 | +## Get User Info |
| 84 | + |
| 85 | +<UserInfoSnippet /> |
| 86 | + |
| 87 | +## Get Account |
| 88 | + |
| 89 | +<GetAccountSnippet /> |
| 90 | + |
| 91 | +## Get Balance |
| 92 | + |
| 93 | +<GetBalanceSnippet /> |
| 94 | + |
| 95 | +## Send Transaction |
| 96 | + |
| 97 | +<SendTransactionSnippet /> |
| 98 | + |
| 99 | +## Sign Transaction |
| 100 | + |
| 101 | +<SignTransactionSnippet /> |
| 102 | + |
| 103 | +## Smart Contract |
| 104 | + |
| 105 | +<TestContractSnippet /> |
| 106 | + |
| 107 | +### Deploy Contract |
| 108 | + |
| 109 | +<DeployContractSnippet /> |
| 110 | + |
| 111 | +### Read From Contract |
| 112 | + |
| 113 | +<ReadContractSnippet /> |
| 114 | + |
| 115 | +### Write to Contract |
| 116 | + |
| 117 | +<WriteContractSnippet /> |
0 commit comments