1.1.1 • Published 3 years ago

depay-react-crypto-wallets v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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