Skip to content

[feat] add soroban chain#21

Merged
tanut32039 merged 18 commits intomainfrom
add-soroban-chain
Apr 8, 2026
Merged

[feat] add soroban chain#21
tanut32039 merged 18 commits intomainfrom
add-soroban-chain

Conversation

@RogerKSI
Copy link
Copy Markdown
Member

No description provided.

@RogerKSI RogerKSI marked this pull request as draft March 26, 2026 08:09
@RogerKSI RogerKSI changed the title add soroban chain [feat] add soroban chain Mar 26, 2026
@RogerKSI RogerKSI requested review from Marca23 and tanut32039 March 26, 2026 09:24
@RogerKSI RogerKSI marked this pull request as ready for review March 26, 2026 09:25
@RogerKSI RogerKSI force-pushed the add-soroban-chain branch from 96c6c09 to 9364067 Compare March 27, 2026 06:55
Base automatically changed from add-flow-chain to main March 31, 2026 06:56
@RogerKSI RogerKSI force-pushed the add-soroban-chain branch from 9364067 to 5a4cddd Compare March 31, 2026 07:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Soroban (Stellar smart contracts) chain support, including Ed25519 signing, Soroban transaction construction/simulation, and a new gRPC endpoint to request Soroban signatures.

Changes:

  • Introduces Ed25519 signing support in the local signer and signature abstraction.
  • Adds Soroban codec to build/simulate/sign Soroban transactions and returns a signed envelope.
  • Extends config + CLI mnemonic derivation to support a Soroban-friendly SLIP-0010 derivation scheme, and updates the proto API with SignSoroban.

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
src/signer/signature/ed25519.rs Adds Signature trait support for ed25519-dalek signatures.
src/signer/signature.rs Exposes the new ed25519 signature module.
src/signer/local.rs Adds Ed25519 key handling + signing path for Soroban and address generation via StrKey.
src/server/service.rs Implements sign_soroban gRPC method and wires Soroban into address listing.
src/config/signer/local.rs Adds Soroban chain type and an optional derivation_scheme (BIP32 vs SLIP-0010).
src/commands/utils.rs Adds SLIP-0010 Ed25519 derivation and modifies mnemonic-based key derivation selection.
src/codec/soroban.rs New Soroban transaction builder, simulator (RPC), tx-hash computation, and envelope encoding + tests.
src/codec.rs Exposes the new Soroban codec module.
proto/fkms/v1/signer.proto Adds Soroban RPC/messages and new chain enum value.
Cargo.toml Adds Soroban/Ed25519/Stellar + HTTP client dependencies.
Cargo.lock Updates lockfile for new dependencies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/signer/local.rs
Comment thread src/commands/utils.rs Outdated
Comment thread src/commands/utils.rs Outdated
Comment thread Cargo.toml Outdated
Comment thread src/codec/soroban.rs Outdated
Comment thread src/codec/soroban.rs
Comment thread src/codec/soroban.rs
Comment thread src/codec/soroban.rs Outdated
Comment thread src/server/service.rs Outdated
Comment thread proto/fkms/v1/signer.proto Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 11 changed files in this pull request and generated 8 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/commands/utils.rs Outdated
Comment thread proto/fkms/v1/signer.proto Outdated
Comment thread src/commands/utils.rs
Comment thread src/codec/soroban.rs
Comment thread src/codec/soroban.rs
Comment thread src/codec/soroban.rs Outdated
Comment thread src/server/service.rs
Comment thread src/codec/soroban.rs
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 11 changed files in this pull request and generated 9 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/commands/utils.rs
Comment thread src/commands/utils.rs Outdated
Comment thread src/signer/local.rs Outdated
Comment thread src/codec/soroban.rs
Comment thread src/codec/soroban.rs
Comment thread src/signer/local.rs
Comment thread src/server/service.rs
Comment thread src/codec/soroban.rs
Comment thread src/codec/soroban.rs Outdated
@tanut32039 tanut32039 merged commit e2d2056 into main Apr 8, 2026
3 checks passed
@tanut32039 tanut32039 deleted the add-soroban-chain branch April 8, 2026 07:08
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.

4 participants