Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a CLI command for converting entities' ids to their staking account addresses #3003

Closed
tjanez opened this issue Jun 11, 2020 · 0 comments · Fixed by #3009
Closed

Add a CLI command for converting entities' ids to their staking account addresses #3003

tjanez opened this issue Jun 11, 2020 · 0 comments · Fixed by #3009
Labels
c:cli Category: command line interface c:staking Category: staking

Comments

@tjanez
Copy link
Member

tjanez commented Jun 11, 2020

SUMMARY

After #2940, account address are no longer represented by entities' ids, i.e. public keys, directly. Instead, they are represented by a truncated hash of a corresponding entity's public key, prefixed by a 1 byte address version.
Also, they are no longer encoded with Base64 encoding, but rather use the Bech32 encoding.

It would be useful to provide a CLI command that would convert a Base64-encoded entity id (public key) to its Bech32-encoded staking account address.

ISSUE TYPE
  • Feature Idea
ADDITIONAL INFORMATION

Also consider augmenting the output of other CLI commands with staking account addresses where appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:cli Category: command line interface c:staking Category: staking
Projects
None yet
1 participant