Integrate with Web3Modal
Use BloctoConnector to Integrate with Web3modal easily.
Web3Modal is an elegantly simple yet powerful library created by WalletConnect that helps you manage your multi-chain wallet connection flows, all in one place. We provide a BloctoConnector
for you to Integrate with Web3Modal
easily.
Note that Blocto SDK for EVM-compatible chains is still in Beta. APIs are subject to breaking changes.
Beginning with @blocto/wagmi-connector@1.2.0
, Blocto has migrated its support for web3modal from the initial @blocto/wagmi-connector
to @blocto/web3modal-connector
,for earlier version's developer you can check our migration guide.
Installation
Install from npm/yarn/pnpm
Step 1 - Configure CreateConfig
with BloctoConnector
CreateConfig
with BloctoConnector
Arbitrum RPC demo
BloctoConnector
parameters
BloctoConnector
parametersParamter | Type | Description | Required |
---|---|---|---|
| Chain[] | Connector supports Chains | YES |
| String | Blocto dApp ID | NO |
Blocto supportedChains
Mainnet | Testnet |
---|---|
Ethereum | Sepolia |
Arbitrum | ArbitrumSepolia |
Optimism | OptimismSepolia |
Polygon | X |
Binance | BinanceTestnet |
Avalanche | AvalancheFuji |
Base | BaseSepolia |
Zora | ZoraTestnet |
Scroll | ScrollSepolia |
Step 2 - Configure <Web3Modal />
<Web3Modal />
Sample Code
Last updated