@liquality/bitcoin-wallet-api-provider
v1.13.12
Published
[![Build Status](https://travis-ci.com/liquality/chainabstractionlayer.svg?branch=master)](https://travis-ci.com/liquality/chainabstractionlayer) [![Coverage Status](https://coveralls.io/repos/github/liquality/chainabstractionlayer/badge.svg?branch=master
Downloads
233
Keywords
Readme
@liquality/bitcoin-wallet-api-provider
:warning: This project is under heavy development. Expect bugs & breaking changes.
:pencil: 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-wallet-api-provider
or
<script src="https://cdn.jsdelivr.net/npm/@liquality/[email protected]/dist/bitcoin-wallet-api-provider.min.js"></script>
<!-- sourceMap at https://cdn.jsdelivr.net/npm/@liquality/[email protected]/dist/bitcoin-wallet-api-provider.min.js.map -->
<!-- available as window.BitcoinWalletApiProvider -->
Usage
import { BitcoinWalletApiProvider } from '@liquality/bitcoin-wallet-api-provider'
import { BitcoinNetworks } from '@liquality/bitcoin-network'
const walletProvider = new BitcoinWalletApiProvider(bitcoinNetworks[config.bitcoin.network], 'bech32')
await walletProvider.getAddresses(0, 1)