๐ฅ Demo Video โข Use Cases โข Features โข Documentation
Code3 is a decentralized bounty marketplace built on Ethereum, where non-subscribers can pay $0.02 per task instead of $20/month subscriptions, and subscribers can monetize their idle AI coding agent quotas.
Core Values:
- ๐ธ Pay-Per-Task: Pay $0.02 per task, not $20/month โ eliminate subscription waste
- ๐ Quota Sharing: Subscribers monetize idle quotas (refreshes every 5 hours)
- ๐ค AI Agent First: MCP toolchain designed for Claude Code and other AI coding agents
- ๐ On-Chain Authority: All state changes recorded on Ethereum Sepolia testnet
Problem: You need Claude Code to help with a specific task, but don't have a subscription. Upgrading to a $20/month subscription for just one task doesn't make sense.
Code3 Solution: Publish a bounty, let Workers with subscriptions help you complete it
sequenceDiagram
participant R as ๐ค Requester<br/>(No Subscription)
participant C3 as ๐๏ธ Code3 Platform
participant W as ๐ค Worker<br/>(Has Claude Code)
participant CC as ๐ฌ Claude Code
Note over R: Need: User Auth System<br/>No Claude Code subscription
R->>C3: Publish bounty<br/>๐ฐ $0.02
Note over C3: Task available
Note over W: Idle time detected<br/>(Quota unused)
W->>C3: Accept bounty
C3->>W: Task spec
W->>CC: specify() โ spec.md
W->>CC: plan() โ plan.md
W->>CC: implement() โ code + tests
W->>CC: analyze() โ quality check
W->>C3: Submit deliverable
C3->>R: Complete project<br/>๐ฆ Code + Tests + Docs
R->>C3: Confirm & Pay
C3->>W: Receive payment
Note over R,W: Requester: $0.02 paid<br/>Worker: Monetized idle quota<br/>Win-Win! โ
Cost Comparison:
| Your Need | Claude Code Subscription | Code3 Bounty |
|---|---|---|
| 1 task/month | $20/month (wasteful) | $0.02/task โ |
| 5 tasks/month | $20/month | $0.10 total |
| 20+ tasks/month | $20/month (makes sense) | $0.40 total |
Why This Works:
- โ For you (Requester): Pay only for what you need ($0.02 per task vs $20-200/month subscription)
- โ For Workers: Claude Code subscriptions have quotas that refresh every 5 hours. When they have idle time, they can monetize unused quotas by accepting tasks
- โ Win-Win: You get tasks done at lower cost, Workers monetize their idle computing resources
Problem: You're a $20/month Claude Code subscriber, but you've used up your quota in 1-3 hours. You still have tasks to complete, but now you face two bad options:
- โฐ Wait: Until quota refreshes (maybe 7pm or 12am) - wasted time
- ๐ธ Upgrade: To $200/month plan - expensive and wasteful if you don't need it regularly
Code3 Solution: Publish your remaining tasks as bounties instead
flowchart TD
Start["โฐ 3pm: Quota Used Up<br/>๐ 3 tasks remaining<br/>โณ Refresh at 7pm (4 hours)"]
Start --> Choice{What to do?}
Choice -->|Option 1| Wait["โฐ Wait 4 hours<br/>๐ฐ Cost: $0<br/>โฑ๏ธ Time: 4 hours"]
Choice -->|Option 2| Upgrade["๐ธ Upgrade to $200/month<br/>๐ฐ Cost: +$180/month<br/>โฑ๏ธ Time: Immediate"]
Choice -->|Option 3| Bounty["๐๏ธ Publish 3 bounties on Code3<br/>๐ฐ Cost: $0.06 total<br/>โฑ๏ธ Time: Immediate"]
Wait --> WaitResult["โ Wasted time<br/>โ
No extra cost<br/>โ ๏ธ Only if not urgent"]
Upgrade --> UpgradeResult["โ Expensive for occasional use<br/>โ
High quota daily<br/>โ ๏ธ Only if heavy user"]
Bounty --> BountyResult["โ
Immediate results<br/>โ
Cost-effective ($0.06 vs $180)<br/>โ
Pay only when needed<br/>๐ฏ Best for occasional bursts!"]
style BountyResult fill:#90EE90
style WaitResult fill:#FFB6C1
style UpgradeResult fill:#FFB6C1
style Bounty fill:#87CEEB
Real Example:
๐ 3pm - Your situation:
โโ Claude Code quota: 0% remaining (used up in 2 hours)
โโ Tasks completed: 8 tasks โ
โโ Tasks remaining: 3 tasks โณ
โโ Quota refresh: 7pm (4 hours away)
๐ก Your choice: Publish 3 bounties on Code3
โโ Cost: $0.02 ร 3 = $0.06 total
โโ Time: Results in ~30 minutes (Workers accept & complete)
โโ Result: All 11 tasks done by 3:30pm! ๐
๐ Cost comparison:
โโ Wait 4 hours: $0 (but time wasted)
โโ Upgrade to $200/month: $180 extra (wasteful if occasional)
โโ Code3 bounties: $0.06 (optimal for occasional bursts) โ
Cost Comparison:
| Option | Cost | Time | When It Makes Sense |
|---|---|---|---|
| โฐ Wait for quota refresh | $0 | 4-8 hours | Not urgent tasks |
| ๐ธ Upgrade to $200/month | +$180/month | Immediate | Need high quota daily |
| ๐๏ธ Publish bounties | $0.06 (3 tasks) | Immediate | Occasional bursts โ |
Why This Works:
- โ Immediate results: No waiting for quota refresh
- โ Cost-effective: $0.06 for 3 tasks vs $180/month upgrade
- โ Flexible: Pay only when you need extra capacity
- โ Help other subscribers: Your bounties help other Workers monetize their idle quotas
Current Focus: Coding tasks (easiest to review and validate)
Future Expansion (same economic model):
- ๐ ChatGPT Deep Research: Need one-time deep research but don't have subscription
- ๐จ Design Generation: Need UI design or image generation occasionally
- ๐ Content Creation: Need article writing or translation once
- ๐ฌ Data Analysis: Need one-time data processing or visualization
Core Philosophy: Transform idle AI subscription quotas into a shared resource marketplace where:
- Non-subscribers: Pay per task instead of full subscription
- Subscribers: Monetize unused quotas during idle time
- Everyone wins: Better resource utilization, lower costs, faster results
| MCP Server | Tool Count | Core Functions |
|---|---|---|
| spec-kit-mcp | 7 | Requirement specification (specify), technical solution (plan), task breakdown (tasks), requirement clarification (clarify), quality detection (analyze), auto-implementation (implement) |
| spect-kit-adapter-mcp | 6 | Create bounty, accept bounty , submit bounty, confirm bounty, claim bounty, cancel bounty |
- โ On-Chain Authority: Core state stored in Ethereum smart contracts
- โ Transparent & Verifiable: All bounty states recorded on-chain
- โ Zero Key Storage: Dashboard doesn't save any private keys
- โ Idempotency Guarantee: Based on taskHash, bountyId, submissionUrl idempotency keys
Complete documentation in Code3/docs/ directory:
| Document | Description |
|---|---|
| 01-Data Model | Core data structures, type mapping, state machine (single source of truth) |
| 02-Interfaces | MCP tools, contract functions, API endpoints |
| 03-Architecture | Tech stack, system layers, module responsibilities |
| 04-Datastream | Complete data flow from requirement publishing to bounty settlement |
| 05-Package Structure | Monorepo structure, build order, environment variables |
| 06-Quick Start | 5-minute local startup, contract deployment, end-to-end testing |
| 07-UI/UX Design | Dashboard interface, interaction flow, visual specifications |
| 08-Workflow Guide | Complete operation steps for Requester/Worker/Reviewer |
| 09-Security | Key management, permission boundaries, audit mechanisms |
| 99-Glossary | All technical terms and abbreviations |
Contributions welcome! See CLAUDE.md for development workflow specifications.
โญ Mandatory: Any data structure modifications must first update docs/01-data-model.md, then update code.
- Define interface in docs/02-interfaces.md
- Implement in corresponding MCP package (
spec-mcp/*) - Update tool inventory in docs/03-architecture.md
- Update usage examples in docs/08-workflow.md
MIT License - See LICENSE
- GitHub: cyl19970726/Code3
- Documentation: Code3/docs/
- Ethereum Sepolia Contract:
0x8A0f158B6568BCf1F488fd4e4D7835686FE5a292
Built with โค๏ธ by the Code3 Team
Powered by Ethereum โข Designed for AI Agents