1.2.2 • Published 1 year ago

powco v1.2.2

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

powco

npm install --save powco

Stream Boostpow Transactions

import { Job, Proof } from 'boostpow'

import { stream } from 'powco'

stream.on('boostpow.job', (job: Job) => {

  console.log('boostpow.job', job)

})

stream.on('boostpow.proof', (proof: Proof) => {

  console.log('boostpow.proof', proof)

})

Broadcast Transaction

import { broadcast } from 'powco'

const txid = await broadcast(txhex)

Fetch Transaction

import { fetch } from 'powco'

const txhex = await fetch(txid)
1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago