ssb-mutual-cli

mutual credit currency system on secure-scuttlebutt: command-line interface

Usage no npm install needed!

<script type="module">
  import ssbMutualCli from 'https://cdn.skypack.dev/ssb-mutual-cli';
</script>

README

ssb-mutual-cli

Command-line interface for ssb-mutual, a mutual credit currency system for Secure Scuttlebutt

Install from npm:

npm i -g ssb-mutual-cli

Usage

Publish a transaction:

  • ssb-mutual credit [--private] <account> <amount> <currency> [<memo>]
  • ssb-mutual debit [--private] <account> <amount> <currency> [<memo>]

Query balances:

  • ssb-mutual balance <account> <currency>
  • ssb-mutual balances <account>
  • ssb-mutual my-balance <currency>
  • ssb-mutual my-balances
  • ssb-mutual network-balance <currency>

View transactions:

  • ssb-mutual history <account> [<currency>]
  • ssb-mutual my-history [<currency>]
  • ssb-mutual transactions [<currency>]
  • ssb-mutual show <transaction_id...>

Development

Install from git-ssb:

git clone ssb://%VSq+bRGygwS14YIMqmcfhyw+5sLOPiaTso9xmD0t6x0=.sha256 ssb-mutual-cli
cd ssb-mutual-cli
npm link

Contributing

Contributions are welcome. If it's a simple fix, feel free to push to master.

License

Copyright (c) 2017 @cel

Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument.

DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.