Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Smart contracts able to interact with Kleros

License

NotificationsYou must be signed in to change notification settings

BlockchainAsset/kleros-interaction

 
 

Repository files navigation

Kleros Interaction Smart Contracts

JavaScript Style GuideBuild StatusDependenciesDev DependenciesTested with TruffleConventional CommitsCommitizen FriendlyStyled with PrettierChat on Gitter

Smart contracts able to interact with Kleros and standard proposals.

Get Started

  1. Clone this repo.
  2. Runyarn 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.

Test

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

Contributing

Seecontributing.

Learn how to develop arbitrable and arbitrator contractshere.

About

Smart contracts able to interact with Kleros

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Solidity57.5%
  • JavaScript42.5%

[8]ページ先頭

©2009-2025 Movatter.jp