band-wallet

0.2.14 • Public • Published

band-wallet

A javascript package that allows dApps to connect to Band Protocol wallet

NPM JavaScript Style Guide

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

Readme

Keywords

none

Package Sidebar

Install

npm i band-wallet

Weekly Downloads

19

Version

0.2.14

License

MIT

Unpacked Size

1.21 MB

Total Files

8

Last publish

Collaborators

  • qbandprotocol
  • smiled0g
  • taobun