This tool allows you to build a bitcoin non-standard script using a stack. The locking script is used to lock funds to an address or other conditions. The locking script is also known as a scriptPubKey. The stack structure and OP CODES are modeled after the Forth programming language. The stack is a LIFO (last in first out) data structure. The Locking Script and Unlocking Script are combined to create a combined script. The combined script is evaluated to determine if the funds can be spent. If the combined script evaluates to true, the funds can be unlocked and spent.
The following keys are used in the examples. The private keys are generated from the mnemonic phrase using the BSV library.
Mnemonic Phrase: dial either flavor logic wool drama main crowd infant peasant predict chapter
Private Key: KxT3GwQcWhibg8p7mufZnFkcqkZb2WpSvXL2VuVDBYTDLSYtFzqy
Public Key: 032963bf4525bff66628da95d77476556b33d57f1d844db94818351a6e7e1d5803
Address: 1HnsZ3Y6HqtEKKae2EtGeAP2hie2t4PWrU
Balance: 0
Enter Mnemonic Phrase:
The following address is used as the recipient address in the examples.
Address: 1KBuYJYDfKCFb77EBHCKAZ6f36vN12bFg7
Private Key L57AGg3qp4Rbmtd4UqHriwSVLXUvzRc5RM2FeK3WT9ayctsi7tFA
Public Key 022c6b60b3b9eb7d737ae17c22876a5fecb7bc7c48b81f75cabc3e37a078eda1d2
Add Data
Upload File
Add Number
Add Address of Recipient for PKH
Amount of Satoshis to Lock
Choose nLocktime
Stack:
Hex:
Asm:
Binary:
Enter Transaction ID to Redeem:
© 2023 CodenLighten. All Rights Reserved