Anish-Agnihotri
Hyperbitcoinization
Solidity

$1 Million USDC vs 1 Wrapped Bitcoin 90-day term bet, inspired by Balaji's tweet

Last updated May 14, 2026
119
Stars
4
Forks
0
Issues
0
Stars/day
Attention Score
43
Language breakdown
Solidity 100.0%
Files click to expand
README

Hyperbitcoinization

Simple smart contract that configures a 1M USDC vs 1 Wrapped Bitcoin 90-day term bet, inspired by Balaji's tweet.

  • Anyone can createBet() initializing a bet between two parties
  • Parties A and B deposit their funds, contract marks second deposit as startTimestamp
  • Bet is frozen for 90 days from startTimestamp
  • After 90 days, anyone call call settleBet(), using the Chainlink BTC/USD oracle to settle the bet.
Note: settleBet() can also be called earlier than 90 days, if in favor of partyUSDC (kudos banteg).

Test

Tests use Foundry: Forge.

Install Foundry using the installation steps in the README of the linked repo.

# Get dependencies
forge update

Run tests

forge test

Potential issues

License

GNU Affero GPL v3.0

© 2026 GitRepoTrend · Anish-Agnihotri/Hyperbitcoinization · Updated daily from GitHub