Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kleros/kleros-interaction
Smart contracts able to interact with Kleros
https://github.com/kleros/kleros-interaction
arbitrable blockchain ethereum kleros-v1 smart-contracts solidity
Last synced: 7 days ago
JSON representation
Smart contracts able to interact with Kleros
- Host: GitHub
- URL: https://github.com/kleros/kleros-interaction
- Owner: kleros
- License: mit
- Created: 2017-07-26T12:43:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-06T11:31:32.000Z (5 months ago)
- Last Synced: 2025-01-07T04:33:47.205Z (14 days ago)
- Topics: arbitrable, blockchain, ethereum, kleros-v1, smart-contracts, solidity
- Language: Solidity
- Homepage:
- Size: 4.46 MB
- Stars: 87
- Watchers: 17
- Forks: 62
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Audit: auditor.md
Awesome Lists containing this project
README
Kleros Interaction Smart ContractsSmart 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](https://kleros.gitbook.io/contributing-md/).
Learn how to develop arbitrable and arbitrator contracts [here](https://erc-792.readthedocs.io/en/latest/).