Remove hex as we can always use bech32 #282
Labels
haskell
PR:ADDING FEATURE
Mark a PR as adding a new feature, for auto-generated CHANGELOG
PR:IMPROVING CODE
Mark a PR as an improvement, for auto-generated CHANGELOG
Context
When using the library it was reported by several users in private communication that is not so seamless to convert between bech32 and hex as it could be. They stressed that it would be nice to have (a) uniform support through
key
command and also (b) separately be able to convert both ways.Decision
Let's create command that accepts any key through STDIN
Here also, for public keys
--with-chain-code
andwithout-chain-code
.For private keys
-signing-key
andchain-code
.Additionally we can adopt the approach done aleeady for private keys:
ie. add everywhere in key command ability of
--hex
and support additionally--bech32 prefix
.And do this for allkey
commands and make sure the support is uniform. If those options are missing then bech32 prefix as according to CIP will be provided.Acceptance Criteria
Development
QA
The text was updated successfully, but these errors were encountered: