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: dish hen pave burger clump primary soda veteran abuse motor riot armed
Private Key: L5nPn1NduB3EnrPpzbKm2ZidRNBmgn6h6H7ZqwXzfgRLHqF6PUWn
Public Key: 026b01b971512cffd616c2acda7342e026a4cf1db7b88613b2f1756736d6103012
Address: 1PMbWRoxX3ByDgQbvpXSoa7F2dgdq2RRcQ
Balance: 0
Enter Mnemonic Phrase:
The following address is used as the recipient address in the examples.
Address: 19nniSgoC9Ydn8hmXbQSBGTiMgHqwFCfAh
Private Key L1Jg4res9fx3REekjgk3MLVMabDH5Ac7fJ7qSt1TTzES1CpkHRd3
Public Key 034aaf60ca3aedff0bd464031049c31cf8e0cf37a4931836cfc4834fe31d0ccfb4
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