Two production-grade Web3 projects built for hackathons using Next.js 16, Solidity, and decentralized platforms.
The Court for the Agent Economy
A fully decentralized dispute resolution system for AI agent employment.
Agents register (ENS) β Clients hire via Arc x402 β Disputes filed on-chain
β 3 World ID judges vote β 2/3 consensus β Chainlink CRE executes verdict
- Agent Registry β ENS names + ERC-8004 reputation scores
- Task + Payment β Arc x402 protocol + Unlink private escrow
- Dispute Court β On-chain CourtCaseFactory with case lifecycle
- Judge Voting β 3 sybil-resistant World ID judges, 2/3 majority
- Autonomous Execution β Chainlink CRE monitors & executes verdicts
- Private Escrow β Unlink encryption prevents front-running
cd jurex
pnpm install
pnpm dev
# Visit http://localhost:3000
# Run demo at /demoDocumentation: jurex/README.md, jurex/IMPLEMENTATION_STATUS.md
Onchain Work Verification for Day Laborers
Check-in via QR β Hedera timestamps β Payment released β Reputation built
- Job Posting β World ID verified employers only
- Check-In/Out β QR scans logged immutably on Hedera HCS
- Private Payroll β Unlink escrow locks daily budget
- Instant Payment β USDC released via WalletConnect
- Dispute Arbitration β 3 World ID judges use HCS logs as proof
- Portable Reputation β Worker score follows across jobs
cd labor
pnpm install
pnpm dev
# Visit http://localhost:3000
# Run demo at /demoDocumentation: labor/README.md, labor/IMPLEMENTATION_STATUS.md, labor/SUBMISSION.md
| Feature | Jurex v2 | LaborLink |
|---|---|---|
| Focus | AI agent disputes | Physical labor |
| Status | Production-ready | Demo-ready |
| Contracts | 4 major | 3 major |
| API Routes | 23 endpoints | 15 endpoints |
| Demo Page | /demo |
/demo |
| Chain | Base Sepolia | Base Sepolia |
| SDKs | World ID, Unlink, Arc x402, Chainlink CRE, ENS | World ID, Hedera HCS, WalletConnect, Unlink, Dynamic, ENS |
- Node.js 22+ (or use nvm:
nvm use) - pnpm (
npm i -g pnpm) .env.localin each project directory
# Both projects need:
NEXT_PUBLIC_CHAIN_ID=84532
NEXT_PUBLIC_RPC_URL=https://sepolia.base.org
NEXT_PUBLIC_USDC_ADDRESS=0x036CbD53842c5426634e7929541eC2318f3dCF7e
# For deployments:
DEPLOYER_PRIVATE_KEY=0x...
# Project-specific keys in each .env.local# Terminal 1: Jurex v2
cd jurex
pnpm install
pnpm dev
# Terminal 2: LaborLink
cd labor
pnpm install
pnpm dev
# Each runs on separate port or you can run them sequentiallycd jurex && pnpm build && pnpm start
# or
cd labor && pnpm build && pnpm start# Jurex v2
cd jurex
npx hardhat compile
npx hardhat run scripts/deploy.cjs --network base-sepolia
# LaborLink
cd labor
npx hardhat compile
npx hardhat run scripts/deploy.cjs --network base-sepolia/
βββ jurex/ # AI agent dispute court (PRIMARY)
β βββ app/ # Next.js 16 App Router
β βββ contracts/ # Solidity (Base Sepolia)
β βββ lib/ # Business logic
β βββ scripts/ # Hardhat deployment
β βββ README.md
β βββ IMPLEMENTATION_STATUS.md
β
βββ labor/ # Day labor verification (SUPPORTING)
β βββ app/ # Next.js 16 App Router
β βββ contracts/ # Solidity (Base Sepolia)
β βββ lib/ # Business logic
β βββ scripts/ # Hardhat deployment
β βββ README.md
β βββ IMPLEMENTATION_STATUS.md
β βββ SUBMISSION.md
β
βββ jurex-network/ # (Deprecated)
βββ AGENTS.md # Development guide
βββ README.md # This file
- β All smart contracts (compiled, ready to deploy)
- β All API endpoints (tested, real data flows)
- β Frontend pages (responsive, styled with Tailwind)
- β Demo pages (real API calls, interactive)
- β Database layer (JSON persistence for hackathon)
- π Hedera HCS: SDK installed, messages mocked (1-2 hours to production)
- π World ID: Routes built, verification simulated (2-3 hours to production)
- π Unlink: Backend functional, no real API calls (1-2 hours to production)
- π WalletConnect: Payment flow mocked, no wallet connection (2-3 hours to production)
- π Arc x402: Task creation simulated (Jurex v2, 2-3 hours to production)
- π Chainlink CRE: Automation mocked (Jurex v2, 3-4 hours to production)
- π Dynamic Labs: SDK installed, not integrated (3-4 hours to production)
- π ENS: Architecture ready, not deployed (2-3 hours to production)
Full details: [PROJECT]/IMPLEMENTATION_STATUS.md
- Run
/demoβ Watch 5-step agent dispute resolution - Check
/registerβ See agent registration flow - Check
/hireβ See agent hiring + task creation - Hit
/api/healthβ Confirm system is operational
- Run
/demoβ Watch 5-step work verification - Check
/employerβ See job posting flow - Check
/workerβ See job lookup + check-in - Hit
/api/healthβ Confirm system is operational
Before writing code, read:
AGENTS.mdβ Next.js 16+ breaking changes, monorepo structure[PROJECT]/IMPLEMENTATION_STATUS.mdβ What's real vs mockednode_modules/next/dist/docs/β Official Next.js docs
Key Technologies:
- Next.js 16.2 (App Router, TypeScript strict)
- Tailwind CSS 4 (no inline styles)
- React 19 with TypeScript
- Solidity 0.8.24 (Hardhat 2)
- Hedera SDK, World ID SDK, WalletConnect, Unlink SDK, Arc x402, Chainlink, ENS
- Node.js 22+ installed (
node --version) - pnpm installed (
pnpm --version) -
.env.localcreated in bothjurex/andlabor/ -
pnpm installrun in both directories -
pnpm buildpasses in both directories -
pnpm devstarts without errors -
/demopage loads and runs 5 steps -
/api/healthreturns{ ok: true }
| Resource | Path |
|---|---|
| Jurex v2 README | jurex/README.md |
| LaborLink README | labor/README.md |
| Implementation Status | [project]/IMPLEMENTATION_STATUS.md |
| Development Guide | AGENTS.md |
| Smart Contracts | [project]/contracts/ |
| API Routes | [project]/app/api/ |