mirror of https://github.com/poanetwork/kleros.git
4fcc5dff55 | ||
---|---|---|
contracts | ||
migrations | ||
test | ||
.coveralls.yml | ||
.gitattributes | ||
.gitignore | ||
.solcover.js | ||
.travis.yml | ||
CONTRIBUTING.md | ||
LICENSE.md | ||
README.md | ||
auditor.md | ||
package.json | ||
truffle.js | ||
yarn.lock |
README.md
Kleros
Kleros core smart contracts.
Get Started
- Clone this repo.
- Run
yarn
to install dependencies and thenyarn run build
to compile the contracts.
Scripts
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.
Contributing
See CONTRIBUTING.md.