You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when sending funds to the bridge, we're first approving for the exact amount that we then want to deposit subsequently
This makes exchanging DAI => PDAI a slow process
Many dApps take advantage of approving uint(2^256)-1, such that after the first time they won't have to approve anymore
The Problem
To get PDAI, as a user I have to send DAI to the burner-wallet and then use "Exchange.js" to swap my DAI for PDAI. I'm annoyed that I have to "keep my phone unlocked" for the time of the two transactions waiting to be confirmed.
Personally, I see two solutions
Solution 1
In an option that is by default enabled, allow the user to approve the biggest possible integer to the bridge such that two transactions can be avoided
Solution 2
Instead of the "Receive" QR code being a regular address, deploy a smart contract for the user that automatically forwards DAI to the LeapDAO bridge. A so called "PDAI => DAI converter contract"
Solution 3
[Feel free to add more in the comments]
Deliverables
Implement one of the above mentioned solutions or your own
Roles
bounty gardener: @TimDaub / 10%
bounty worker: name / 75%
bounty reviewer: name / 15%
The text was updated successfully, but these errors were encountered:
Scope
uint(2^256)-1
, such that after the first time they won't have to approve anymoreThe Problem
To get PDAI, as a user I have to send DAI to the burner-wallet and then use "Exchange.js" to swap my DAI for PDAI. I'm annoyed that I have to "keep my phone unlocked" for the time of the two transactions waiting to be confirmed.
Personally, I see two solutions
Solution 1
Solution 2
Solution 3
[Feel free to add more in the comments]
Deliverables
Roles
bounty gardener: @TimDaub / 10%
bounty worker: name / 75%
bounty reviewer: name / 15%
The text was updated successfully, but these errors were encountered: