Morse Claims Introduction
Table of Contents β
- Quick Overview
- Prerequisites - What you will need
- Morse β Shannon Account & Balance Mapping
- Keyrings: What & How
Quick Overviewβ
TL;DR: You run a claim command on Shannon using keys from both Morse & Shannon keyrings
This document provides an introduction with background and prerequisites on how to claim your Morse account on Shannon.
Prerequisites - What you will needβ
You will need:
-
A private Morse key (to prove you own the old account); ed25519
-
A private Shannon key (to receive the new balance); secp256k1
-
Morse's
pocket
CLI (Morse)brew tap pokt-network/pocket-core
brew install pocket -
Shannon's
pocketd
CLI (Shannon)brew tap pokt-network/pocketd
brew install pocketd -
An understanding of what a keyring is
-
The ability to create new accounts in a Shannon keyring (explained below)
-
The ability to export a private key from a Morse keyring (explained below)
You can find more details about the Shannon CLI here.
Morse β Shannon Account & Balance Mappingβ
- Staked Morse Application β claim as Shannon Application (staked tokens + unstaked balance)
- Staked Morse Servicer β claim as Shannon Supplier (staked tokens + unstaked balance)
- Unstaked Morse Account β claim as Shannon Account (unstaked balance only)
How to read the following table:
- Use this table to see how your Morse account type maps to Shannon
- Only the types/balances shown transfer overβread carefully!
- 1:1 = balance/stake is identical after migration
Morse Account Type | Shannon Account (Unstaked) | Shannon Application (Staked) | Shannon Supplier (Staked) |
---|---|---|---|
Morse Account (Unstaked) | β 1:1 unstaked balance | β N/A | β N/A |
Morse Application (Staked) | β 1:1 unstaked balance | β 1:1 app stake | β N/A |
Morse Servicer | β 1:1 unstaked balance | β N/A | β 1:1 supplier stake |
Keyrings: What & Howβ
Shannon inherits mature keyring from the Cosmos SDK. You can reference their docs for more details.
Background on Keyrings:
- A keyring is a piece of software that holds your private/public keys for a particular chain
- Morse and Shannon have completely separate keyrings
- To claim your Morse POKT tokens on Shannon, you will need BOTH Morse & Shannon keys:
- Morse key: signs the
morse_signature
field within the full claim message - Shannon key: signs the full claim message on Shannon
- Morse key: signs the
How to export a Morse Key?β
You must export your Morse private key (from pocket
) to use with pocketd
.
It is needed for the morse_signature
field.
Assuming your pocket
CLI is installed and configured, the following command will export your Morse key:
./pocket accounts export ${MORSE_HEX_ADDRESS}
And should export the following file in the current directory: pocket-account-<morse_address>.json
To set a custom file name/location, you can run:
./pocket accounts export ${MORSE_HEX_ADDRESS} --path /your/custom/path.json
- The exported file is encrypted with the passphrase you set at export time
- You will need this passphrase when using the exported key with
pocketd
How to create a Shannon Key?β
You must have a named Shannon key in your keyring for pocketd
To create a new key, run:
pocketd keys add <key_name>
- Use any key name you want (e.g.
examplekey
) - The key name (not the address) is required for claiming
Save your mnemonic phrase somewhere safe!
You need it to recover your account if you forget your password.