A shared Rust library providing the decentralized database 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 Db, Sea, and NetworkGraph traits and their GUN.js implementations for decentralized data storage and the MLM hierarchy.
| Trait | Implementation | Purpose |
|---|---|---|
Db |
GunDb |
Abstract GUN database interface (get/put/on/off) |
Sea |
GunSea |
GUN SEA crypto operations (sign/verify/encrypt/decrypt) |
NetworkGraph |
GunNetworkGraph |
MLM hierarchy: parent/worker/nickname/ancestry |
DbI18n |
Per-language structs | Error message localization |
src/gundb/mod.rs—Dbtrait,GunValueenum,GunConfigstructsrc/gundb/gundb.rs—GunDbimplementation viawindow.__gun_bridgesrc/gundb/sea.rs—GunSeaimplementingSeatrait viawindow.__sea_bridgesrc/network.rs—NetworkGraphtrait +GunNetworkGraphimplementationsrc/gundb/i18n/—DbI18nimplementations (English, Hungarian, French, German, Spanish)
| Bridge | JS file | Rust module |
|---|---|---|
__gun_bridge |
gun_bridge.js |
db::gundb |
__sea_bridge |
sea_bridge.js |
db::gundb::sea |
Sibling libraries: ledger, store, zsozso-common