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: friend absorb shaft ostrich bargain have diesel main purpose lens person enough
Private Key: L58P3Fg1Eo7EkoXBa3Bhbcywtb7v1DzT1xLExkgw3HitzntgKmA9
Public Key: 026da6044ca0ac9ce92f967328864fb6fa291dc3fcc710bcc090ec1c4ccf2ff7cd
Address: 1FN3yD4wHi44Y5UPNXCU2QqSMZNrZz8qr5
Balance: 0
Enter Mnemonic Phrase:
The following address is used as the recipient address in the examples.
Address: 16zgBmCCWfE9vafH8xeohggPPvi2md3aDR
Private Key KzC7s7ShygP4bZoD1zN7jFhfRY9rc3byEQdoqrD1K4dHYAW4m4V5
Public Key 03f3059495fd121abc5572c20e857e3900cc56da3150ccd6d6284f34eef034fa1a
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