Skip to content

Latest commit

 

History

History
 
 

bitcoin-ledger-provider

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

@liquality/bitcoin-ledger-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.

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

Installation

npm i @liquality/bitcoin-ledger-provider

or

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

Usage

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

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

await ledger.getAddresses(0, 1)

License

MIT