A comprehensive Next.js dashboard for the AURA ecosystem featuring real-time staking, treasury tracking, and community analytics.
- Volcano House Calculator: Property investment analysis
- Stay Showcase: Unique property experiences
- Investment Tracking: Real estate performance metrics
- Time-Weighted Staking: Earn rewards based on stake duration
- Live Blockchain Integration: Real Solana transactions with wallet signatures
- 30-Day Optimal Lock: Maximum rewards for longer commitments
- Multi-Token Rewards: SOL and SPL token distributions
- Live Wallet Monitoring: Real-time balance tracking
- Burn & Redistribution: Token economics management
- Performance Analytics: Investment return analysis
- Jupiter Integration: Advanced Solana token swapping
- Portfolio Tracking: Multi-wallet performance monitoring
- Price Analytics: Real-time market data
- Frontend: Next.js 14, React, TypeScript, Tailwind CSS
- Blockchain: Solana, Anchor Framework, SPL Tokens
- Wallet: Solana Wallet Adapter
- Charts: Recharts, D3.js
- UI: Shadcn/ui, Framer Motion
- API: Real-time price feeds, Solana RPC
- TESTING_SUMMARY.md - Complete testing overview and results
- FUNCTION_TEST_REPORT.md - Automated validation test results
- MANUAL_TESTING_GUIDE.md - Step-by-step testing instructions
- 16 Contract Functions fully documented and tested
- 100% Success Rate on automated validation tests
- Real Blockchain Integration with Solana devnet
- Security Features validated (replay protection, access control)
- Node.js 18+
- npm or yarn
- Solana wallet (Phantom, Solflare, etc.)
- AURA tokens for staking (test tokens available)
# Clone the repository
git clone <repository-url>
cd aura-stay-dashboard
# Install dependencies
npm install
# Start development server
npm run dev# Copy environment template
cp .env.example .env.local
# Configure your environment variables
NEXT_PUBLIC_SOLANA_NETWORK=devnet
NEXT_PUBLIC_RPC_ENDPOINT=https://api.devnet.solana.com- Visit: http://localhost:3000/staking
- Connect your Solana wallet
- Look for green "Live Blockchain Integration" banner
- Try staking - you'll get real wallet signature prompts
- Monitor transactions on Solana Explorer
# Run function validation tests
npx tsx scripts/simple-function-test.ts
# Generate manual testing guide
npx tsx scripts/manual-test-guide.ts- Program ID:
3qbuonQKjYW5XhYWohpHu1trKazvr7UwBYP5xk9hKMF6 - Network: Solana Devnet
- Token Mint:
3SPBiVPiJTqnqmrBxxRVnRDEywsqBHeTEDQs34PmXon9
- Admin Functions (9): Pool management, distribution control, emergency operations
- User Functions (4): Stake, unstake, claim rewards
- Read-Only Functions (3): Pool state, user positions, balances
src/
βββ app/ # Next.js app router pages
βββ components/ # React components
β βββ analytics/ # Analytics dashboards
β βββ staking/ # Staking interfaces
β βββ trading/ # Trading tools
β βββ treasury/ # Treasury management
β βββ ui/ # UI components
βββ hooks/ # Custom React hooks
βββ lib/ # Utilities and services
β βββ anchor/ # Solana/Anchor integration
β βββ services/ # API services
βββ types/ # TypeScript definitions
scripts/ # Testing and automation
βββ simple-function-test.ts # Automated validation
βββ manual-test-guide.ts # Test guide generator
βββ comprehensive-test.ts # Full integration tests
programs/ # Solana smart contracts
βββ time-weighted-staking/ # Staking contract source
- 100% Real Integration: All staking operations use actual blockchain transactions
- Wallet Signatures: Every transaction requires user approval
- Real Token Transfers: Actual AURA tokens moved to/from smart contract
- Live State Reading: Pool and user data read from blockchain
- Real-Time Prices: Live SOL prices from CoinGecko
- Network Statistics: Live Solana network data
- Hot Reload: Instant updates during development
- TypeScript: Full type safety
- Responsive Design: Mobile-optimized interface
- Error Handling: Comprehensive error boundaries
- Performance Optimized: Lazy loading and code splitting
- Fork the repository
- Create a feature branch:
git checkout -b feature-name - Make your changes
- Run tests:
npm test - Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- Documentation: Check the
/docsdirectory for detailed guides - Issues: Report bugs or request features via GitHub issues
- Testing: Follow the manual testing guide for validation
- Community: Join our Discord for support and updates
Built with β€οΈ for the AURA ecosystem