bsv-pay
v0.1.1
Published
Broadcast bitcoin transactions to miners
Downloads
99
Maintainers
Readme
bsv-pay
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