Skip to content

babbworks/Bitpads-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitpads-cli

BitPads protocol decoder, inspector, and validator. Companion to the assembly encoder in assemblycli/.

node bin/bitpads.js <command> [options]

Commands

Command Description
decode <file.bp> Decode a .bp frame — all fields
inspect <file.bp> Annotated hex dump
verify <file.bp> CRC-15 and protocol validation
ledger encode Encode a BitLedger value record
ledger decode <hex> Decode 5 L3 accounting bytes
ledger table All 16 account pairs
signal Build a Wave signal byte
repl Interactive session
help [command] Usage
version Protocol and CLI version

Output formats

Append --format plain|inspect|report|json to decode, inspect, signal, ledger encode.

Quick examples

node bin/bitpads.js decode frame.bp
node bin/bitpads.js inspect frame.bp
node bin/bitpads.js verify frame.bp
node bin/bitpads.js ledger encode --value 4.53 --pair 1
node bin/bitpads.js ledger table
node bin/bitpads.js signal --category 4 --ack
node bin/bitpads.js repl

See TESTING.md for a full test walkthrough.

About

Command Line Tools for the Bitpads Protocols

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors