Skip to content

Commit b9a4af3

Browse files
committed
Updates for latest Truffle version
1 parent 427edfa commit b9a4af3

File tree

4 files changed

+837
-423
lines changed

4 files changed

+837
-423
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Aave Flash Loan Truffle Box
2-
## :warning: [Known issue with latest version of Truffle (5.1.25)](https://github.com/trufflesuite/truffle/issues/3033).
3-
### :white_check_mark: This box is working on Truffle v.5.1.0
42

53
This Truffle box comes with everything you need to start [developing on flash loans](https://docs.aave.com/developers/tutorials/performing-a-flash-loan/...-with-truffle)
64

75
## Installation and Setup
86

97
0. Install Truffle globally, if not already installed.
108
```
11-
npm install -g truffle@5.10
9+
npm install -g truffle@latest
1210
```
11+
Note: there is an issue with some older Truffle versions, e.g. v.5.1.25.
12+
**This truffle box is confirmed working with the latest version (Truffle v5.1.32)**
1313
1. Download the box.
1414
```
1515
truffle unbox aave/flashloan-box
@@ -40,8 +40,8 @@ This Truffle box comes with everything you need to start [developing on flash lo
4040
```
4141
- if the above operation takes an unreasonably long time or timesout, try `CTRL+C` to exit the Truffle console, repeat step 5, then try this step agin. You may need to wait a few blocks before your node can 'see' the deployed contract.
4242
9. If you've successfully followed the above steps, then congratulations, you've just made a flash loan.
43-
- For reference, here is an [example transaction](https://ropsten.etherscan.io/tx/0x7877238373ffface4fb2b98ca4db1679c64bc2c84c7754432aaab994a9b51e17) that followed the above steps on `Kovan` using **Dai**.
44-
- For reference, here is an [example transaction](https://ropsten.etherscan.io/tx/0x32eb3e03e00803dc19a7d2edd0a0a670756fbe210be81697be312518baeb16cc) that followed the above steps on `Kovan` using **ETH**.
43+
- For reference, here is an [example transaction](https://ropsten.etherscan.io/tx/0x7877238373ffface4fb2b98ca4db1679c64bc2c84c7754432aaab994a9b51e17) that followed the above steps on `Ropsten` using **Dai**.
44+
- For reference, here is an [example transaction](https://ropsten.etherscan.io/tx/0x32eb3e03e00803dc19a7d2edd0a0a670756fbe210be81697be312518baeb16cc) that followed the above steps on `Ropsten` using **ETH**.
4545
4646
## Setup for cross protocol flash lending
4747
If you are working across protocols, such as using the flash loaned amount on another #DeFi protocol, sometimes it is easier to fork mainnet and use each protocol's production contracts and production ERC20 tokens.

0 commit comments

Comments
 (0)