Skip to content

Add Soroban RPC client wrapper #28

Description

@pragmaticAweds

Repository

This issue belongs in Fundable-Protocol/Backend under indexer/.

Migrated from Fundable-Protocol/stellar_indexer#9.

Context

Domain and poller code should not construct Soroban RPC clients directly. A shared wrapper keeps configuration and SDK usage consistent.

Scope

  • Add Stellar/Soroban SDK dependency if not already present
  • Create RPC client factory in common
  • Read RPC URL and network config from validated config
  • Add tests around client configuration boundaries

Out of Scope

  • Unrelated package work
  • Docker, CI, or deployment work unless named in scope
  • Broad refactors outside the touched package

Acceptance Criteria

  • Scope items are complete
  • Relevant tests are added or updated
  • Documentation is updated when needed
  • bun run type-check passes
  • bun run test passes
  • bun run lint passes
  • bun run indexer:type-check passes
  • bun run indexer:test passes
  • bun run indexer:lint passes

Dependencies

Suggested Files or Packages

  • indexer/common/src/rpc/
  • package.json
  • bun.lock

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions