@yaswap/bitcoin-ledger-provider
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@yaswap/bitcoin-ledger-provider

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

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

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

Installation

npm i @yaswap/bitcoin-ledger-provider

or

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

Usage

import { BitcoinLedgerProvider } from '@yaswap/bitcoin-ledger-provider'
import { BitcoinNetworks } from '@yaswap/bitcoin-network'

const ledger = new BitcoinLedgerProvider({
  network: BitcoinNetworks.bitcoin_testnet
})

await ledger.getAddresses(0, 1)

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @yaswap/bitcoin-ledger-provider

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

60.9 kB

Total Files

10

Last publish

Collaborators

  • yaswap