arrayio / array-io-keychain

A highly secure standalone application for signing transactions and generating key pairs.
https://keychain.array.io/
MIT License
26 stars 3 forks source link

implement a simple public_key call for the keychain (no hd wallets yet) #18

Open vladiuz1 opened 6 years ago

vladiuz1 commented 6 years ago

the public_key must be returned in one of these formats:

For wif (wallet import format) you shall use the following default option values:

--prefix      = ''
--version     = 0x80
--compression = 0x01

--hd option will return a hierachical deterministic public key derived from either saved public key [un]encrypted private key.

Another option to implement is --derive. This will return a public key derived from private key rather than returning the saved public key from wallet storage (derived during the creation of the key pair).

If this option is selected and the private key is encrypted such request will prompt user for password.

Once hierarchical deterministic wallets are ready, the --derive option will similarly derive the public key directly from private key rather than from saved public key in the wallet storage.

roman-modelist-dev commented 6 years ago

Is it necessary to implement base64 and wif format, considering that we abandoned from the wif format in the array-core? Also what about hd and derive options? Are these options related to this issue?