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: hope fiscal spider survey bamboo initial pause truly beauty pattern web fringe
Private Key: KwjfLJXtiP34t8FepZ9wK1uYb4b7F3SCFEySAtkrc2R6AdzUAKjw
Public Key: 028840331f23781fff07fc3f5ec71c1a99161eb01bce3625aab1c18701958476ee
Address: 1KLSEHtuNMP6m1ugVgdswJ9HhV1sKVoADp
Balance: 0
Enter Mnemonic Phrase:
The following address is used as the recipient address in the examples.
Address: 1Lr6haP5GwjpG7qNVpwRKB3gAK1g6Evmiq
Private Key KzbGYPKKUiVXMX6dEWsLDJTUQgorWW9gy5f211LEguPYhUneJzRn
Public Key 028cff6b6d8a6b8a2c9b4d898140a352dbc4fe5c4ffd9de3e38fcd41ead57b4be1
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