state-machine-builder icon indicating copy to clipboard operation
state-machine-builder copied to clipboard

Authorize state transitions with signed messages and ecrecover

Open adklempner opened this issue 7 years ago • 0 comments

Huge barrier to user on-boarding of decentralized applications is paying for gas.

Let's add another version of the performStateChange method that accepts two additional parameters: bytes32 hash, bytes sig and uses Zeppelin's ECRecovery library to allow anyone to submit a TX on the signer's behalf.

If this pattern can work in StateMachineBuilder it'll be worth releasing a generic version, probably as a new addition to the OpenZeppelin library.

adklempner avatar Mar 20 '18 02:03 adklempner