First get dependencies and build everything. (Everything. Contracts, generated files, then finally the typescript itself.)
yarn && yarn buildNow if you want to, run all the tests:
yarn testWant to test deploying? First start a local ethereum node:
yarn smart ethereumNodeThen in another terminal:
yarn smart contracts:deploy --network localhostWant to deploy to kovan?
PRIVATE_KEY=$yourPrivateKeyHere yarn smart contracts:deploy --network kovanOh, now you want to verify your contracts on etherscan? You will need an etherscan api key, so get one. Then run this bad boy:
ETHERSCAN_API_KEY=$yourEtherscanAPIKeyHere yarn smart contracts:verify --network kovan $contractAddress $firstConstructorArg $secondConstructorArg(This process will be automated further, to apply to most or all of the deployed contracts without needing to know their constructor arguments.)
This repo uses eslint with a few options and prettier with 120 columns. Before committing any code, please run prettier:
yarn format:writeThen run the linter:
yarn lintDocumentation is available at https://turbo-docs.augur.sh/