CLI for BitBoss tools
Last updated 4 years ago by hexorx .
MIT · Original npm · Tarball · package.json
$ cnpm install bitboss 
SYNC missed versions from official npm registry.



npm install bitboss -g

CLI Commands

BitBoss includes several commandline tools to help with generating keys, working with self signed JWTs, and running a server to interact with BitBoss via REST.


To generate a new private key you can use the key command with the -g option

bitboss key -g

If you need the public key you can use the -p flag

bitboss key -gp


To create a signed token you can pipe a key to token sign followed by the payload.

bitboss key -g | bitboss token sign '{"hello": "world"}'


bitboss key -g > test.key
cat test.key | bitboss token sign '{"hello": "world"}'

You can then verify the token with token verify which will return the full payload if given a valid token..

bitboss key -g | bitboss token sign '{"hello": "world"}' | bitboss token verify


Using wallet server will start a REST server that can be used to verify tokens and create transactions. The server currently stubs out the /transactions endpoint but it can be used for testing.

bitboss wallet server

To verify a token GET /tokens/:token where :token is the JWT and it will return the decoded token payload for valid tokens.


Current Tags

  • 0.0.2                                ...           latest (4 years ago)

2 Versions

  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (6)
Dev Dependencies (1)
Dependents (0)

Copyright 2014 - 2021 © |