This guide will get you up and running with TUNA in just a few minutes. You’ll connect your wallet, view the news feed, and tip your first article.
Prerequisites
Before you begin, make sure you have:- Sui Wallet: Install the Sui Wallet browser extension
- Testnet SUI: Get testnet tokens from the Sui Testnet Faucet
- Node.js 18+: Download from nodejs.org
Getting Started
Configure Environment
Copy the example environment file:The default configuration is already set up for testnet:
These addresses point to the deployed TUNA contracts on Sui testnet. You don’t need to change them unless you’re deploying your own instance.
Start Development Server
Launch the development server:The app will be available at
http://localhost:5173Your First Actions
View the News Feed
Once connected, you’ll see the latest news articles from the Sui ecosystem displayed in a card-based layout:- Title and summary
- Category (DeFi, Gaming, NFT, Dev, Governance, General)
- Publication date and source
- Total tips received
- Comment count
Tip an Article
Support quality content by tipping articles with SUI:- Click the 💰 TIP button on any article
- Choose a quick amount (0.01, 0.05, 0.1, 0.5 SUI) or enter a custom amount
- Confirm the transaction in your Sui Wallet
- Wait for the transaction to complete
Read Full Articles
Click “READ ↗” on any article card to:- View the complete article content
- See all comments
- Add your own comments
- Tip the article or individual comments
Understanding the Architecture
TUNA combines three key technologies:Sui Blockchain
Handles transactions, tips, comments, and article metadata on-chain
Walrus Storage
Stores article content and media in a decentralized blob storage network
React Frontend
Modern UI built with React 19, TypeScript, and Vite for fast performance
How It Works
- Articles are stored on Walrus (decentralized storage)
- Metadata is registered on-chain via the Sui smart contract
- The frontend fetches article IDs from the contract and content from Walrus
- All interactions (tips, comments) happen on-chain
Next Steps
Installation
Learn about detailed installation options and configuration
Core Concepts
Understand how TUNA works under the hood
API Reference
Explore available hooks and utilities
Sui Integration
Deep dive into the Sui smart contract integration
Troubleshooting
No articles found
No articles found
The registry might be empty. Check that:
- You’re connected to the correct network (testnet)
- The contract addresses in
.env.localare correct - Articles have been published to the registry
Wallet not connecting
Wallet not connecting
Ensure that:
- Sui Wallet extension is installed and unlocked
- Your wallet is set to Testnet mode
- You’ve approved the connection request
- Try refreshing the page
Transaction failed
Transaction failed
Common issues:
- Insufficient testnet SUI (get more from the faucet)
- Wrong network selected in wallet
- Gas price too low (usually handled automatically)
Articles not loading
Articles not loading
This could be due to:
- Walrus aggregator temporarily unavailable
- Network connectivity issues
- Invalid blob IDs in the registry
- Check browser console for detailed error messages
Get Help
Need assistance?- GitHub Issues: Report bugs or request features
- Sui Discord: Join the Sui community
- Documentation: Sui Docs | Walrus Docs
