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

[Feature]: spin out cosmossdk.io/crypto into its own module #23234

Open
Zygimantass opened this issue Jan 7, 2025 · 2 comments
Open

[Feature]: spin out cosmossdk.io/crypto into its own module #23234

Zygimantass opened this issue Jan 7, 2025 · 2 comments

Comments

@Zygimantass
Copy link

Summary

I'd like to import the crypto package to interact with keys / keyrings without importing the whole SDK (due to dependency issues).

It should be pretty simple to spin out as per our convo with @tac0turtle, the only problems I see are:

  • the crypto package utilizes protos, which means that it imports cosmos-sdk/types/tx/amino.
  • it also uses SDK errors, so it imports types/errors

Problem Definition

No response

Proposed Feature

Spin out the package into a submodule called cosmossdk.io/crypto

@raynaudoe
Copy link
Contributor

Hi, this was exactly one of the main objectives of #18824.
The idea was to use this repo as a crypto module to encapsulate every crypto related code. In there there's also a first implementation of the above mentioned ADR.

@Zygimantass
Copy link
Author

@raynaudoe i see there's symmetric key types implemented in cosmos/crypto, are there any plans for secp256k1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants