Skip to content

Instantly share code, notes, and snippets.

@kerikailiwang
kerikailiwang / UtxoToken.sol
Created December 23, 2022 20:28 — forked from maurelian/UtxoToken.sol
UTXO Token
pragma solidity ^0.4.10;
// Based on Alex Miller's design, with minor revisions to appease the compiler, and incorporate Christian Lundkvist's
// input about hash collisions.
contract Bitcoin {
struct UTXO {
address owner;
uint value;