dmihal / eth-permit

Lightweight library for signing ERC-2612 permit signatures.
https://www.npmjs.com/package/eth-permit
139 stars 30 forks source link

The data param of `signTypedData` should not be stringified #6

Open davidmurdoch opened 2 years ago

davidmurdoch commented 2 years ago

https://github.com/dmihal/eth-permit/blob/1c28d3d97bfe84fd1772c6b3c87642c7f19a82a7/src/rpc.ts#L48

See https://eips.ethereum.org/EIPS/eip-712