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

Expand the address verification to enterprise- and staking-addresses too #128

Open
gitmachtl opened this issue Jul 18, 2022 · 0 comments
Open

Comments

@gitmachtl
Copy link
Contributor

gitmachtl commented Jul 18, 2022

Currently its possible to verify base-addresses on the Ledger/Trezor hardware gui via the address show command like:

cardano-hw-cli address show --payment-path 1852H/1815H/0H/0/0 --staking-path 1852H/1815H/0H/2/0 --address-file ledger.base.addr

However, this only works for payment base-addresses right now. So we have two limitations to overcome to make this a nice all-in-one solution:

  1. It should be possible to also verify the staking address on the hw gui. With an extra request using the staking-address-file as the --address-file input or directly in the gui together with the base address. Because both payment and staking paths are present at this time in the ledger device, so it should be possible to show the staking address on the next page.
  2. It should be possible to also verify enterprise addresses with a reduced set of needed input parameters like:
    cardano-hw-cli address show --payment-path 1852H/1815H/0H/0/0 --address-file ledger.enterprise.addr without the need to provide a staking path or staking script hash (there is none with enterprise payment addresses)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant