Kleros
Kleros.ioGithub
  • Introduction to Kleros
  • Kleros FAQ
  • Governance
  • PNK Token
  • They talk about Kleros
  • Products
    • Court
      • Kleros Juror Tutorial
      • Famous Kleros Cases
      • What happens during a dispute?
      • Kleros & Credible Neutrality
    • Court V2
    • Proof of Humanity
      • Proof of Humanity 2.0 Tutorial: (Register & Vouch)
      • Proof of Humanity 2.0 Tutorial (Remove & Challenge)
      • Proof of Humanity 2.0 Tutorial (Transferring a Profile)
      • Proof of Humanity 2.0 Integration Guide
      • Proof of Humanity FAQ
        • Proof of Humanity 2.0 launch FAQ
    • Curate
      • Kleros Curate Tutorial
      • Kleros Scout
        • Tutorial
        • Earn With Kleros Scout
        • Partnerships
        • Kleros Scout - Metamask Snaps
          • Knowledge Base
        • FAQs
    • Oracle
    • Governor
    • Escrow
      • Kleros Escrow Tutorial
      • Kleros Escrow Specifications
    • Linguo
      • Kleros Linguo Tutorial
      • Step-by-step Tutorial
        • Requesting translations
        • Working as a translator
        • Reviewing translations
      • F.A.Q
      • High-level Overview
    • Moderate
      • Susie
        • Getting Started
          • Add Susie
          • Start Susie
        • Basics
          • Welcome
          • Language
          • Notifications
        • Rules
        • Reports
        • Evidence
        • Federations
  • INTEGRATIONS
    • Overview
    • Industry use cases
    • Types of Integrations
      • 1. Dispute resolution integration plan
        • Smart contract integration with Kleros Court (Arbitrator)
        • Use Cases
          • DeFi Insurance
          • Gaming
          • Recognition of Jurisdiction Integration
            • Integración por Reconocimiento de Jurisdicción
        • Channel partners
          • How to use Reality.eth + Kleros as an oracle
          • Safe Zodiac integration
          • Kleros Reality Module
        • Integration Tools
          • Centralized Arbitrator
          • Dispute Resolver
      • 2. Curated-data integration plan
        • Retrieving information from Kleros Dapps
    • Policy writing guide
    • Live & Upcoming Integrations
    • Kleros Analytics
    • Scalability & Cross-chain
      • Using Kleros arbitration for Dapps on xDai/Gnosis
    • Integrations FAQ
  • Developers
    • Arbitration Development
      • ERC-792: Arbitration Standard
      • ERC 1497: Evidence Standard
      • Arbitrable Proxy
    • Arbitration by Example
      • ArbitrableDeposit.sol
      • TwoPartyArbitrable.sol
      • Rental.sol
      • ArbitrableTransaction.sol
      • MultipleArbitrableTransaction.sol
      • MultipleArbitrableTokenTransaction.sol
    • Deployment Addresses
    • Curate Classic: Integration for Devs
    • Light Curate: Integration for Devs
    • Guide for Preparing Transactions
  • Contribution Guidelines
    • Overview
    • General Dev. Workflow
      • Task Tracking & Lifecycle
      • Releases
    • Smart Contract Workflow
      • Task Tracking & Lifecycle
      • RAB - Review, Audit, Bounty
      • RABd (+ Deploy)
      • Reporting Vulnerabilities
    • Code Style and Guidelines
      • Git
      • Solidity
      • Web Languages
    • License & Code of Conduct
      • License
      • Code of Conduct
  • Additional Resources
    • Discord
    • Telegram
    • Governance Forum
    • Twitter
    • Blog
    • Reddit
    • Github
    • Slack
Powered by GitBook
On this page
  • Create/Modify the Arbitrable app to be integrated with Kleros Court
  • Test it with the Centralized Arbitrator

Was this helpful?

Edit on GitHub
  1. INTEGRATIONS
  2. Types of Integrations
  3. 1. Dispute resolution integration plan

Smart contract integration with Kleros Court (Arbitrator)

When you want to integrate your smart contract with Kleros Court for a fully trustless integration.

Previous1. Dispute resolution integration planNextUse Cases

Last updated 1 year ago

Was this helpful?

Kleros Court is the implementation of an arbitrator as per the we developed. Most integrations consist in building or customizing an Arbitrable app so it can request arbitration to Kleros Court. Once you integrate with the Arbitration standard, you (or your users) will be able to choose any arbitrator that follows the standard to solve disputes, including Kleros.

You can build an arbitrable smart contract or ensure your existing smart contracts are compliant with the Arbitrable interface:

  • From scratch by applying the (and/or using the ),

  • By customizing one of our or looking at,

  • By working with to adapt yours to the standard or creating a connector,

Create/Modify the Arbitrable app to be integrated with Kleros Court

In the Arbitrable contract, you will have to define at least:

  • the address of the Arbitrator contract (look at the top of this page for the addresses of Kleros Court Arbitrators.

  • Some extra data to set up the arbitration (that will specify the sub-court to be used and the number of vote required)

    • List of subcourt IDs below,

    • We recommend starting with 3 votes.

    • Script to generate the arbitrator extra data

    generateArbitratorExtraData = (subcourtID, noOfVotes) => 0x${parseInt(subcourtID, 10).toString(16).padStart(64, "0") + parseInt(noOfVotes, 10).toString(16).padStart(64, "0")};

  • (If appeals are allowed) Stake multipliers representing multipliers of the appeal cost that a party must pay for a new round (in basis points)

Kleros Court Deployments (Arbitrator)

List of Subcourt IDs (Ethereum Mainnet) The General Court ID is 0.

  1. Blockchain

  2. Non-Technical

  3. Token Listing

  4. Technical

  5. Marketing Services

  6. English Language

  7. Video Production

  8. Onboarding

  9. Curation

  10. Data Analysis

  11. Statistical Modeling

  12. Curation (Medium)

  13. Spanish-English Translation

  14. French-English Translation

  15. Portuguese-English Translation

  16. German-English Translation

  17. Russian-English Translation

  18. Korean-English Translation

  19. Japanese-English Translation

  20. Turkish-English Translation

  21. Chinese-English Translation

  22. Corte General en Espanol

  23. Humanity Court

Learn more about how to build an Arbitrable app integrated with the Kleros Court arbitrator by reading the ERC-792 Arbitration Standard linked below.

Test it with the Centralized Arbitrator

You can test your arbitrable app on mainnet and most testnets by deploying a centralized arbitrator that you control (= you can easily give rulings/decisions and set the arbitration fee) and testing the integration this way. More details about the arbitrator on the page linked below.

If you want to integrate with Kleros for dispute resolution, you will have to create an Arbitrable smart contract as per the that will allow executing the following flow:

You can also check the subcourt IDs on community-owned .

For more details, please consult the documentation, have a look at the examples of implementations shared , or contact us on Discord, Telegram, Slack, or send a mail to contact@kleros.io (links on the bottom left).

Arbitration Standard
Kleros Court (Arbitrator) on Ethereum Mainnet
Kleros Court (Arbitrator) on xDai
Kleros Court (Arbitrator) on Sokol
Kleros Court (Arbitrator) on Ethereum Ropsten
Kleros Court (Arbitrator) on Ethereum Kovan
http://klerosboard.com/
ERC-792: Arbitration Standard
Centralized Arbitrator
Arbitration Standard
here
Arbitration standard
Arbitration standard
Archon library
examples
live integrations
Cooperative Kleros