Claiming Morse Suppliers
Table of Contents
What is this?
- Claim your Morse Supplier as a Shannon Supplier
- This is like staking a new Shannon Supplier, but you don't specify
stake_amount
- All config is the same as staking a supplier except omit
stake_amount
How do I claim my Morse Supplier as a Shannon Supplier?
0. Prerequisites
- You have read the Claiming Introduction
- You have installed the Morse
pocket
CLI - You have installed the Shannon
pocketd
CLI - You have imported your Morse key into a keyring
- You have a valid RPC endpoint
- You are familiar with how to stake a native Shannon Supplier (see supplier staking config)
1. Prepare your Morse and Shannon Keys and Accounts
Follow steps 1-5 from Claiming Morse Account
2. Prepare your supplier config
Use the same format as for staking a supplier. See Supplier staking config for details.
Make sure to omit stake_amount
.
CRITICAL: Omit
stake_amount
- DO NOT include
stake_amount
in your supplier config when claiming - If you include it, the claim will fail
OPTIONAL:
non-custodial
staking- You can specify different
owner
andoperator
addresses in your config operator
signs claims/proofs,owner
controls stake/rewards- See: Supplier staking config > Staking types
3. Claim your Morse Supplier
pocketd tx migration claim-supplier \
pocket-account-<morse-keyfile-export>.json \
<path-to-your-supplier-config>.yaml \
--from=<your_shannon_address> \
--node=${RPC_ENDPOINT} --chain-id=pocket-<network> \
--home=~/.pocketd --keyring-backend=test --no-passphrase
# --gas=auto --gas-prices=1upokt --gas-adjustment=1.5 (optional)
4. Example output
Enter Decrypt Passphrase:
MsgClaimMorseSupplier {
"shannon_owner_address": "pokt1chn2mglfxqcp52znqk8jq2rww73qffxczz3jph",
"shannon_operator_address": "pokt1chn2mglfxqcp52znqk8jq2rww73qffxczz3jph",
"morse_src_address": "44892C8AB52396BA016ADDD0221783E3BD29A400",
"morse_signature": "rYyN2mnjyMMrYdDhuw+Hrs98b/svn38ixdSWye3Gr66aAJ9CQhdiaYB8Lta8tiwWIteIM8rmWYUh0QkNdpkNDQ==",
"services": [
{
"service_id": "anvil",
"endpoints": [
{
"url": "http://relayminer1:8545",
"rpc_type": 3
}
],
"rev_share": [
{
"address": "pokt1chn2mglfxqcp52znqk8jq2rww73qffxczz3jph",
"rev_share_percentage": 100
}
]
}
]
}
Confirm MsgClaimMorseSupplier: y/[n]: y
5. Verify your Shannon supplier
pocketd query supplier <your_shannon_address> --node=${RPC_ENDPOINT}
6. What happened?
- Unstaked balance of Morse account is minted to your Shannon account
- Stake is set on Shannon using the onchain Morse supplier's stake amount
- Both values come from the onchain
MorseClaimableAccount
Troubleshooting
See: pocketd tx migration claim-supplier --help
for more details.