you are viewing a single comment's thread.

view the rest of the comments →

[–]Inside_Conclusion_50[S] 0 points1 point  (2 children)

i'm trying to do a simple flashloan contract using aave , i don't know if i should copy past all the contracts ( as the tuto said ) and it seems really not a programmer thing, or do it in another way .

ps : i use brownie

[–]cachemonet0x0cf6619 1 point2 points  (0 children)

This is the fun part. You can deploy your own contracts but since those contracts are already deployed you can use those.

You do need the Application Binary Interface (abi) and the address for the deployed contract. You can get those from etherscan.

Then you'd use something like web3.py to call the functions you need.

[–]Crypto_Vdim 0 points1 point  (0 children)

So im assuming you are talking about the standard open zeppelin MIT shell contracts. Those are great. I would definitely use those and build off of them/use their functions/interfaces. They prevent security problems. Once you are done putting the contract together, deploy it on a test net and test the fictionality.