-
Notifications
You must be signed in to change notification settings - Fork 190
bx script encode
Eric Voskuil edited this page May 8, 2015
·
14 revisions
Base16 encode a plain text script.
$ bx script-encode --helpUsage: bx script-encode [-h] [--config VALUE] [SCRIPT]
Info: Base16 encode a plain text script.
Options (named):
-c [--config] The path to the configuration settings file.
-h [--help] Get a description and instructions for this command.
Arguments (positional):
SCRIPT The plain text script tokens that make up the
script. Multiple tokens must be quoted. If not
specified the tokens are read from STDIN.
This command is helpful in interpreting scripts as they appear in the wire protocol, and for nesting scripts within scripts.
See also script-decode.
$ bx script-encode "dup hash160 [ 89abcdefabbaabbaabbaabbaabbaabbaabbaabba ] equalverify checksig"76a91489abcdefabbaabbaabbaabbaabbaabbaabbaabba88ac
Users | Developers | License | Copyright © 2011-2024 libbitcoin developers
- Home
- Build BX
- General Information
- Developer Information
- Configuration Settings
- Tutorials
- Meta Commands
- Wallet Commands
- Key Encryption Commands
- Stealth Commands
- Messaging Commands
- Transaction Commands
- Online Commands
- Encoding Commands
- Hash Commands
- Math Commands