SkillAgentSearch skills...

Bitsignal

Proposed smart contract escrow protocol for Balaji's $1 million BTC bet, with automatic Chainlink oracle resolution

Install / Use

/learn @0xfoobar/Bitsignal
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

BitSignal

An immutable smart contract that enables Balaji's 1M USDC vs 1 BTC bet.

Usage is simple:

  1. Define two addresses to participate in the bet.
  2. Deploy the BitSignal smart contract with those two addresses as constructor arguments. This ensures asset isolation between bets.
  3. The counterparties can call depositUSDC() and depositWBTC() in either order. The second deposit will finalize the bet and start the 90-day timer.
  4. 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

View on GitHub
GitHub Stars62
CategoryDevelopment
Updated20d ago
Forks10

Languages

Solidity

Security Score

80/100

Audited on Mar 18, 2026

No findings