A permissionless intent-based token transfer system built on ZetaChain that enables fast cross-chain transfers through incentivized third-party fulfillers.
This repository is a monorepo that contains the source for the following components of Speedrun:
api: the backend that listens to and index intents for fulfillersdocumentation: general documentation for Speedrunfrontend: the frontend interface for the Speedrun Exchange platformlanding-page: landing page for Speedrun platform
Speedrun is a novel cross-chain transfer system that leverages ZetaChain's infrastructure while providing faster transfer execution through a market-driven fulfillment mechanism. Users can initiate transfers with intent fees, allowing third-party agents (fulfillers) to execute transfers early on the destination chain in exchange for compensation.
- Permissionless Fulfillment: Anyone can participate as a fulfiller
- Market-Driven Speed: Faster transfers through incentivized early execution
- Partial Fulfillment Support: Multiple fulfillers can split a single transfer
- Simple Interface: Clean, intuitive web interface for transfer initiation
- Extensible Architecture: Ready for future features like intent-based swaps
Learn more about the smart contracts
-
Smart Contracts
- Intent-based transfers witht routing on ZetaChain
- Smart contracts for each supported VMs
-
Web Interface (React)
- Transfer initiation form
- Real-time status tracking
- Transaction history
-
Backend API
- Intent registration
- Fulfillment tracking
- CCTX monitoring
-
Fulfiller Tooling
- Intent scanning
- Fulfillment execution
- Fee calculation
-
Transfer Creation
- User specifies:
- Source Chain
- Destination Chain
- Token
- Amount
- Intent Fee
- System creates CCTX and registers Intent ID
- User specifies:
-
Fulfillment Process
- Fulfillers monitor intents
- Early execution on destination chain
- Partial fulfillment support
- Proportional fee distribution
-
Reconciliation
- CCTX arrival processing
- Fulfiller compensation
- Original transfer completion
- Node.js (v16 or higher)
- Go (v1.20 or higher)
- Access to ZetaChain network
- Intent Fee: Set by the platform (configurable)
- Fulfiller Compensation: Proportional to fulfilled amount
- Refund Policy: Full refund if no fulfillment occurs