About
## Wave 3 submission
In this wave, We successfully creating a fully functional python SDK that enables Python developers to access decentralized AI inference on the 0G network. This required deep analysis of smart contracts, cryptographic implementations, and provider communication protocols and we also reverse-engineered the typescript SDK to get the Official Smart contract address and ABI to fully get this to work!
✅ Full TypeScript SDK parity - All core functions working using raw python syntax ✅ Smart contract integration - Decoded ABIs, implemented Web3.py bindings ✅Hybrid cryptography - Python + Node.js for ZK-friendly signatures ✅ TEE verification - Quote fetching and signer acknowledgment ✅ Authenticated requests - EdDSA signature generation with proper nonces ✅ Production ready - Tested on live 0G testnet with real providers ✅ Comprehensive docs - 878-line README with architecture deep-dive ✅ Bug fixes
## Wave 4 submission
🏆🏆 As promised, we've successfully built a production-ready Python SDK for 0G Storage! The SDK is fully functional and tested on 0G chain! 🏆🏆
🟢 Roothash of Uploaded file: 0xb6c10be58449f6f93b934d02159f1453f702dd6dd5ecb8e53c14ab138db1480e
Core Implementation:
- ✅ Merkle Tree Generation (core/merkle.py) - Cryptographically verified Keccak256 implementation with 100% identical output to TypeScript SDK across all test cases - ✅ File Upload/Download (core/uploader.py, core/downloader.py) - Complete upload orchestration with Flow contract integration, automatic shard routing, and retry logic. Successfully tested on testnet with verified transactions - ✅ Indexer Integration (core/indexer.py) - Full indexer RPC client for node discovery, file location queries, and metadata retrieval - ✅ Flow Contract Integration (contracts/flow.py) - On-chain file registration with blockchain settlement and transaction tracking - ✅ Node Selection (core/node_selector.py) - Segment tree algorithm for optimal sharded node selection ensuring replica requirements
Testing & Verification:
- 66/66 unit tests passing covering merkle trees, file operations, and node selection - Cross-verified against TypeScript SDK using 5 different file sizes (256B to 64KB) - all merkle roots match perfectly
Key Features:
- Automatic shard routing across distributed storage nodes - Cryptographic proof generation and verification - Network-based file propagation with finality tracking - Comprehensive error handling with retry mechanisms
## Wave 5 submission
🔥 MAINNET READY! 🔥
As promised, we have deployed the python SDK on Pypi for easier integration into applications by developers
Additionally, we added 20+ API Endpoints for developers who are not well versed with SDK and with this all developers can easily integrate into their apps either by SDK or API 🟢 Pypi live demo https://pypi.org/project/0g-storage-sdk/ 🟢 Mainnet Transaction hash deployed by the SDK https://chainscan.0g.ai/tx/0xeda94ed4698361d5fe61c17d21963e7d2333c15acb190e1b05128272b88882b6 🟢 Tweet (Tags 0G_BUilders and AKINDO) https://x.com/Damiclone/status/1985727626871226434 🟢 Github Page https://github.com/mandatedisrael/0g-py-sdk 🟢 0G Py Compute demo https://youtu.be/A8A_x32YwTA?si=dcnQZAhHNy48NAPW 🟢
Additionally, in this wave, we have successfully built: 1. Rich contextual information about failures 2. Automatic retry tracking and classification 3. Error recovery utilities for common scenarios 4. Comprehensive documentation and examples 5. Enterprise-ready quality and reliability All while maintaining 100% backward compatibility and passing all tests.
Prizes
- Wave 3 grant · 432 USDT
- Wave 4 grant · 630 USDT
- Wave 5 grant · 432 USDT
From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.





