Skip to content

CIP-0005 | Define bech32 prefixes for genesis keys and create changelog #1027

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

palas
Copy link
Contributor

@palas palas commented Apr 22, 2025

CIP-0005 does not specify bech32 prefixes for keys generated during network genesis. In order to be able to represent the keys in bech32 format, this PR modifies CIP-0005 to define a standard set of prefixes for them.

  • For genesis keys:

    • gen_sk for private keys
    • gen_vk for public keys
  • For genesis delegate keys:

    • gen_deleg_sk for private keys
    • gen_deleg_vk for public keys
  • For genesis UTxO keys:

    • gen_utxo_sk for private keys
    • gen_utxo_vk for public keys

This addresses: #1014

Also, in order to make it easy to keep up with updates to this CIP, this PR adds a change log table to the CIP-0005.

This addresses: #956


(updated CIP-0005 > Changelog)

@Ryun1 Ryun1 added the Update Adds content or significantly reworks an existing proposal label Apr 23, 2025
@rphair rphair added the State: Triage Applied to new PR afer editor cleanup on GitHub, pending CIP meeting introduction. label Apr 23, 2025
@rphair
Copy link
Collaborator

rphair commented Apr 23, 2025

@SebastienGllmt do we need to tag anyone from dcSpark to update this library when CIP-0005 is updated? https://www.npmjs.com/package/@dcspark/cip5-js (cc @KtorZ)

@palas palas requested a review from Ryun1 April 23, 2025 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
State: Triage Applied to new PR afer editor cleanup on GitHub, pending CIP meeting introduction. Update Adds content or significantly reworks an existing proposal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants