Integrate with Wagmi v1
You can easily use Blocto on Wagmi
Wagmi is a collection of React Hooks containing everything you need to start working with Ethereum. Wagmi makes it easy to "Connect Wallet," display ENS and balance information, sign messages, interact with contracts, and much more — all with caching, request deduplication, and persistence.
Blocto currently supported various wallet connect solutions based on Wagmi,
these solutions provide an amazing user experience. before you begin reading, you can take a look at the links above.
Installation
Install from npm/yarn/pnpm
Configure chains
Using publicProvider
in a production environment is not recommended. It's advisable to use alchemyProvider
or infuraProvider
as alternatives for the production environment's provider.
Blocto supportedChains
Ethereum
Sepolia
Arbitrum
ArbitrumSepolia
Optimism
OptimismSepolia
Polygon
X
Binance
BinanceTestnet
Avalanche
AvalancheFuji
Base
BaseSepolia
Zora
ZoraTestnet
Scroll
ScrollSepolia
Create config with Blocto
BloctoConnector
parameters
BloctoConnector
parameterschains
Chain[]
Connector supports Chains
YES
options.appId
String
Blocto dApp ID
NO
Wrap app with <WagmiConfig />
<WagmiConfig />
Use Blocto with Wagmi
Sample Code
Resources
Last updated