Bitsignal
Proposed smart contract escrow protocol for Balaji's $1 million BTC bet, with automatic Chainlink oracle resolution
Install / Use
/learn @0xfoobar/BitsignalREADME
BitSignal
An immutable smart contract that enables Balaji's 1M USDC vs 1 BTC bet.
Usage is simple:
- Define two addresses to participate in the bet.
- Deploy the BitSignal smart contract with those two addresses as constructor arguments. This ensures asset isolation between bets.
- The counterparties can call
depositUSDC()anddepositWBTC()in either order. The second deposit will finalize the bet and start the 90-day timer. - When the timer expires, either party can call
settle(), which queries the Chainlink BTCUSD oracle and sends both assets to the winner.
Contract can be found in src/BitSignal.sol and tests in test/BitSignal.t.sol.
Enjoy!
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
