Replies: 17 comments 6 replies
-
The cosmos-sdk uses this for key storage: https://github.com/cosmos/cosmos-sdk/blob/master/crypto/keyring/doc.go |
Beta Was this translation helpful? Give feedback.
-
Yes @liamsi. I suggest if we continue w/ using lens, we should be consistent and use SDK's keyring. |
Beta Was this translation helpful? Give feedback.
-
I think independent of lens we should be consistent and use SDK's keyring. |
Beta Was this translation helpful? Give feedback.
-
We already do with #420 |
Beta Was this translation helpful? Give feedback.
-
While reviewing #420 I went deeper into SDK's keyring. My observations are:
|
Beta Was this translation helpful? Give feedback.
-
I believe that all the Celestia wallets(like Kepler) should be super/light clients by default, so celestia-node(which implements those) has to contain first-class wallet support. |
Beta Was this translation helpful? Give feedback.
-
Another requirement: when constructing keyring, allow users to pass custom Ref: #420 |
Beta Was this translation helpful? Give feedback.
-
@renaynay, this shouldn't be a requirement, but optional feature that tightens security for users. As otherwise, before sending any the user would need to write the password. But it can be undesirable:
Personally, I would like to have this feature, but I would not call this a requirement. |
Beta Was this translation helpful? Give feedback.
-
"Allow users to specify a custom key name we should also allow custom path to the keyring, not necessary under store/keys, so that users can access keyrings elsewhere" |
Beta Was this translation helpful? Give feedback.
-
Any estimates on delivery of this feature? |
Beta Was this translation helpful? Give feedback.
-
Allow users to indicate whether they want the mnemonic for generated key to be logged. |
Beta Was this translation helpful? Give feedback.
-
@tzdybal we already have a basic key utility that is taken from cosmos-sdk. It can be accessed via |
Beta Was this translation helpful? Give feedback.
-
Grooming 16/11/2022: This issue is touching org wide decision making and we need help to understand how to resolve this org wise |
Beta Was this translation helpful? Give feedback.
-
is this a blocker for incentivized testnet or mainnet? |
Beta Was this translation helpful? Give feedback.
-
Not a blocker. We can live with what CosmosSDK provides for now and for mainnet |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
ProposalCurrent key-management and signing architectureCurrently the node tightly couples key-management and signing. The rationale is honourable: to not bother developers with either and instead let them focus on the things that matter most when developing rollups instead. From the point of view of the developer, the architecture around key-management and signing is roughly this
Proposed Change in ArchitectureThe proposed change involves decoupling the key management and signing functionalities from the node and integrating a Clef-like or Tmkms-like system. The components would be decoupled as follows:
Note: It is completely optional for developers to interact with the signing API directly. Most users/devs won't and won't need to. The node API can still do the signing as before (by interacting with the signing API for the user). RationaleDecoupling key management and signing into its own component allows for more flexibility. Also, it could allow for one state-related endpoint in the node API that takes in signed any signed message (like in the cosmos-sdk) instead of hand-picking a few like in the current API. It can be completely optional for devlopers to interact with the key-management/signing API fwiw. The node will have to use it to sign things though. |
Beta Was this translation helpful? Give feedback.
-
Summary
Celestia Node can CRUD keys
Impact on users
It will be beneficial to produce a feature that allows Celestia Node to do CRUD on keys as this can allow signing Txs.
Currently, we have a merged ADR #369 that is proposing a state interaction for Celestia Node and a respective PR #411
Implementation ideas
As we are already using RPC approach lately, we can use it for this feature
Urgency
Medium
Beta Was this translation helpful? Give feedback.
All reactions