@yac-swap/yacoin-wallet-api-provider
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

@yac-swap/bitcoin-wallet-api-provider

Build Status Coverage Status Standard Code Style MIT License @yac-swap/bitcoin-wallet-api-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 @yac-swap/bitcoin-wallet-api-provider

or

<script src="https://cdn.jsdelivr.net/npm/@yac-swap/bitcoin-wallet-api-provider@0.2.3/dist/bitcoin-wallet-api-provider.min.js"></script>
<!-- sourceMap at https://cdn.jsdelivr.net/npm/@yac-swap/bitcoin-wallet-api-provider@0.2.3/dist/bitcoin-wallet-api-provider.min.js.map -->
<!-- available as window.BitcoinWalletApiProvider -->

Usage

import { BitcoinWalletApiProvider } from '@yac-swap/bitcoin-wallet-api-provider'
import { BitcoinNetworks } from '@yac-swap/bitcoin-network'

const walletProvider = new BitcoinWalletApiProvider(bitcoinNetworks[config.bitcoin.network], 'bech32')

await walletProvider.getAddresses(0, 1)

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @yac-swap/yacoin-wallet-api-provider

Weekly Downloads

5

Version

4.0.0

License

MIT

Unpacked Size

16.7 kB

Total Files

8

Last publish

Collaborators

  • yac-swap