depay-react-crypto-wallets
v1.1.1
Published
One-Stop-Shop react providers and components to integrate various blockchain crypto wallets with a single interface.
Downloads
4
Readme
Quickstart
yarn add depay-react-crypto-wallets
or
npm install --save depay-react-crypto-wallets
import { wallet } from 'depay-react-crypto-wallets'
Functionalities
wallet
Provides a wallet instance.
import { wallet } from 'depay-react-crypto-wallets'
wallet.type() // 'MetaMask'
await wallet.connect() // ['0x0000000000000000000000000000000000000000']
type
type (string)
: Returns wallet type.
wallet.type() // 'MetaMask'
connect
async connect (array)
: Connets wallet. Potentially opens wallet connect screen. Provides array of wallet addresses in async return.
await wallet.connect() // ['0x0000000000000000000000000000000000000000']
Development
Get started
yarn install
yarn start
Release
npm publish