Lottery Project Compiling: A Complete Tutorial
In this tutorial, We are going to finally compile the lottery project . After making sure that it has been successfully compiled, we will run all the written tests to make sure everything works correctly in the contract. In the end, we will deploy the Decentralized Application on the Rinkeby test network. To be able to interact with the deployed contract, we will get some test Link tokens from Rinkeby Faucet.
Compiling the Lottery Project Dapp
In this part, we are going to finally compile, run and test our Lottery Dapp.
Coppied to clipboard.
brownie compile
The result should be:
Coppied to clipboard.
Brownie v1.18.1 - Python development framework for Ethereum
1.33MiB [00:03, 402kiB/s]
New compatible solc version available: 0.7.0
Compiling contracts...
Solc version: 0.7.0
Optimizer: Enabled Runs: 200
EVM Version: Istanbul
WARNING: Unable to compile OpenZeppelin/openzeppelin-contracts@3.4.0 due to a CompilerError - you ma...