I've just tried the meta-transactions demo but found many errors when just following the instructions. It seems that it was published without checking that it works beforehand, which is bad practise.
Please fix all errors so that it actually runs.
e.g.:
Replace forwarder.verify(request, signature) with forwarder.verify(forwardRequestData) where forwardRequestData corresponds with ForwardRequestData.
Add deadline to the request.
Should EIP712Domain have salt?
Replace API_KEY with RELAYER_API_KEY and API_SECRET with RELAYER_API_SECRET in various files.
Replace apiKey with relayerApiKey and apiSecret with relayerApiSecret in the call to handler().
I've just tried the meta-transactions demo but found many errors when just following the instructions. It seems that it was published without checking that it works beforehand, which is bad practise.
Please fix all errors so that it actually runs.
e.g.:
Replace
forwarder.verify(request, signature)withforwarder.verify(forwardRequestData)whereforwardRequestDatacorresponds with ForwardRequestData.Add
deadlineto therequest.Should
EIP712Domainhavesalt?Replace
API_KEYwithRELAYER_API_KEYandAPI_SECRETwithRELAYER_API_SECRETin various files.Replace
apiKeywithrelayerApiKeyandapiSecretwithrelayerApiSecretin the call tohandler().