- Requirements
- Python3.x +
- eth-brownie
- ganache
Deployed using Goerli Network
-
Clone the repo with
git clone
. -
Rename the
.env.example
for.env
and replace using your Wallet Key and Infura project id.Note: Do not use a wallet with real assets, use a wallet with tokens for the testnets.
-
Run de code using brownie
brownie run scripts/deploy.py --network goerli
.
Chainlink Data Feeds are live contracts you must interact with, and they don't exists on a local development environment.
So we use Mocks (Fake Contracts to get them), which return a fake price, this is helpful for local testing only.
Just run the code without the network flag.
brownie run scripts/deploy.py
Remember to have ganache installed for this.