Skip to content

Implement Soroban Contract State Reader #980

Description

@mijinummi

🧠 Concept

Create a reusable service for reading Soroban contract state.

⚠️ Problem

Bridge integrations need contract state information for route validation and execution decisions.

📁 Implementation Scope

  • src/soroban/state/
  • src/soroban/contracts/
  • tests/soroban/state/

✅ Requirements

  • Read contract state through the Stellar RPC layer
  • Support typed state responses
  • Normalize returned values
  • Handle missing state entries
  • Cache safe read-only results where appropriate

🎯 Acceptance Criteria

  • Contract state reader implemented
  • State values normalized
  • Missing entries handled safely
  • RPC failures returned as structured errors
  • Unit tests implemented

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions