btc15-prediction-market
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
03 SKILL.md 正文
BTC15 Autonomous Prediction Market A fully autonomous BTC prediction market powered by three cooperating agents using USDC.
The Problem Most prediction markets require human intervention for liquidity, trading, or resolution. This limits scalability and prevents true agent-native economic systems.
This skill demonstrates a fully autonomous prediction market loop where agents:
provide liquidity, trade based on market data, resolve outcomes, and settle value onchain in USDC.
No human interaction is required once the system starts.
Agents This system consists of three autonomous agents:
Maker Agent Continuously provides liquidity by minting YES/NO shares and posting sell offers.
Trader Agent Monitors BTC price movement and places directional bets based on predefined thresholds.
Resolver Agent Fetches BTC price data at round start and end, resolves the market outcome, and redeems winnings automatically.
Economic Loop Each round follows a fully autonomous lifecycle:
- Maker provides liquidity in USDC.
- Trader observes BTC movement and places a bet.
- Round ends.
- Resolver determines outcome using external price data.
- Contract resolves onchain.
- Winnings are redeemed automatically.
- Capital is reused in the next round.
This creates a continuous onchain economic loop:
liquidity → trading → resolution → settlement → reinvestment
Key Properties Fully autonomous: no human steps required after launch. USDC settlement: stable unit of account for agent commerce. Continuous operation: agents run indefinitely. Onchain resolution and redemption.
Installation Clone the main project:
git clone https://github.com/kamal-sutra/clawbtc15.git cd clawbtc15
Install Python dependencies:
pip install web3 python-dotenv requests
Create environment file:
cp .env.example .env
Fill in the following values:
MARKET=0x03956BC8745618eCCD7670073f7cAa717caDC5F4 USDC=0x036cbd53842c5426634e7929541ec2318f3dcf7e
MAKER_KEY=<your maker private key> TRADER_KEY=<your trader private key> RESOLVER_KEY=<your resolver private key>
Commands Run maker:
run-maker
Run trader:
run-trader
Run resolver:
run-resolver
Run all agents:
run-all
Contract Details Network: Base Sepolia USDC: 0x036cbd53842c5426634e7929541ec2318f3dcf7e Market: 0x03956BC8745618eCCD7670073f7cAa717caDC5F4
Use Cases Agent-native trading systems. Autonomous market making. Onchain economic coordination between agents. Continuous prediction markets.
Built for the USDC Hackathon (Feb 2026).
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.