PROOFOFCUSTODY
Scores
Incidents
Learn
About
Get the Report
PROOFOFCUSTODY

The independent scoring system for Bitcoin custody. Every platform scored and ranked.

$1B+ in assets under custody expertise

No spam. Unsubscribe anytime.

PLATFORM SCORES
All ScoresCompareMethodologyIndependence StandardDataCustody Assessment
LEARN
Bitcoin 101Custody GuidesCustody InsuranceIs Your Setup Safe?Custody TimelineIncidentsFAQQuiz
COMPANY
AboutAuthorsEditorial IndependenceChangelogCorrections
RESOURCES
PodcastPressReport
CONNECT
Twitter / XLinkedInYouTubehello@proofofcustody.io
2026 Proof of Custody. Published by Onramp Bitcoin. Editorial Independence.PrivacyTermsproofofcustody.io
Glossary
SGlossary

ScriptPubKey

The ScriptPubKey is a script which controls how bitcoin can be spent.

The ScriptPubKey is a script which controls how bitcoin can be spent. In english, most bitcoin scripts translate as follows: “In order to spend this bitcoin, one must produce a signature belonging to this public key…”, followed by a public key. More commonly, public key hashes are used instead of the public keys themselves, but the concept is the same. A ScriptPubKey is often called a locking script because it locks the bitcoin until someone can provide an answer to unlock the bitcoin. The unlocking script, called the ScriptSig in legacy transactions and the Script Witness in SegWit transactions, is provided when this bitcoin is spent in a future transaction.

Related Terms
Bitcoin ScriptScriptSigTransaction

Stay Informed

Get weekly custody analysis and Bitcoin education delivered to your inbox.