status-go/services/typeddata/eip712example
Dmitry Shulyak db786ef1d2
Sign typed data implementation (#1250)
* Implement EIP 712

* Cover majority of cases with tests

* Add solidity and signer tests and cover integer edges case

* Add thin api to sign type data using selected status account

* All integers are extended to int256 and marshalled into big.Int

* Document how deps works

* Fix linter

* Fix errors test

* Add validation tests

* Unmarshal every atomic type in separate functions
2018-11-06 07:26:12 +01:00
..
README.md Sign typed data implementation (#1250) 2018-11-06 07:26:12 +01:00
example.go Sign typed data implementation (#1250) 2018-11-06 07:26:12 +01:00
example.sol Sign typed data implementation (#1250) 2018-11-06 07:26:12 +01:00

README.md

EIP712 example smart contract

example.sol is taken from https://github.com/ethereum/EIPs/blob/master/assets/eip-712/Example.sol and slightly modified in order to read results from golang bindings.