<p>Bitcoin script is not a general purpose programming language like Java. far from it.</p>
<p>It was explicitly made too simple to support general purpose programming. The operations that can be included are deliberately limited in scope. This is so that people cannot introduce logic bombs such as infinite loops that would cripple all nodes on the network attempting to verify a transaction. It's simplicity reduces the number of attack vectors available to hostile parties.</p>
<p>The purpose of Bitcoin script is to support various types of payments in the Bitcoin network. This includes some more complicated transactions such as multi-signature transactions but not as wide a range of capabilities as some people would like.</p>

CC BY-SA 4.0
2021-06-14T12:09:09.540Z
2021-06-14T12:09:09.540Z
RedGrittyBrick
<p>I am trying to understand what Bitcoin Script is for. Is it a programming language like Java which in principle also can be used for building complex applications like a decentral exchange or was it made for different purposes?</p>

<script><smartcontracts>
Is it possible to build complex Apps with Bitcoin Script?
Peter
# Is it possible to build complex Apps with Bitcoin Script?

(Asked by: username_0 on 2021-06-14)

I am trying to understand what Bitcoin Script is for. Is it a programming language like Java which in principle also can be used for building complex applications like a decentral exchange or was it made for different purposes?

**Tags:** script, smartcontracts


---

## 1 answers

### Answer by username_1 on 2021-06-14. Score: 3

Bitcoin script is not a general purpose programming language like Java. far from it.

It was explicitly made too simple to support general purpose programming. The operations that can be included are deliberately limited in scope. This is so that people cannot introduce logic bombs such as infinite loops that would cripple all nodes on the network attempting to verify a transaction. It's simplicity reduces the number of attack vectors available to hostile parties.

The purpose of Bitcoin script is to support various types of payments in the Bitcoin network. This includes some more complicated transactions such as multi-signature transactions but not as wide a range of capabilities as some people would like.


---

