connext / monorepo

Connext is a modular stack for trust-minimized, generalized communication between blockchains.
https://docs.connext.network
MIT License
292 stars 173 forks source link

As a bridge/SDK user, I want to be able to use `permit` in order to not spend gas on approval txs. #3135

Open rhlsthrm opened 1 year ago

rhlsthrm commented 1 year ago

Problem

What problem are we solving and why does it matter, ser? Our bridge tokens and many ERC20 tokens support permit for doing approvals: https://eips.ethereum.org/EIPS/eip-2612

We can implement this in the SDK and UI to greatly increase UX.

Proposed Solution

Thoughts on solution design. We should do to solve this problem.

Acceptance Criteria

From an end tester and/or user perspective, the below criteria must be met to consider this done:

rhlsthrm commented 1 year ago

@LayneHaber we need to change the BridgeFacet in order to take in permit sigs into xcall.