Skip to content

Add Soroban Epic 5 examples (#177, #178, #179, #180) - #260

Merged
Dantama022 merged 2 commits into
Dantama022:mainfrom
OtowoSamuel:feat/soroban-epic5-examples
Aug 30, 2026
Merged

Add Soroban Epic 5 examples (#177, #178, #179, #180)#260
Dantama022 merged 2 commits into
Dantama022:mainfrom
OtowoSamuel:feat/soroban-epic5-examples

Conversation

@OtowoSamuel

@OtowoSamuel OtowoSamuel commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds four new Soroban examples for Epic 5:

Issue #177: Soroban Contract Event Decoding and Filtering

  • src/examples/177-soroban-event-decoding.ts
  • Retrieves, filters, decodes, and displays Soroban contract events
  • Supports filtering by contract ID, topic, event type, and ledger range
  • Decodes event topics and payloads with raw XDR side-by-side

Issue #178: Soroban Contract Storage Inspection

  • src/examples/178-soroban-contract-storage.ts
  • Inspects storage across instance, persistent, and temporary durability tiers
  • Decodes storage keys and values from ScVal
  • Displays TTL/live-until information

Issue #179: Soroban Transaction Footprint Inspection

  • src/examples/179-soroban-footprint-inspection.ts
  • Extracts and analyzes ledger footprint from simulation results
  • Distinguishes read-only from read-write entries
  • Detects duplicates and calculates footprint statistics

Issue #180: Soroban Resource Usage Analysis

  • src/examples/180-soroban-resource-analysis.ts
  • Analyzes CPU instructions, memory, and ledger read/write resources
  • Calculates utilization percentages against protocol limits
  • Detects resources approaching limits

Changes

  • Created 4 new example files in src/examples/
  • Registered all 4 in src/runner/catalog.ts
  • Updated README.md example catalog

Testing

  • All new files pass TypeScript typecheck
  • All new files pass ESLint and Prettier

Closes #237 , Closes #238, Closes #239, Closes #240

…22#179, Dantama022#180)

- 177-soroban-event-decoding: Event filtering, decoding, and display
- 178-soroban-contract-storage: Storage inspection across durability tiers
- 179-soroban-footprint-inspection: Transaction footprint analysis
- 180-soroban-resource-analysis: Resource usage and utilization reporting

Closes Dantama022#177, Closes Dantama022#178, Closes Dantama022#179, Closes Dantama022#180
@drips-wave

drips-wave Bot commented Aug 30, 2026

Copy link
Copy Markdown

@OtowoSamuel Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Dantama022
Dantama022 merged commit 429fe3e into Dantama022:main Aug 30, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants