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

Staking key chain for HD wallets #37

Merged
merged 5 commits into from
Dec 11, 2020

Conversation

SebastienGllmt
Copy link
Contributor

As per our discussion during the CIP call, I split up #33 into two CIPs. This CIP contains the description of chain=2 whereas CIP1852 now outlines the derivation strategy and acts as a registry of chain types.

@SebastienGllmt SebastienGllmt self-assigned this Nov 4, 2020

We RECOMMEND wallets only use `address_index=0` for compatibility with existing software. This also avoids the need for staking key discovery.

Wallets that use multiple staking keys are REQUIRED to use sequential indexing with no gaps. This is to make detection of mangle addresses (addresses where the payment key belongs to the user, but the staking key doesn't) easier.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*the detection of mangle addresses possible (

I imagine.

@crptmppt
Copy link
Contributor

crptmppt commented Dec 7, 2020

can we change the structure to match the new repo format (so Github can display appropriately)?


## Abstract

Starting with the Shelley hardfork, Cardano makes use of both the *UTXO model* and the *account model*. To support both transaction models from the same master key, we allocate a new chain for [CIP1852](../CIP1852)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to change link to ../CIP-1852


## Specification

Recall that [CIP1852](../CIP1852) specifies the following derivation path
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to change link to ../CIP-1852

Copy link
Contributor

@crptmppt crptmppt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will add pr for link fixes

@crptmppt crptmppt merged commit cb8c2e4 into cardano-foundation:master Dec 11, 2020
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

Successfully merging this pull request may close these issues.

3 participants