react-band-wallet
v1.0.33
Published
A React package that provide Web3 Provider and interface with Band Protocol wallet
Downloads
11
Readme
react-band-wallet
A React package that allows dApps to connect to Band Protocol wallet
Install
yarn add react-band-wallet
Usage
import BandWallet from 'react-band-wallet'
async function getProvider() {
const wallet = new BandWallet()
const provider = await wallet.provider
return provider
}
Under the hood, the library keeps iframe
instance available the entire time. It exposes the web3Provider
instance as well as styling / positioning methods through Context API.
License
MIT © Band Protocol