1. generate command
Execute the generate command to create the following information:
private key, public key, hex address, ice address.
Execute generate --help to view help information
command options:
--sum
Specify the number, the default is 1
example
generate --sum 2
// result
private key: 4ecda19669673d7d551286d539e1a03c8173cedcc4698849a3648f29443c2cc1
public key: 04fbb36eb1dc6ea783339a4b1f9eb62e257735d0263e44a9d401a855c96abd380d7fbe5c35e195076aa5ce849bf98db9ec802d5d1d39d1776ecac000b6388621bc
address-0x: 0x1704Ff2D24e881E13BD6336B522B36BdE12530ba
-------------------------------------------------------
private key: 84302efd89aa8ad3c2efe26a946d4dd394177cfc925e981ed61ffed02a25a329
public key: 042069dff6b4b7f802c890096076a72e4239bd1c076a43d331bfffb9febe05a5d751286f0bd869fd69683c267c3bda878c6d7fe0a171f9f63348071b2d518db878
address-0x: 0x3BbFd8b50074BA0e482d6F73c24B2B5d9F003D52
-------------------------------------------------------
2. convert
Execute the convert command, Convert between ice address and hex address
Execute convert --help to view help information
sub commands:
hex
Convert specified hex address to ice address
example
convert ice ABEYFdsRAZYV4EsAmjB9zkUTu3b8WVCGHTFu9
// result
hex address: 0x46498c274686bE5e3c01B9268eA4604dA5142265
ice
Convert specified ice address to hex address
example
convert hex 0x46498c274686bE5e3c01B9268eA4604dA5142265
// result
ice address: ABEYFdsRAZYV4EsAmjB9zkUTu3b8WVCGHTFu9