Integrate Embedded Wallets with the Ethereum Blockchain in Unity
While using the Web3Auth Unity SDK, you get the private key within the user scope. This private key can interact with the Nethereum Library to make EVM based 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.
Chain details for Ethereum
- Mainnet
- Sepolia Testnet
- Holesky Testnet
- Chain ID: 0x1
- RPC URL: You can use our bundled RPC service from Infura, or your own choice of RPC service for production.
- Display Name: Ethereum Mainnet
- Block Explorer Link: https://etherscan.io
- Ticker: ETH
- Ticker Name: Ethereum
- Chain ID: 0xaa36a7
- Public RPC URL: https://rpc.sepolia.org
- Display Name: Ethereum Sepolia Testnet
- Block Explorer Link: https://sepolia.etherscan.io
- Ticker: ETH
- Ticker Name: SepoliaETH
- Chain ID: 0x4268
- Public RPC URL: https://rpc.holesky.ethpandaops.io
- Display Name: Ethereum Holesky Testnet
- Block Explorer Link: https://holesky.etherscan.io
- Ticker: ETH
- Ticker Name: HoleskyETH
Installation
In this reference, we're using the Nethereum library to demonstrate how to make blockchain calls
using it with Web3Auth.