reactive-steem

0.0.5 • Public • Published

reactive-steem

Build Status npm version

Reactive Programming + STEEM

Get started

$ npm i -SE reactive-steem

Stream blocks:

const { stream } = require('reactive-steem')
 
stream()
    .blocks
    .subscribe(({ block }) => {
        console.log(block)
    })

Stream transactions:

const { stream, toTransaction } = require('reactive-steem')
 
stream()
    .blocks
    .pipe(toTransaction)
    .subscribe(({ transaction, block }) => {
        const [opType, op] = transaction.operations[0]
        console.log(opType, op)
    }) 

Readme

Keywords

none

Package Sidebar

Install

npm i reactive-steem

Weekly Downloads

0

Version

0.0.5

License

ISC

Unpacked Size

48.1 kB

Total Files

34

Last publish

Collaborators

  • adasq