Skip to content

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

Open
@nuke-web3

Description

@nuke-web3

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? 🤷

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @nuke-web3@jcstein

      Issue actions

        Better step-by-step instructions for using `cel-key` · Issue #1867 · celestiaorg/docs