A chat application built on Sui blockchain and Walrus decentralized storage, using Profile NFT as user identity credentials.
All smart contracts are currently deployed to Sui Testnet.
- React - UI Framework
- TypeScript - Type Checking
- Vite - Build Tool
- Radix UI - UI Component Library
- Tailwind CSS - CSS Framework
- React Router - Routing
- React Query - State Management
- @mysten/dapp-kit
- @mysten/sui
- pnpm - Package Manager
- Sui Move - Smart Contract
- Walrus - Decentralized Storage
- Use Sui Profile NFT as user identity credentials
- Each user owns a unique Profile NFT containing username, bio, and avatar image blob id
- On-chain identity verification without backend servers
- On-chain chatroom based on Sui testnet
- Messages permanently stored on-chain
- Real-time display of user list
- Store user avatar images using Walrus when registered
- Support up to 2MB image uploads
- Avatar can be updated at profile page
- Decentralized storage with permanent data preservation
- Real-time message display
- Show user list with avatar image
- Responsive design supporting mobile devices
pnpm install
pnpm devpnpm build- Compile contracts:
cd contract
sui move build- Publish contracts:
sui client publish --gas-budget 100000000- Deploy frontend to Vercel
- Decentralized Identity - Use NFT as user identity
- Efficient Storage - Dynamic Fields optimize on-chain message storage
- Decentralized Files - Walrus stores user avatars with permanent preservation
- Responsive Design - Support for desktop and mobile devices
- State Management - React Query provides elegant data synchronization
Issues and Pull Requests are welcome!
For questions, please open a GitHub Issue.