Skip to content

Latest commit

 

History

History

wagmi-connector

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

wagmi-connector

The BloctoConnector extends from the wagmi Connector, allowing Blocto to be used with the most popular Connect Wallet kits (such as Web3Modal, ConnectKit, etc.) as solutions.

For usage, please refer to below links:

Migration Guide

If you are coming from an earlier version of @blocto/wagmi-connector, you can see breaking changes in the list below.

1.2.0 Breaking Changes

  1. Removed BloctoWeb3modalConfig exported; instead, we use @blocto/web3modal-connector to replace support for Web3Modal
npm uninstall @blocto/wagmi-connector
npm install @blocto/web3modal-connector
  1. Removed chainId & rpc parameters from BloctoConnector constructor.
- new BloctoConnector({ chains, options: { appId, chainId, rpc } })
+ new BloctoConnector({ chains, options: { appId } })

Usage

yarn add @blocto/wagmi-connector

Development

Install Dependencies

yarn

Build

yarn build