Home / Education / Glossary / Script

Script

Bitcoin employs a simple, stack-based scripting language to define the conditions under which funds from a transaction can be spent. A standard script ensures authorization by requiring the corresponding private key.

However, scripts can enable more complex scenarios such as multi-signature wallets (requiring multiple signatures for spending), hash time-locked contracts (for cross-chain atomic swaps), and other custom spending conditions.