Conversation
There was a problem hiding this comment.
Pull request overview
Adds support for Secret Network (“Secret” chain type) including address derivation and an FKMS gRPC endpoint to produce signed Secret/Cosmos SDK transactions containing encrypted CosmWasm execute messages.
Changes:
- Extend signer abstractions and local signer to support
ChainType::Secret, including Secret bech32 address derivation. - Add Secret-specific codec utilities for encrypting execute messages and building/signing Cosmos SDK tx bytes.
- Add
SignSecretgRPC method + protobuf messages and wire it into the server.
Reviewed changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
src/config/signer/local.rs |
Adds Secret to supported local chain types. |
src/signer.rs |
Adds Secret address derivation and exposes optional private_key() on the Signer trait. |
src/signer/local.rs |
Implements Secret key handling/address derivation; stores and returns private key bytes. |
src/codec/cosmwasm_secret.rs |
New module to encrypt Secret execute messages and sign Cosmos SDK transactions. |
src/codec.rs |
Exposes the new cosmwasm_secret codec module. |
src/server/service.rs |
Adds sign_secret RPC implementation and chain type mapping. |
proto/fkms/v1/signer.proto |
Adds SignSecret RPC, payload/response types, and SECRET enum value. |
Cargo.toml / Cargo.lock |
Adds dependencies required for Cosmos/Secret tx signing + encryption. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 9 out of 10 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 9 out of 10 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.