-
Notifications
You must be signed in to change notification settings - Fork 19
Stellar Soroban error decoder library #83
Copy link
Copy link
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programdripsFunded via Drips NetworkFunded via Drips NetworkdxDeveloper experienceDeveloper experiencefeatureNew feature workNew feature workhelp wantedExtra attention is neededExtra attention is neededstellarTouches Stellar / Soroban codeTouches Stellar / Soroban code
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programdripsFunded via Drips NetworkFunded via Drips NetworkdxDeveloper experienceDeveloper experiencefeatureNew feature workNew feature workhelp wantedExtra attention is neededExtra attention is neededstellarTouches Stellar / Soroban codeTouches Stellar / Soroban code
Type
Fields
Give feedbackNo fields configured for issues without a type.
Tier: M (2-4 days) Type: feature
Context
When a Soroban contract reverts, the raw error code is uninformative. Today consumers either ignore it or write per-contract decoders. Centralize this as a registry-based decoder shipped with the SDK.
Scope
decodeSorobanError(error, contractId?)returns{ code, name, description, suggestedFix }Acceptance criteria
Files to start with
sdk/src/chains/stellar/errors.ts