hashblock / hashblock-exchange

Sawtooth transaction families for an event accounting distributed ledger application
MIT License
8 stars 1 forks source link

Use quantity and resource units of measure in CLI commands #26

Closed arthurgreef closed 6 years ago

arthurgreef commented 6 years ago

Currently we enter prime numbers for units in the CLI.

Instead of: 5:2:3 we should be able to write 5 bag(s) of peanut(s) Instead of: 2:7:13 we should be able to write 2 $ of USD or $2 of USD Instead of 2:7:13 1:2:3 we should be able to write ratios like 2 $ of USD/1 bag of peanuts

Ideally we can write a reciprocating event as: $10 of USD @ $2 of USD/1 bag of peanuts

FrankC01 commented 6 years ago

This was achieved, and then obsoleted, a long time ago