Integrate with Web3Modal
Use BloctoConnector to Integrate with Web3modal easily.
Web3Modal is an elegantly simple yet powerful library 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.
Installation
Install from npm/yarn/pnpm
Step 1 - Configure CreateClient
with BloctoConnector
CreateClient
with BloctoConnector
Arbitrum RPC demo
BloctoConnector
parameters
BloctoConnector
parametersParamter
Type
Description
Required
chains
Chain[]
Connector supports Chains
No
options.chainId
Number
EVM chain ID to connect to
Yes
options.rpc
String
JSON RPC endpoint
Yes
Step 2 - Configure <Web3Modal />
<Web3Modal />
Code Sandbox Sample
Last updated
Was this helpful?