Simple contract adapter for interacting with the Aave protocol. Aave V2. The code was written in Solidity. Used the Foundry toolchain.
Tests use a fork of the mainnet.
- Install foundry https://book.getfoundry.sh/getting-started/installation
- Create file
.env
- Complete the file according to
.env.example
. You need to type MAINNET_RPC_URL
- Если необходимо, то выполнить установку библиотек
forge install foundry-rs/forge-std --no-commit && forge install OpenZeppelin/[email protected] --no-commit
- Run build
forge build
- Run tests
forge test -vvv