Skip to content

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.

@satoshiotomakan satoshiotomakan marked this pull request as ready for review January 25, 2024 06:34
Milerius
Milerius previously approved these changes Jan 25, 2024
@satoshiotomakan satoshiotomakan merged commit d02cb7d into master Jan 25, 2024
@satoshiotomakan satoshiotomakan deleted the s/feat-zeta-chain branch January 25, 2024 09:04
zkrypt-crossbar pushed a commit to Cramiumlabs/wallet-core that referenced this pull request Jun 15, 2025
* feat(ZetaChain): Add `new-cosmos-chain` command

* feat(ZetaChain): Add `NativeZetaChain` mainnet

* feat(ZetaChain): Add support for custom Cosmos chain

* feat(ZetaChain): Add `SignerInfo` to the Cosmos.proto protocol

* feat(ZetaChain): Fix zetachain params in registry.json

* feat(ZetaChain): Add mobile tests

* [CI] Trigger CI

* feat(ZetaChain): Update JSON Public Key Type

* feat(ZetaChain): Fix `accountPath` in `registry.json`

* feat(ZetaChain): Fix rustfmt

* feat(ZetaChain): Slightly refactor NativeEvmos and NativeInjective public key types
zkrypt-crossbar pushed a commit to Cramiumlabs/wallet-core that referenced this pull request Jun 21, 2025
* feat(ZetaChain): Add `new-cosmos-chain` command

* feat(ZetaChain): Add `NativeZetaChain` mainnet

* feat(ZetaChain): Add support for custom Cosmos chain

* feat(ZetaChain): Add `SignerInfo` to the Cosmos.proto protocol

* feat(ZetaChain): Fix zetachain params in registry.json

* feat(ZetaChain): Add mobile tests

* [CI] Trigger CI

* feat(ZetaChain): Update JSON Public Key Type

* feat(ZetaChain): Fix `accountPath` in `registry.json`

* feat(ZetaChain): Fix rustfmt

* feat(ZetaChain): Slightly refactor NativeEvmos and NativeInjective public key types
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.

3 participants