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

feat(ZetaChain): Add support for NativeZetaChain #3669

Merged
merged 11 commits into from
Jan 25, 2024

Conversation

satoshiotomakan
Copy link
Collaborator

@satoshiotomakan satoshiotomakan commented Jan 25, 2024

Description

Add support for NativeZetaChain.
Add new-cosmos-chain command for codegen-v2.

How to test

Types of changes

This PR makes it possible to sign a transaction for ANY Cosmos chain by using CoinType::Cosmos, i.e the chain does not have to be in registry,json.
In order to support Custom Cosmos chain signing, the following has been added:

  • Cosmos::Proto::SignerInfo - contains a Signer public key type (secp256k1 or secp256k1Extended), json and protobuf types.
  • Cosmos::Proto::TxHasher - a hash algorithm used to hash the transaction to be signed.

Checklist

  • Create pull request as draft initially, unless its complete.
  • Add tests to cover changes as needed.
  • Update documentation as needed.
  • If there is a related Issue, mention it in the description.

If you're adding a new blockchain

  • I have read the guidelines for adding a new blockchain.

Milerius
Milerius previously approved these changes Jan 25, 2024
@satoshiotomakan satoshiotomakan merged commit d02cb7d into master Jan 25, 2024
12 checks passed
@satoshiotomakan satoshiotomakan deleted the s/feat-zeta-chain branch January 25, 2024 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants