Kleros Interaction Smart Contracts
Smart contracts able to interact with Kleros and standard proposals.
- Clone this repo.
yarnto install dependencies and then
yarn run buildto compile the contracts.
yarn run prettify- Apply prettier to the entire project.
yarn run lint:sol- Lint the entire project's .sol files.
yarn run lint:js- Lint the entire project's .js files.
yarn run lint:sol --fix- Fix fixable linting errors in .sol files.
yarn run lint:js --fix- Fix fixable linting errors in .js files.
yarn run lint- Lint the entire project's .sol and .js files.
yarn test- Run the truffle tests.
yarn run cz- Run commitizen.
yarn run build- Compile contracts.
Testrpc default gas limit is lower than the mainnet which prevents deploying some contracts. Before running truffle tests use:
testrpc -l 8000000.
Learn how to develop arbitrable and arbitrator contracts here.