dmihal / eth-permit

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

How do you supply a deadline & nonce? #8

Open adriandelgg opened 2 years ago

adriandelgg commented 2 years ago

I'm using this and it works great. However, what is the default amount that it sets the deadline to?

How can I set my own custom time for the deadline?

Also, when testing on test nets, the nonce always is 0x0, even after signing multiple messages.