Resources
Last modified:
Core contracts
- TheCompact — main protocol implementation (ERC6909-based resource locks)
- ITheCompact Interface — core interface definition
- ITheCompactClaims Interface — claims interface
- License — MIT
Peripheral contracts
Developer warning — the repositories below are under active development and serve as reference implementations. They are for testing and reference only — do not use them in production.
Reference allocators
Smart-contract allocators
On-chain and hybrid allocator examples for The Compact. Allocators co-sign or authorize claims against sponsors' locked balances, prevent under-allocation, and — in the HybridERC7683 implementation — broadcast cross-chain orders via ERC-7683. Some allocators also rely on CenturionDEX Tribunal.
Smallocator (off-chain)
A minimal server-based allocator. Smallocator exposes an API for requesting resource-lock allocations across multiple chains, authenticates sessions with EIP-4361, and signs EIP-712 compact messages. It ships with a frontend for interacting with the server and depositing into its resource locks.
Autocator (off-chain)
A server-based allocator that authenticates via protocol signatures and on-chain transactions. Autocator accepts allocation requests by verifying accompanying compact details with sponsor signatures or on-chain registrations. It also includes a frontend for server interaction and resource-lock deposits.
Supporting infrastructure
Emissary
An on-chain signature-authority delegation registry supporting secp256k1 and P256 keys (HSM and WebAuthn formats). Designed as a fallback signature-validation mechanism for sponsors.
Tribunal
A reference implementation for processing cross-chain swap settlements on PGA (priority-gas-auction) blockchains. Tribunal ensures tokens are transferred according to the originating sponsor's mandate and enforces single-party settlement in the event of a dispute.
Arbiters
Arbiter implementations that leverage The Compact for cross-chain swaps.