CHAI
CHAI is a decentralized AI chat system where all conversations are stored immutably on the Solana blockchain.
Last updated
CHAI is a decentralized AI chat system where all conversations are stored immutably on the Solana blockchain.
Last updated
CHAI combines the power of ChatGPT with the transparency and permanence of blockchain, enabling censorship-resistant, verifiable, and optionally private chats.
🔧 How It Works
Frontend: Web interface powered by a local model
Backend: A Solana smart contract handles:
Message submission
Chat creation
Compression (optional)
Storage: Messages are embedded in Solana transactions using 0 SOL transfers + program interaction.
💾 Message Storage
There are two storage modes:
Uncompressed: Plain text stored directly on-chain. Fully readable on Solscan.
Compressed: GZIP or zlib compressed. Requires client-side decompression. Longer messages allowed.
🔗 Transaction Details
Each message costs approximately 0.000008 SOL.
Stored via 0 SOL transfer with a custom program instruction.
The entire message history of a chat can be verified on Solana explorers.