@yaswap/yacoin-esplora-swap-find-provider
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@yaswap/bitcoin-esplora-swap-find-provider

Build Status Coverage Status Standard Code Style MIT License @yaswap/bitcoin-esplora-swap-find-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 @yaswap/bitcoin-esplora-swap-find-provider

or

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

Usage

import { BitcoinEsploraSwapFindProvider } from '@yaswap/bitcoin-esplora-swap-find-provider'

const apiProvider = new BitcoinEsploraSwapFindProvider('https://blockstream.info/testnet/api')

await apiProvider.getBlockByNumber(1)

License

MIT

Dependents (0)

Package Sidebar

Install

npm i @yaswap/yacoin-esplora-swap-find-provider

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

15.7 kB

Total Files

9

Last publish

Collaborators

  • yaswap