-
Notifications
You must be signed in to change notification settings - Fork 187
bx script encode
evoskuil edited this page Oct 24, 2014
·
14 revisions
Base16 encode a plain text script.
$ bx script-encode --help
Usage: bx script-encode [-h] [--config VALUE] [TOKEN]...
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):
TOKEN The plain text script tokens that make up the
script. If not specified the tokens are read from
STDIN.
This command is helpful in interpreting scripts as they appear in the wire protocol. It is not used in conjunction with other commands apart from script-decode
.
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