Fair BitCoin Toss

Toss a Bitcoin
  1. Alice and Bob each locks X bitcoins in a smart contract shown below.
  2. They both reveal their secret number, which are XOR’d to determine if the coins lands on head or tail. Alice wins if it is head, otherwise Bob wins. Whoever wins takes all 2X bitcoins.
Coin Toss Contract

Practical Consideration

--

--

--

sCrypt Inc (https://scrypt.io) is a company with a mission to provide integrated on-chain smart contracting solutions using the original BitCoin Protocol on BSV

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Friktion: Deep Dive

MetaHash strikes a deal with aStake!

Crypto Tokenization: fad or future of investment?

How to Sell Tokens for Your Blockchain Project Without Getting in Trouble — Part 1

The Libra Masterplan

AVXL Tier structure — Important Updates

Who Needs GoFundMe If You Have Crypto? Millions of Canadians Move to Decentralized Cryptocurrencies

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
sCrypt

sCrypt

sCrypt Inc (https://scrypt.io) is a company with a mission to provide integrated on-chain smart contracting solutions using the original BitCoin Protocol on BSV

More from Medium

Comments on Kleiman v. Wright verdict

Masking and the Use of XOR for Encryption and Decryption

Welcoming Efficient Frontier’s new Head of DeFi Engineering, Roman Kagan

Flaws in Ethereum’s EIP-1559