omgnetwork / plasma-cli

Apache License 2.0
8 stars 6 forks source link

[feature][improvement] UTXO Split function #42

Closed Pongch closed 5 years ago

Pongch commented 5 years ago

Currently the sendBasic transaction takes a UTXO and send it to an address (with some change to itself)

We should allow the user to send to multiple recipient addresses (output) at once, similar to how merge function can take in multiple inputs.

plasma_cli send --fromutxo=UTXO --privatekey="private_key" --fromowner="from_owner" --toamount=amount --toowner="owner_1" --toowner="owner_2" --toowner="owner_3"