Aave.

Publication

Partagez vos connaissances.

Aaveator.
Feb 06, 2023
Questions et Réponses avec des Experts

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
0
1
Partager
Commentaires
.

Réponses

1
Aaveator.
Feb 16 2023, 12:58

To 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;

0
Commentaires
.

Connaissez-vous la réponse ?

Veuillez vous connecter et la partager.

Aave is a decentralized non-custodial liquidity protocol where users can participate as depositors or borrowers.

213Publications230Réponses
Sui.X.Peera.

Gagne ta part de 1000 Sui

Gagne des points de réputation et obtiens des récompenses pour avoir aidé la communauté Sui à se développer.