Integrate with thirdweb
You can easily connect Blocto on thirdweb
thirdweb is a comprehensive development framework that empowers you to seamlessly build, launch, and manage web3 applications and games across any EVM-compatible blockchain.
Installation
Install from npm/yarn/pnpm
Configuration with Blocto
Import and initiate bloctoWallet
with <ThirdwebProvider />
.
The default supportedChains of ThirdwebProvider includes the Blocto unsupported chain. If a user switches to an unsupported chain, it will trigger a could not switch network error
. We strongly recommend manually configuring the supportedChains based on the current environment. You can following below list to get the latest list of Blocto supported chains.
bloctowallet
parameters
bloctowallet
parametersParamter | Type | Description | Required |
---|---|---|---|
| string | Blocto dApp ID | No |
Blocto supportedChains
Mainnet | Testnet |
---|---|
Ethereum | Goerli |
Ethereum | Sepolia |
Arbitrum | ArbitrumGoerli |
Optimism | OptimismGoerli |
Polygon | Mumbai |
Binance | BinanceTestnet |
Avalanche | AvalancheFuji |
Base | BaseGoerli |
Zora | ZoraTestnet |
Scroll | ScrollSepoliaTestnet |
Connect to Wallet
Sample Code
Resources
Last updated