← All casesBlockchain data engineering · 2026
Pi Mainnet Export
A verifiable snapshot of 18 million live addresses from an archive the standard SDK could not read.
The challenge
The client needed every public G-address with a positive native balance from one frozen ledger state. Pi’s archive does not publish the per-checkpoint HAS files expected by the standard Stellar SDK, while a full node was excessive for a one-time export.
The solution
We built a custom live BucketList reader on the official Stellar Go SDK. It freezes the root HAS once, excludes hot-archive buckets, resolves CAP-20 tombstones from newest to oldest and streams account records through a chunked external merge sort. Every bucket is verified against its content-addressed SHA-256 hash.
03 / SYSTEM
Product architecture
The core operating flow connecting the product idea, code and a measurable outcome.04 / MODULES
Inside the system
05 / OUTPUT
18,178,808 reproducible addresses in 8 minutes 26 seconds
Verified outcomesaddresses with native balance above zero
cached-bucket end-to-end runtime
bucket files verified with SHA-256
“Verifiability matters more than a plausible-looking number.”
Engineering principle — WeMAIde