Skip to content

Stellar offline transaction signing helper #81

@truthixify

Description

@truthixify

Tier: M (2-4 days) Type: feature

Context

Cold storage and air-gapped wallets need to sign Stellar transactions without RPC access. Provide a helper that builds + signs offline, leaving submission as a separate step.

Scope

  • prepareOfflineStellarTransaction({ source, ops, sequence, networkPassphrase }) returns serializable envelope
  • signOfflineStellarTransaction(envelope, key) returns signed XDR
  • submitOfflineStellarTransaction(xdr, network) separate call
  • All three documented as a workflow for cold-signing flows
  • Stealth-address aware (can sign withdrawals from derived stealth keys)

Acceptance criteria

  • Three helpers + tests
  • End-to-end test: build offline, sign offline, submit online
  • Documentation page describing the cold-signing workflow

Files to start with

  • New: sdk/src/chains/stellar/offline-sign.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programdripsFunded via Drips NetworkfeatureNew feature workhelp wantedExtra attention is neededsecuritySecurity-sensitive workstellarTouches Stellar / Soroban code

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions