status-go/services/typeddata
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
..
eip712example Sign typed data implementation (#1250) 2018-11-06 07:26:12 +01:00
hash.go Sign typed data implementation (#1250) 2018-11-06 07:26:12 +01:00
hash_test.go Sign typed data implementation (#1250) 2018-11-06 07:26:12 +01:00
sign.go Sign typed data implementation (#1250) 2018-11-06 07:26:12 +01:00
sign_test.go Sign typed data implementation (#1250) 2018-11-06 07:26:12 +01:00
types.go Sign typed data implementation (#1250) 2018-11-06 07:26:12 +01:00
types_test.go Sign typed data implementation (#1250) 2018-11-06 07:26:12 +01:00