Skip to content

Commit 22e2cad

Browse files
authored
Infra API Key called Project ID in their dashboard
Adding a note to the readme to reflect this.
1 parent 3a112ed commit 22e2cad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This Truffle box comes with everything you need to start [developing on flash lo
1515
truffle unbox aave/flashloan-box
1616
```
1717
2. Rename the `env` file to `.env` and edit the following values in the file:
18-
- Sign up for [Infura](https://infura.io/) (or a similar provider) and replace `YOUR_INFURA_KEY` with an API key for your project.
18+
- Sign up for [Infura](https://infura.io/) (or a similar provider) and replace `YOUR_INFURA_KEY` with an API key for your project (this is called Project ID in the Infra dashboard).
1919
- Replace `YOUR_ACCOUNT_KEY_FOR_DEPLOYMENT` with the private key of the ethereum account you will be using to deploy the contracts. This account will become the `owner` of the contract.
2020
3. Ensure your ethereum account has some ETH to deploy the contract.
2121
4. In your terminal, navigate to your repo directory and install the dependencies (if not already done):
@@ -50,7 +50,7 @@ If you are working across protocols, such as using the flash loaned amount on an
5050
2. (Install and) Run [Ganache](https://www.trufflesuite.com/ganache), preferably the [CLI version](https://github.com/trufflesuite/ganache-cli)
5151
3. In `truffle-config.js`, ensure the details for the `development` network match up with your running Ganache instance.
5252
4. To minimise set up steps with Aave's lending pools, use Ganache's fork feature. This will 'fork' mainnet into your Ganache instance.
53-
Open terminal, replace `YOUR_INFURA_KEY` in the following and run:
53+
Open terminal, replace `YOUR_INFURA_KEY` (this is called Project ID in the Infra dashboard) in the following and run:
5454
```
5555
ganache-cli --fork https://mainnet.infura.io/v3/YOUR_INFURA_KEY -i 1
5656
```

0 commit comments

Comments
 (0)