Skip to content
Smart contracts able to interact with Kleros
Solidity JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
contracts
docs fix spelling "thex"->"the" Aug 18, 2018
migrations
test
.gitattributes
.gitignore
.travis.yml
CHANGELOG.md
CONTRIBUTING.md docs(readme): update Nov 4, 2018
LICENSE.md
README.md docs(readme): link to tutorials Jun 16, 2019
auditor.md
package.json
truffle-config.js
yarn.lock chore(package): add openzeppelin-test-helpers Sep 15, 2019

README.md

Kleros Interaction Smart Contracts

JavaScript Style Guide Build Status Dependencies Dev Dependencies Tested with Truffle Conventional Commits Commitizen Friendly Styled with Prettier Chat on Gitter

Smart contracts able to interact with Kleros and standard proposals.

Get Started

  1. Clone this repo.
  2. Run yarn to install dependencies and then yarn 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.

Test

Testrpc default gas limit is lower than the mainnet which prevents deploying some contracts. Before running truffle tests use: testrpc -l 8000000.

Contributing

See contributing.

Learn how to develop arbitrable and arbitrator contracts here.

You can’t perform that action at this time.