Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.01 KB

File metadata and controls

43 lines (29 loc) · 1.01 KB

qtool convertaddress

Converts a legacy address from one encoding to another

Synopsis

Converts a legacy address from base58 ('b58') encoding to hexadecimal ('hex') encoding and vice versa. When converting from 'hex' is important to explicity set the flags for 'blockchain' and 'network'. Example:

qtool convertaddress -f b58 qUbxboqjBRp96j3La8D1RYkyqx5uQbJPoW Address: 7926223070547d2d15b2ef5e7383e541c338ffe9

qtool convertaddress [flags]

Examples

qtool convertaddress qUbxboqjBRp96j3La8D1RYkyqx5uQbJPoW -f b58

Options

  -f, --from string   The current encoding format of the address (b58 or hex)
  -h, --help          help for convertaddress

Options inherited from parent commands

  -b, --blockchain string   blockchain: "qtum" or "btc" (default "qtum")
  -n, --network string      network type: "testnet" or "mainnet" (default "mainnet")
  -v, --verbose             verbose output

SEE ALSO

Auto generated by spf13/cobra on 21-Aug-2022