flutter_web3 icon indicating copy to clipboard operation
flutter_web3 copied to clipboard

Exposing _call so we can sign typed data (EIP712)

Open j05u3 opened this issue 1 year ago • 0 comments

This way we can sign typed data like this:

 await provider.getSigner().call<String>("_signTypedData", [
    jsify(domain), // jsify is required in case not being primitives
    jsify(types),
    jsify(value)
  ]); // returns "0x..." signature hex

j05u3 avatar Aug 13 '23 00:08 j05u3