Description
Difficulty: Expert
Type: Feature
Summary
Implement a typed network client abstraction for Horizon and future Soroban RPC usage.
Current Behaviour
SDK modules may call network services directly, which can lead to duplicated request logic and inconsistent error handling.
Expected Behaviour
The SDK should route network calls through a shared typed abstraction with consistent behaviour.
Suggested Implementation
Create a network client module with typed request methods, timeout handling, response parsing, and SDK error conversion.
Files or Areas Likely Affected
src/network/
src/config/
src/errors/
tests/
docs/
Acceptance Criteria
Additional Notes
This should not change public SDK behaviour unless documented.
Description
Difficulty: Expert
Type: Feature
Summary
Implement a typed network client abstraction for Horizon and future Soroban RPC usage.
Current Behaviour
SDK modules may call network services directly, which can lead to duplicated request logic and inconsistent error handling.
Expected Behaviour
The SDK should route network calls through a shared typed abstraction with consistent behaviour.
Suggested Implementation
Create a network client module with typed request methods, timeout handling, response parsing, and SDK error conversion.
Files or Areas Likely Affected
src/network/
src/config/
src/errors/
tests/
docs/
Acceptance Criteria
Additional Notes
This should not change public SDK behaviour unless documented.