Closed
Description
Crate
relayer-cli
relayer
Summary
This feature will implement a command to the relayer that will allow users to add keys to a chain configured on the relayer.
Problem Definition
Right now to test a transaction command (e.g. tx raw
) the user needs to specify a flag (-k) which is the key_seed.json file every time a transaction is submitted. When this feature implemented, this flag will not be needed anymore. The users would have to run a keys add
command once and that will add the key to the relayer home folder.
Proposal
- Implement command to the relayer to add keys
- Remove the key flag (-k) from the
tx raw
commands - The added key specified in the config should be used to sign transactions
- Keys are stored in the relayer home folder (unencrypted)
- Perform regression and integration test
- Bonus: Added
keys list
command - Add instructions to add keys on README
Assumptions
- This will not implement a keychain or keyring.
- The keys to be imported should be generated with
gaiad
and exported (e.g. key_seed.json). - The key file will be stored in the relayer home folder exactly like they were exported.
- The key name should be specified in the relayer config file (.toml)
For Admin Use
- Not duplicate issue
- Appropriate labels applied
- Appropriate milestone (priority) applied
- Appropriate contributors tagged
- Contributor assigned/self-assigned
Activity