1.1.1 • Published 5 years ago
depay-react-crypto-wallets v1.1.1
Quickstart
yarn add depay-react-crypto-walletsor
npm install --save depay-react-crypto-walletsimport { 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 startRelease
npm publish