About the Project
Inspiration
Managing crypto portfolios today often requires trusting third-party platforms that may provide delayed or inaccurate data. We wanted to build a platform that trusts the blockchain itself, leverages AI for actionable insights, and brings decentralized collaboration to portfolio management. The idea was to combine real-time on-chain transparency with intelligent decision-making, empowering users to manage their crypto assets confidently.
What it does
Phanta is a blockchain-native portfolio management platform that:
- Tracks wallet balances, SPL tokens, and transaction history directly from Solana.
- Provides AI-powered portfolio analysis and risk assessment using Google Gemini.
- Enables on-chain group management, including deposits, majority-vote decisions, and collaborative investing.
- Fetches real-time market data from Solana DEX aggregators and CoinGecko.
- Offers a modern, intuitive interface for users to monitor portfolios, join groups, and make informed decisions.
How we built it
- Blockchain Layer: Solana Web3.js + Anchor framework for on-chain programs and PDA-based group accounts.
- Frontend: React.js with Vite and Tailwind CSS for a fast, responsive UI.
- Backend: Node.js/Express server with SQLite for off-chain metadata.
- AI Integration: Google Gemini API for portfolio analysis, risk scoring, and group chat insights.
- Data Sources: Helius API, Jupiter API, and direct Solana RPC queries for wallet and transaction data.
- Wallet Integration: Phantom Wallet for secure, keyless connections.
Challenges we ran into
- Real-time blockchain queries: Fetching live balances and transactions efficiently across multiple RPC endpoints.
- On-chain group state management: Implementing majority voting and deposit tracking with Solana PDAs.
- AI integration: Mapping on-chain data into a format usable by Google Gemini for meaningful insights.
- Cross-stack coordination: Ensuring the frontend, backend, blockchain programs, and AI service work seamlessly together.
Accomplishments that we're proud of
- Fully blockchain-native portfolio tracking with real-time Solana data.
- Decentralized group functionality with on-chain state and voting logic.
- Seamless AI-driven portfolio analysis and risk assessment.
- Modern, user-friendly dashboard that combines portfolio tracking, group management, and AI insights.
- Successfully built a working end-to-end MVP combining blockchain and AI technologies.
What we learned
- Deep understanding of Solana on-chain programs and PDAs for decentralized state.
- How to integrate AI insights with blockchain data effectively.
- Best practices for multi-RPC redundancy and real-time blockchain queries.
- Importance of security and transparency when connecting wallets and managing on-chain state.
- Experience in cross-stack full-stack development combining frontend, backend, blockchain, and AI layers.
What's next for Phanta
- Expand AI capabilities for automated trading recommendations and portfolio optimization.
- Introduce more complex group strategies and smart contract rules.
- Support additional blockchains beyond Solana.
- Enhance UI/UX for a fully mobile-friendly experience.
- Explore on-chain analytics dashboards for deeper insights into portfolio performance and market trends.
Slides : https://docs.google.com/presentation/d/1Uro4cRbi1aC4LtAGKIeMj-mYsVYhyn6WwCV3JUWRJU8/edit?usp=sharing
Built With
- anchor
- axios
- chart.js
- express.js
- gemini
- node.js
- phantom
- react.js
- solana
- sqlite
- tailwind
- vite
- web3.js
Log in or sign up for Devpost to join the conversation.