Decentralized cloud storage with AI-powered chat. Upload files to 0G Storage, then chat with them using AI from 0G Compute Network.




NewFolder is a fully decentralized document platform that combines permanent storage with verifiable AI inference. Users upload files (PDF, DOCX, XLSX, PNG, ...) directly to the 0G decentralized storage network, receiving a content-addressed hash that ensures tamper-proof permanence.
The platform then enables natural language conversations with uploaded documents. Queries are routed to AI inference providers on the 0G Compute Network, with responses streamed back in real time.
Authentication uses Sign-In With Ethereum (no passwords). A pay-per-use credit system is powered by the CreditVault smart contract, which accepts 0G top-ups and forwards them on-chain to the treasury. Users pay only for what they use; no subscriptions, no monthly fees.
Key features include multi-format document support, per-file chat history, public sharing links, and a transparent on-chain payment system. The entire stack runs on 0G infrastructure: storage, compute, and AI inference.
Built entirely from the ground up during the hackathon. Implemented:
- Full-stack Next.js 16 application with App Router
- Integration with 0G Storage SDK for decentralized file uploads
- Integration with 0G Compute SDK for verifiable AI inference
- CreditVault smart contract (Solidity + Foundry) for on-chain top-ups
- Wallet authentication with RainbowKit + SIWE
- PostgreSQL database with Drizzle ORM for user data and credit balances
- Complete UI/UX with file management, chat interface, balance tracking, and public sharing
- Multi-format document parsing (PDF, DOCX, XLSX, TXT)
- Real-time streaming AI responses
- Deployed and tested on 0G Mainnet