Skip to main content
Ctrl+K

blockchainkit

  • Start here: a blockchain without the jargon
  • Your first payment, step by step
  • Glossary
  • Subpackages
  • History
    • Examples
    • Tutorials
    • Exercises
    • Exact conventions and model boundaries
    • Reproducible experiments and research scope
    • API
    • Developing blockchainkit
  • GitHub
  • Start here: a blockchain without the jargon
  • Your first payment, step by step
  • Glossary
  • Subpackages
  • History
  • Examples
  • Tutorials
  • Exercises
  • Exact conventions and model boundaries
  • Reproducible experiments and research scope
  • API
  • Developing blockchainkit
  • GitHub

Section Navigation

  • blockchainkit.crypto
    • Blind signatures
    • Commitments
    • Elliptic curves
    • Discrete logarithms
    • Hash-based signatures
    • Hashing
    • One-time pad
    • Public-key exchange
    • Secret sharing
    • Proofs and signatures
  • blockchainkit.structures
    • Bloom filters
    • Chains and payments
    • Hash chains
    • Ledgers
    • Merkle trees
    • Light clients
    • State commitments
    • Timestamping
    • Transaction identity
    • Unspent outputs
  • blockchainkit.consensus
    • Agreement protocols
    • Attacks and their probabilities
    • Nakamoto consensus
    • Proof of stake
    • Proof of work
  • blockchainkit.network
    • Simulated and logical time
    • Gossip and broadcast
    • Peer graphs
    • Overlays and their attacks
    • Block and transaction relay
    • Replication under partitions
  • blockchainkit.vm
    • Contracts and verification
    • Ethereum
    • Foundations of stack machines
    • Replicated and atomic execution
    • Bitcoin Script
  • Examples
  • Examples
  • Bitcoin Script

Bitcoin Script#

Spending conditions as loop-free stack programs: pay-to-public-key-hash and hash time-locked contracts.

Bitcoin Script: pay to public-key hash (Nakamoto 2009)

Bitcoin Script: pay to public-key hash (Nakamoto 2009)

Hash time-locked contracts: pay for a secret, or get a refund (2015-2016)

Hash time-locked contracts: pay for a secret, or get a refund (2015-2016)

previous

Atomic transactions: all or nothing (Gray 1981)

next

Bitcoin Script: pay to public-key hash (Nakamoto 2009)

Show Source

© Copyright 2026, Charles Poli.

Created using Sphinx 9.1.0.

Built with the PyData Sphinx Theme 0.22.0.