omgnetwork / plasma-cli

Apache License 2.0
8 stars 6 forks source link

Implementing Split Transaction #44

Closed Pongch closed 5 years ago

Pongch commented 5 years ago

https://github.com/omisego/plasma-cli/issues/42

use:

plasma_cli split --fromutxo=UTXO_position --fromowner="from_address" --privatekey="from_privatekey" --toowner="to_address" --toamount=to_amount  --outputs=number_of_outputs --watcher="watcher_url"

Takes in a single UTXO input - split into N Outputs

Note: Split is reimplementing a lot of function found in Send right now. I will refactor all the PlasmaTransactions and have them share the same interface later.

Pongch commented 5 years ago

fixed https://github.com/omisego/plasma-cli/issues/41