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

Better step-by-step instructions for using cel-key #1867

Open
nuke-web3 opened this issue Jan 17, 2025 · 0 comments
Open

Better step-by-step instructions for using cel-key #1867

nuke-web3 opened this issue Jan 17, 2025 · 0 comments

Comments

@nuke-web3
Copy link
Member

nuke-web3 commented Jan 17, 2025

On getting started, I don't want to blindly use a random key that I am not sure how to backup and recover from (even for testnet funds from a faucet).

https://docs.celestia.org/how-to-guides/quick-start#key-management-with-cel-key suggests you can manage keys better with cel-key but there is no instructions as to how to manage the key that celestia state account-address reports.

# Already synced a bit, no $TRUSTED_HASH needed as it's in config IIUC
$ celestia light start --p2p.network mocha --core.ip rpc-mocha.pops.one

# Another term
# celestia state account-address
{
  "result": "celestia1r4...4fn9"
}

https://docs.celestia.org/tutorials/celestia-node-key#view-all-options-for-cel-key plus too mich time fiddling to figure out the incantation... I am able to see this works

# In ~/.celestia-light-mocha-4/keys/keyring-test there are some entries, but are cryptic! Not sure what they mean...
$ cel-key list --keyring-backend test --node.type light --p2p.network mocha-4
using directory:  ~/.celestia-light-mocha-4/keys
- address: celestia1r4...4fn9
  name: my_celes_key
  pubkey: '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AuBok...a/XD"}'
  type: local

I would love to see more docs with common workflows for interacting with various networks with cel-key, unclear if this is the common tool to use more than basic experiments though so likely not worth the effort? 🤷

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

No branches or pull requests

1 participant