band-wallet
v0.2.14
Published
A React package that provide Web3 Provider and interface with Band Protocol wallet
Downloads
13
Readme
band-wallet
A javascript package that allows dApps to connect to Band Protocol wallet
Install
yarn add band-wallet
Usage
import BandWallet from '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