Lync bet
AI-resolved prediction market with gasless UX, powered by Chainlink CRE.
What it is
A binary prediction market (YES/NO) where users bet with USDC. Markets are resolved automatically by a Chainlink CRE workflow that uses live data and an LLM to decide outcomes.
How it works:
Users sign EIP-712 orders (no gas); the backend submits fillOrder and pays gas.
Markets have a resolution date. When it passes, the CRE workflow fetches the next market from the backend.
The workflow pulls live evidence (e.g. CoinGecko for crypto), sends it to an LLM (Gemini), and gets YES/NO.
The DON signs the result and the Forwarder calls onReport on the contract to resolve the market.
Winners redeem 1 USDC per winning share via redeemWinning.
Problem it solves:
Gasless UX: users only approve USDC and sign; backend pays gas.
Trustless resolution: CRE’s TEE + DON consensus instead of a single oracle.
Flexible resolution: LLM + live data can handle many question types.
How it Works
Contracts: Solidity (Foundry), OpenZeppelin, EIP-712 signed orders, IReceiver for CRE.
Backend: Rust (Axum), PostgreSQL, SQLx, ethers-rs.
Watcher: Rust service that indexes OrderFilled events and syncs DB.
CRE workflow: TypeScript, @chainlink/cre-sdk, HTTP + LLM steps, EVM writeReport.
Frontend: React (lync-fe).
Links
Created by
- Rakesh Panugoth
- Sai Adithya Kancharla
- M. Shanmukha Rana Prathap
- Abhishek Alimchandani
- Pranav Lakkadi