-
Notifications
You must be signed in to change notification settings - Fork 180
bx address embed
evoskuil edited this page Oct 13, 2014
·
13 revisions
Generate a Bitcoin address with an embedded record of binary data.
$ bx address-embed --help
Usage: bx address-embed [-h] [--config VALUE] [--version VALUE] [DATA]
Info: Generate a Bitcoin address with an embedded record of binary
data.
Options (named):
-c [--config] The path to the configuration settings file.
-h [--help] Get a description and instructions for this command.
-v [--version] The desired Bitcoin address version.
Arguments (positional):
DATA The binary data to encode as Base16. This can be
text or any other data. If not specified the data is
read from STDIN.
The data is hashed as RIPEMD160 and then embedded in a script of the form: dup hash160 [ RIPEMD160 ] equalverify checksig
. The script is then serialized, hashed as RIPEMD160, and used with the specified version to create a Bitcoin payment address.
See the list of Bitcoin address prefixes for a detailed description of version. All numeric values in BX are interpreted as decimal (base 10) unless otherwise specified.
$ bx address-embed "Satoshi Nakamoto"
168LnUjqoJLie1PW5dTaF2vKUU9Jf6Fe4a
--version 42
$ bx address-embed -v 42 "Satoshi Nakamoto"
HzKg93FwcsoWzDF97FSxcJMMuexvUhjGKa
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