Post
Share your knowledge.
Are there any guides or examples I could reference for how to sign a message?
I have been looking for tools/guides for calling the SupplywithPermit
function for Aave v3 pool and I thought I would ask for help in here since i could not find anything else. I was able to get the approve and supply working but rather than processing two transactions and paying twice as many fees I am trying the "signed message" option however i am having trouble setting up the code to get the V R S params.
Are there any guides or examples I could reference for how to sign a message?
- Aave Pool
- Aave v3
Answers
1To use the permit method you'll need to generate the data to sign, sign with the wallet, then pass this signature into the supplyWithPermit
function. There is an example of this in the aave-ui repo here;
Do you know the answer?
Please log in and share it.
Aave is a decentralized non-custodial liquidity protocol where users can participate as depositors or borrowers.
- Error "No matching key" when trying to unstake USDC on BNB chain32
- How to tell the code to, rather than "deposit 1 eth worth of WBTC" deposit "500$ worth of WBTC"?22
- How to interpret configuration field in a response from the getReserveData view function in Aave v2?21
- Getting a return value of '25 - INVALID BURN AMOUNT'21
- Is there any way to stake in the security module on Görli?23