0.1.1 • Published 2 years ago

bsv-pay v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

bsv-pay

NPM Package

Broadcast bitcoin transactions to miners

Current supported services:

  • taal
  • whatsonchain
  • gorillapool

Use

npm install bsv-pay

const BsvPay = require("bsv-pay")

const pay = new BsvPay({
  DEBUG: true
  plugins: []
  pluginOptions: {
    // whatsonchain: false // To disable specific service
    // taal: false,
    // gorillapool: false,
  },
})
const { success, report } = await pay.broadcast(txHex)
const { success, report } = await pay.status(txid)

pay.feePerKb()

Tests

npm run test

0.1.1

2 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.1.0

3 years ago

0.0.10

3 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.6

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago