-
Notifications
You must be signed in to change notification settings - Fork 181
bx ec to address
evoskuil edited this page Oct 14, 2014
·
24 revisions
Convert an EC public key to a Bitcoin address.
$ bx ec-to-address --help
Usage: bx ec-to-address [-h] [--config VALUE] [--version VALUE]
[EC_PUBLIC_KEY]
Info: Convert an EC public key to a Bitcoin address.
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):
EC_PUBLIC_KEY The Base16 EC public key to convert. If not
specified the key is read from STDIN.
compressed key
$ bx ec-to-address 0247140d2811498679fe9a0467a75ac7aa581476c102d27377bc0232635af8ad36
1EKJFK8kBmasFRYY3Ay9QjpJLm4vemJtC1
compressed key, --version 42
$ bx ec-to-address -v 42 0247140d2811498679fe9a0467a75ac7aa581476c102d27377bc0232635af8ad36
J8Wdbser1M3fbdQB4nxXn1FLmwtYXKovfA
uncompressed key
$ bx ec-to-address 0447140d2811498679fe9a0467a75ac7aa581476c102d27377bc0232635af8ad36e87bb04f401be3b770a0f3e2267a6c3b14a3074f6b5ce4419f1fcdc1ca4b1cb6
197FLrycah42jKDgfmTaok7b8kNHA7R2ih
uncompressed key, --version 42
$ bx ec-to-address -v42 0447140d2811498679fe9a0467a75ac7aa581476c102d27377bc0232635af8ad36e87bb04f401be3b770a0f3e2267a6c3b14a3074f6b5ce4419f1fcdc1ca4b1cb6
J3JahRViQGWq5X5KhPSyB1YdZwBu2EQzFR
bx seed | bx ec-new | bx ec-to-public | bx ec-to-address -v42
b688d3e5ea4f3ff7859c281570e8535a
771c66610eddfab64fb24f54e60ae303c44efaab592947b3fa3b5de21373e277
035730c857f567ad4c335e321306dc8782c518297376f25696028b70156787455c
J7mztYdoPufKyJAtAsuor8tdHHthfsWc2c
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