4bc718418030eadea25ed86b0e8d7030985ef37e
:round_pushpin: Make a more user-friendly output for the intermediate CLI state
So that the output looks a bit less 'scary' if curious users peek into
the intermediate construct. It looks also nicer to put in a temporary
file and, allows for embedding metadata for future extensions.
8bad60dc1cdee1889dce38e85868d274be6c33ce
:round_pushpin: slightly adjust README, replace Byron for 'Payment'
The interface will remain the same in Shelley for 'Payment', but there will be new types
of transactions
258a0488a336b7a859ed3cce962228096b79fb9a
:round_pushpin: Add more descriptive top-level help for cardano-tx
$ cardano-tx --help
Construct and sign transactions according to the following state-machine:
empty
|
*------------------* | *-----------------*
| | | | |
| v v v |
*--- add-output ---=========--- add-input ---*
|
|
lock *----------------*
| | |
| v |
=========--- sign-with ---*
|
|
serialize
|
|
v
/!\ Except 'serialize', every command outputs an intermediate state that is of little use and shouldn't be tempered with.
Redirect the output to a file, or use Unix pipes as shown below.
Usage: cardano-tx COMMAND
cardano-tx
Available options:
-h,--help Show this help text
Available commands:
empty
add-input Add a new input to the transaction.
add-output Add a new output to the transaction.
lock Lock the transaction and start signing inputs.
sign-with Add a signature.
serialize Serialize the signed transaction to binary.
Example:
cardano-tx empty 764824073 \
| cardano-tx add-input 0 \
3b40265111d8bb3c3c608d95b3a0bf83461ace32d79336579a1939b3aad1c0b7 \
| cardano-tx add-output 42 \
Ae2tdPwUPEZETXfbQxKMkMJQY1MoHCBS7bkw6TmhLjRvi9LZh1uDnXy319f \
| cardano-tx lock \
| cardano-tx sign-with \
e0860dab46f13e74ab834142e8877b80bf22044cae8ebab7a21ed1b8dc00c155 \
f6b78eee2a5bbd453ce7e7711b2964abb6a36837e475271f18ff36ae5fc8af73 \
e25db39fb78e74d4b53fb51776d0f5eb360e62d09b853f3a87ac25bf834ee1fb \
| cardano-tx serialize
4bc718418030eadea25ed86b0e8d7030985ef37e :round_pushpin: Make a more user-friendly output for the intermediate CLI state So that the output looks a bit less 'scary' if curious users peek into the intermediate construct. It looks also nicer to put in a temporary file and, allows for embedding metadata for future extensions.
e.g.:
8bad60dc1cdee1889dce38e85868d274be6c33ce :round_pushpin: slightly adjust README, replace Byron for 'Payment' The interface will remain the same in Shelley for 'Payment', but there will be new types of transactions
258a0488a336b7a859ed3cce962228096b79fb9a :round_pushpin: Add more descriptive top-level help for cardano-tx