You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are planning to develop a blockchain based on the Cosmos SDK, and we would like to support the following two signature algorithms simultaneously:
The default secp256k1 signature algorithm in Cosmos SDK, which is compatible with Cosmos ecosystem wallets like Keplr.
The Ethereum ECDSA secp256k1 signature algorithm, which is compatible with Ethereum wallets like MetaMask.
The goal is to make it convenient for users to manage their assets using the wallets they are familiar with, reducing the hassle of importing private keys. It also aims to better support cross-chain interactions with both the Cosmos and Ethereum ecosystems.
We noticed that PR #5278 has introduced interchangeable key implementations for the Cosmos SDK, but it seems that supporting multiple signature algorithms on a single chain is not yet possible.
We would like to ask:
Is there any plan for Cosmos SDK to support using multiple signature algorithms on the same chain?
If there is no ready-made support at the moment, how can we customize and develop this feature based on the SDK? Which modules need to be modified?
While supporting multiple signature algorithms, how can we ensure compatibility with the existing Cosmos IBC protocol to support cross-chain functionality?
Do you have any other suggestions regarding this feature?
We hope that the maintainers of the Cosmos SDK could provide guidance to help us achieve this goal. If there is anything unclear, please feel free to reach out to us for clarification.
Thank you in advance!
The text was updated successfully, but these errors were encountered:
Hey sorry for the delay. Supporting multiple today is possible. There are some changes needed. Specifically you will need to add the key type, create your own antehandler potentially to allow for different curves to be verified. Integration with metamask is also around jsonrpc integration. We don't have this today. You will need to implement this
Hey sorry for the delay. Supporting multiple today is possible. There are some changes needed. Specifically you will need to add the key type, create your own antehandler potentially to allow for different curves to be verified. Integration with metamask is also around jsonrpc integration. We don't have this today. You will need to implement this
If the chain need to support two types of signatures simultaneously, it actually need to know the correspondence between Cosmos addresses and Ethereum addresses. Can Cosmos addresses and Ethereum addresses be derived from each other? I haven't found an existing solution yet.
Hey sorry for the delay. Supporting multiple today is possible. There are some changes needed. Specifically you will need to add the key type, create your own antehandler potentially to allow for different curves to be verified. Integration with metamask is also around jsonrpc integration. We don't have this today. You will need to implement this
If the chain need to support two types of signatures simultaneously, it actually need to know the correspondence between Cosmos addresses and Ethereum addresses. Can Cosmos addresses and Ethereum addresses be derived from each other? I haven't found an existing solution yet.
I think I understand now. Cosmos SDK stores the account public key. The public key is the same for both Cosmos and Ethereum, so the addresses can be derived from each other. Although Ethereum transactions don't carry the public key, in reality, the public key can be derived from the transaction.
We are planning to develop a blockchain based on the Cosmos SDK, and we would like to support the following two signature algorithms simultaneously:
The default secp256k1 signature algorithm in Cosmos SDK, which is compatible with Cosmos ecosystem wallets like Keplr.
The Ethereum ECDSA secp256k1 signature algorithm, which is compatible with Ethereum wallets like MetaMask.
The goal is to make it convenient for users to manage their assets using the wallets they are familiar with, reducing the hassle of importing private keys. It also aims to better support cross-chain interactions with both the Cosmos and Ethereum ecosystems.
We noticed that PR #5278 has introduced interchangeable key implementations for the Cosmos SDK, but it seems that supporting multiple signature algorithms on a single chain is not yet possible.
We would like to ask:
Is there any plan for Cosmos SDK to support using multiple signature algorithms on the same chain?
If there is no ready-made support at the moment, how can we customize and develop this feature based on the SDK? Which modules need to be modified?
While supporting multiple signature algorithms, how can we ensure compatibility with the existing Cosmos IBC protocol to support cross-chain functionality?
Do you have any other suggestions regarding this feature?
We hope that the maintainers of the Cosmos SDK could provide guidance to help us achieve this goal. If there is anything unclear, please feel free to reach out to us for clarification.
Thank you in advance!
The text was updated successfully, but these errors were encountered: