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

CIP5 updates #17

Merged
merged 2 commits into from
Aug 25, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions CIP5/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,27 @@ Therefore, we can leverage bech32 for binary data encoding, with a set of common

We define the following set of common prefixes with their corresponding semantic. Any software willing to represent binary data in a human-friendly way should abide by these guidelines. Should a data-type be missing, we encourage developers to update this CIP and register a new prefix.

| Prefix | Semantic |
| --- | --- |
| `addr_vk` | Address verification key |
| `addr_sk` | Address signing key |
| `addr_xvk` | Address extended verification key |
| `addr_xsk` | Address extended secret key |
| `addr` | Mainnet address |
| `addr_test` | Testnet address |
| `stake_addr_vk` | Stake address verification key |
| `stake_addr_sk` | Stake address signing key |
| `stake_addr_xvk` | Stake address extended verification key |
| `stake_addr_xsk` | Stake address extended signing key |
| `stake` | Mainnet stake address |
| `stake_test` | Testnet stake address |
| `pool` | Pool Id |
| `pool_vk` | Pool operator verification key |
| `pool_sk` | Pool operator signing key |
| `kes_vk` | KES verification key |
| `kes_sk` | KES signing key |
| `vrf_vk` | VRF verification key |
| `vrf_sk` | VRF signing key |
| Prefix | Semantic |
| --- | --- |
| `addr_vk` | Address verification key |
| `addr_sk` | Address signing key |
| `addr_xvk` | Address extended verification key |
| `addr_xsk` | Address extended secret key |
| `addr` | Mainnet address |
| `addr_test` | Testnet address |
| `stake_vk` | Stake address verification key |
| `stake_sk` | Stake address signing key |
| `stake_xvk` | Stake address extended verification key |
| `stake_xsk` | Stake address extended signing key |
Comment on lines +34 to +37
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 This is what both the wallet tools and node cli tools already use. So not only more sensible, but consistent with existing implementations.

| `stake` | Mainnet stake address |
| `stake_test` | Testnet stake address |
| `pool` | Pool Id |
| `pool_vk` | Pool operator verification key |
| `pool_sk` | Pool operator signing key |
| `kes_vk` | KES verification key |
| `kes_sk` | KES signing key |
| `vrf_vk` | VRF verification key |
| `vrf_sk` | VRF signing key |

## Rationale

Expand Down