JoshOrndorff / utxo-workshop

A Substrate UTXO workshop
The Unlicense
117 stars 81 forks source link

Create helper functions to help users create and sign utxo transactions #62

Open nczhu opened 4 years ago

nczhu commented 4 years ago

Options: 1 Create helper fn as extrinsic; Constraint: the extrinsic sender would have to be the owner of all input UTXOs. fn sig:

get_signatures(trx) -> DispatchResult { 
    ...
}
// logs a Vec<H512> of signatures somewhere
  1. Create helper fn as CLI executable