A shared Rust library providing the blockchain abstraction layer for the Iceberg Protocol ecosystem. Consumed as a Cargo git dependency by all Iceberg Protocol apps.
The architecture and critical logic of this project are the results of human-led AI-assisted engineering. This unique workflow ensures industrial-grade reliability and accelerated deployment.
Provides the Ledger, Cyf, and SmartContract traits and their Stellar/Soroban implementations for keypair management, transaction building, and smart contract invocation.
| Trait | Implementation | Purpose |
|---|---|---|
Ledger |
StellarLedger |
Keygen, signing, tx building, Horizon API |
Cyf |
(stub) | CYF token mint/burn/balance |
SmartContract |
ZsozsoSc, ProofOfZsozsoSc |
Soroban contract invocation |
LedgerI18n |
Per-language structs | Error message localization |
ScI18n |
Per-language structs | SC error localization |
src/stellar.rs—StellarLedgerimplementingLedger: ed25519 keygen, Strkey, Horizon APIsrc/cyf.rs—Cyftrait (stub for CYF token operations)src/sc/mod.rs—SmartContracttrait: XDR encode → simulate → sign → submit → pollsrc/sc/zsozso_sc.rs—ZsozsoScclient: ping() on testnet contractsrc/sc/proof_of_zsozso_sc.rs—ProofOfZsozsoScclient: lock/unlock/get_locked/ping (mainnet)src/i18n/—LedgerI18nimplementationssrc/sc/i18n/—ScI18nimplementations
- Testnet:
horizon-testnet.stellar.org, friendbot faucet available - Mainnet:
horizon.stellar.org
Sibling libraries: db, store, zsozso-common