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

Possibility to bake with several keys of the same Ledger #124

Open
pay4meofficial opened this issue Nov 29, 2019 · 5 comments
Open

Possibility to bake with several keys of the same Ledger #124

pay4meofficial opened this issue Nov 29, 2019 · 5 comments

Comments

@pay4meofficial
Copy link

Differences with Tezos Ledger app

This app is based on the Tezos Ledger app, with the following changes:

  • the two apps wallet and baking have been merged, with an instruction to switch between the two modes.
  • it is possible to bake with several keys of the same ledger (in types.h, MAX_SETUP_KEYS is actually set to 3)
  • derivation paths are limited to 5 instead of 10 (in types.h, MAX_BIP32_PATH is 5)
  • there 3 new instructions: INS_SET_BAKING_MODE (switch between wallet and baking) INS_SET_BAKING_ALWAYS (force to remain in baking mode) INS_SETUP_MORE (setup more keys for baking) (in apdu.h)
  • some instructions return more information, in particular when there are more keys to bake with.
  • transactions and originations with parameters display the values of amount, fees, destination, but not the parameters, instead of displaying unrecognized operation.

https://gitlab.com/dune-network/ledger-app-dune/blob/master/docs/DIFF_WITH_TEZOS.md

@vbmithr
Copy link
Contributor

vbmithr commented Dec 19, 2019

Any update on this? This is a common use case.

@mikereinhart
Copy link
Collaborator

Hello - specifically you're most interested in baking with several keys on the same ledger device? There are several changes listed in the OP, just want to confirm that's the only one of interest.

There's a bit of work related to smart contracts / Michelson that I view as a high priority that we'd like to get to first, but we might be able to address this in a few months given sufficient interest.

@pay4meofficial
Copy link
Author

pay4meofficial commented Dec 20, 2019 via email

@vbmithr
Copy link
Contributor

vbmithr commented Dec 21, 2019

In a few months??

@mikereinhart
Copy link
Collaborator

@pay4meofficial You should be able to bake with the same PKH on two networks with current versions. The app keeps track of two HWMs - 1) for a chain of your choosing, most often mainnet and 2) one for all other chains. We introduced this to allow for baking on test chains that split from mainnet during the Testing Period of the amendment process. In your case, the second chain would be [Babylon|Carthage]net.

@vbmithr Things should be clearer once we're in the new year, but for now that's a rough estimate. If we hear of more requests for this feature then we'd be happy to re-prioritize it.

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

3 participants