This guide covers V1 integration with KlerosLiquid on Ethereum Mainnet. For new integrations, use Kleros V2 on Arbitrum.
Building a V1 Arbitrable Contract
A V1 arbitrable contract must:- Implement
IArbitrablereceive rulings from the arbitrator - Implement
IEvidence(ERC-1497) emit MetaEvidence, Evidence, and Dispute events - Call
createDispute()on KlerosLiquid and pay the arbitration fee - Enforce the ruling in the
rule()callback
Minimal Example
V1 extraData Format
In V1,extraData is ABI-packed with two uint256 values:
V1 Appeal Process
In V1, appeals are part of theIArbitrator interface. To support appeals in your arbitrable:
Integration Tools
V1 provides several helper tools:| Tool | Purpose |
|---|---|
| Archon | JavaScript library for fetching and validating evidence and MetaEvidence |
| Arbitrable Proxy | Pre-built proxy that handles appeal crowdfunding and evidence management |
| Centralized Arbitrator | Testing arbitrator for local development |
Using the Arbitrable Proxy
For simpler integration, use the Arbitrable Proxy contract. It handles appeal management and evidence submission, allowing your contract to focus on business logic:- Your contract creates a dispute through the proxy
- The proxy handles appeal crowdfunding and evidence events
- Your contract polls the proxy for the final ruling