Im having an issue compiling my first contract with brownie. I run the following.
- mkdir brownie
- cd brownie
- brownie init
- touch contracts/SimpleStorage.sol
Contents of SimpleStorage.sol
pragma solidity >=0.4.22 <0.12.0;
contract SimpleStorage {
uint256 storedData;
}
When I run
- brownie compile
I get no errors.
But the build/contracts directory does not populate with SimpleStorage.json
I have tried this workflow with the token bake as follows with no issues.
- mkdir brownie
- cd brownie
- brownie init
- brownie bake token
- cd token
- brownie compile
This results in a properly compiled set of .json documents in the token/build/contracts directory.
I'm very hopeful someone will be able to help me figure out what I am not doing correctly. I have found some materials indicating that my solidity compiler may not be correct but I can not make much sense of the material I have found. My compiler does not seem to be an issue as I get no errors and the second workflow executes without issue.