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 CLI command for validating staking accout addresses #3493

Closed
tjanez opened this issue Nov 6, 2020 · 0 comments · Fixed by #3570
Closed

Add CLI command for validating staking accout addresses #3493

tjanez opened this issue Nov 6, 2020 · 0 comments · Fixed by #3570
Labels
c:cli Category: command line interface c:staking Category: staking

Comments

@tjanez
Copy link
Member

tjanez commented Nov 6, 2020

SUMMARY

Since staking account addresses use Bech32 encoding for text serialization, it is guaranteed to detect an error affecting at most 4 characters.

Consider creating a CLI command that would check if the given staking account address is valid or not.

For example:

oasis-node stake account validate_address --stake.account.address <ACCOUNT-ADDRESS>
ISSUE TYPE
  • Feature Idea
@tjanez tjanez added c:staking Category: staking c:cli Category: command line interface labels Nov 6, 2020
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
Development

Successfully merging a pull request may close this issue.

1 participant