Keyring
ECDSA keypair corresponds to the operator Ethereum address and key for interacting with Pell Network. The BLS key is used for attestation purposes within the Pell protocol. BLS key is used when you register an AVS to Pell Network.
Init Keys
Generate encrypted ECDSA and BLS keys using the CLI:
[keyname]
- This will be the name of the created key file. It will be saved as.ecdsa.key.json
or.bls.key.json
.
This will prompt a password which you can use to encrypt the keys. Keys will be stored in a local disk and will be shown once keys are created. It will also show the private key only once, so that you can back it up in case you lose the password or key file.You can also create keys by piping your password to this command. This can help in automated key creation and will not prompt for password.
Example:
Import Keys
You can import existing ECDSA and BLS keys using the CLI, which are required for operator registration and other on-chain operations. This is useful if you already have an address which you want to use as your operator.To import an ECDSA key, use the command:
To import a BLS key, use the command:
[keyname]
is the name of the imported key file, and it will be saved as.ecdsa.key.json
or.bls.key.json
.Privatekey
is the private key of the key you wish to import.For BLS keys, it should be a large number.
For ECDSA keys, it should be in hex format.
You can also import keys by piping your password to this command. This can help in automated key creation and will not prompt for password.
Example:This part of the command tells the Pell tool that you want to import a key.
This will initiate a password prompt that you can use to encrypt the keys. The keys will be stored on your local disk and will be displayed after they are created.The private key will also be shown only once, enabling you to create a backup in case you forget the password or lose the key file.
List Keys
This is the command you can use to retrieve a list of the keys you have created with the EigenLayer cli tool.
When you run the Pell Network operator keys list command, it will display a list of all the keys that were generated using this specific command, along with their corresponding public keys. This information can be useful for managing and identifying the keys you've created. Public keys are typically used for encryption, authentication, and verifying digital signatures.
Export keys
If you want to see the private key of the existing keys, you can use the below command. This will only work if your keys are in default location (~/.pell/keys
)
This will also prompt for the password used to encrypt the key. If your keys is not in the default location, you can give the full path to the key file using --key-path flag. You don't need to provide the key name in that case.
Last updated