Skip to content

Horizon (or RPC) transaction submission service #18

@greatest0fallt1me

Description

@greatest0fallt1me

Description

Service to build/sign/submit transactions where backend holds signing key OR passes XDR to signer — document trust model.

Requirements and context

  • Keys in KMS or env only for dev.
  • Never log seed phrases.

Suggested execution

  • Fork the repository and create a branch (example below).
  • Implement changes in StreamPay-Backend (TypeScript / Express per package.json).
  • Keep the service secure, tested, and documented; prefer small, reviewable PRs.
git checkout -b feature/tx-submission-service

Implementation targets

  • src/services/transactionService.ts.
  • Config for signer mode.

Tests and validation

  • Tests: mock Stellar network; failure paths.

  • Run npm test and npm run lint in StreamPay-Backend.

  • Cover edge cases; include test output and brief security notes in the PR description.

Guidelines

  • Target minimum 95% test coverage on new or changed backend code (or justify gaps).
  • Clear documentation (OpenAPI / README / inline docs as specified).
  • Timeframe: 96 hours from assignment.

Example commit message

feat(backend): transaction submission abstraction

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions