https://github.com/zeroekkusu/aave_brownie_py
Interacting with the Aave protocol
https://github.com/zeroekkusu/aave_brownie_py
aave-protocol brownie chainlink python solidity
Last synced: 5 days ago
JSON representation
Interacting with the Aave protocol
- Host: GitHub
- URL: https://github.com/zeroekkusu/aave_brownie_py
- Owner: ZeroEkkusu
- License: agpl-3.0
- Created: 2021-12-31T19:17:11.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-26T10:47:32.000Z (over 4 years ago)
- Last Synced: 2025-03-01T15:58:26.307Z (over 1 year ago)
- Topics: aave-protocol, brownie, chainlink, python, solidity
- Language: Solidity
- Homepage:
- Size: 79.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# About
A Brownie suite for basic interaction with the [Aave protocol](https://github.com/aave/protocol-v2). Includes depositing, borrowing, repaying, and other functionality.
Suitable for quantitative defi engineering, as well.
### Example

### Todo
- [ ] Short selling
- [ ] Repaying remaining debt with collateral using flash loans
# Setup
### Clone
```bash
git clone https://github.com/ZeroEkkusu/aave_brownie_py
```
### Prerequisites
- [nodejs and npm](https://nodejs.org/en/download/)
- [python](https://www.python.org/downloads/)
### Requirements
```bash
pip install -r requirements.txt
```
### Other files
Set up your `.env` file using the provided [`.env.example`](./.env.example)
# Usage
- Make sure you have excess DAI in your account before running the integration test - [Kovan DAI Faucet](https://staging.aave.com/#/faucet)
*This will change after implementing the flash loan + swap functionality*
- **Make sure the account is debt-free before testing**
### Compile
```bash
brownie compile
```
### Test
```bash
brownie test
```
# Acknowledgements
This project is based on [PatrickAlphaC/aave_brownie_py](https://github.com/PatrickAlphaC/aave_brownie_py). See [`NOTICE.md`](./NOTICE.md).