Skip to main content

Bitcoin Script

  • Chapter
  • First Online:
Bitcoin and Lightning Network on Raspberry Pi

Abstract

In this chapter we will learn about the core element of Bitcoin, the language called Script. Script is an embedded programming language that runs inside every Bitcoin node and is responsible for processing transactions. Unlike most other programming languages, it wasn’t designed upfront with formalized grammar and syntax. Instead of using a proper notation technique like Backus-Naur to describe its syntax, Script was hard-coded in the very first version of Bitcoin.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_form

  2. 2.

    https://en.wikipedia.org/wiki/Turing_completeness

  3. 3.

    https://en.bitcoin.it/wiki/Script#Opcodes

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Harris Brakmić

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Brakmić, H. (2019). Bitcoin Script. In: Bitcoin and Lightning Network on Raspberry Pi. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5522-3_7

Download citation

Publish with us

Policies and ethics