depay-react-crypto-wallets

    1.1.1 • Public • Published

    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
    

    Keywords

    Install

    npm i depay-react-crypto-wallets

    DownloadsWeekly Downloads

    3

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    26.2 kB

    Total Files

    6

    Last publish

    Collaborators

    • depay-sebastian