UNPKG

graphene

Version:

Communicate with graphene witness via websocket

47 lines (34 loc) 609 B
# Nodejs library for Graphene Provide a library and useful commands for graphene testing # Install required libs: npm install Last Blocks ---------- * Usage: ``` node bin/lastBocks.js url nLastBlocks ``` * Example ``` node bin/lastBlocks.js ws://127.0.0.1:8090 10 ``` Flood the network ---------- * Usage: ``` node bin/flood.js accountFrom accountTo url-wallet [nTxBlock] ``` * Example: ``` node bin/flood.js spartako spartako1 ws://127.0.0.1:8099 10 ``` Generic commands ---------- * Usage: ``` node bin/cmd.js url cmd *args ``` * Example: ``` node bin/cmd.js ws://127.0.0.1:8099 info ```