Neural Processing Mechanisms

    @liquality/bitcoin-js-wallet-provider
    TypeScript icon, indicating that this package has built-in type declarations

    1.6.1 • Public • Published

    @liquality/bitcoin-js-wallet-provider

    Build Status Coverage Status Standard Code Style MIT License @liquality/bitcoin-ledger-provider Gitter Telegram Greenkeeper badge

    ⚠️ This project is under heavy development. Expect bugs & breaking changes.

    📝 Introductory Blog Post: The Missing Tool to Cross-Chain Development

    Query different blockchains with account management using a single and simple interface.

    Installation

    npm i @liquality/bitcoin-js-wallet-provider

    or

    <script src="https://cdn.jsdelivr.net/npm/@liquality/bitcoin-ledger-provider@0.2.3/dist/bitcoin-ledger-provider.min.js"></script>
    <!-- sourceMap at https://cdn.jsdelivr.net/npm/@liquality/bitcoin-ledger-provider@0.2.3/dist/bitcoin-ledger-provider.min.js.map -->
    <!-- available as window.BitcoinLedgerProvider -->

    Usage

    import { BitcoinJsWalletProvider } from '@liquality/bitcoin-js-wallet-provider'
    import { BitcoinNetworks } from '@liquality/bitcoin-network'
    import { generateMnemonic } from 'bip39'
    
    const jsWallet = new BitcoinJsWalletProvider(
      bitcoinNetworks[config.bitcoin.network],
      config.bitcoin.rpc.host,
      config.bitcoin.rpc.username,
      config.bitcoin.rpc.password,
      generateMnemonic(256),
      'bech32'
    )
    
    await jsWallet.getAddresses(0, 1)

    License

    MIT

    Keywords

    none

    Install

    npm i @liquality/bitcoin-js-wallet-provider

    DownloadsWeekly Downloads

    258

    Version

    1.6.1

    License

    MIT

    Unpacked Size

    46.4 kB

    Total Files

    9

    Last publish

    Collaborators

    • harshjv
    • mattblackdesign
    • monokh
    • liquality-bot
    • bradley.suira