Proof Of Concept Ethereum Reality Service, based on https://ethereum-magicians.org/t/a-proposal-for-the-ethereum-reality-service/9694
forge install && yarn install
Setup Husky to format code on commit:
yarn prepare
Link local packages and install remaining dependencies via Lerna:
yarn run lerna bootstrap
Compile contracts via Foundry Hardhat:
yarn compile
Generate a code coverage report using solidity-coverage
:
yarn run hardhat coverage
First install mythril
rustup default nightly
pip3 install mythril
myth analyze src/Contract.sol --solc-json mythril.config.json
Run mythril
myth analyze src/Counter.sol --solc-json mythril.config.json
- Write / run tests with either Hardhat or Foundry:
forge test
# or
yarn test
- Use Hardhat's task framework
npx hardhat example
Publish packages via Lerna:
yarn lerna-publish