ethers.js
ethers.js copied to clipboard
signTypedData: Can specify domain separator, not only domain object.
Sometimes, domain separator is constructed not according to EIP712 and we need a way to pass already computed value of domain_separator. (e.g., token USDC.e 0x2791bca1f2de4661ed88a30c99a7a9449aa84174 on Polygon)