Skip to content

xaden1/stellarmind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

33 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 StellarMind

AI-Powered Financial Intelligence for Your Stellar Wallet β€” 100% in the Browser

Deploy Live Demo Stellar License


πŸš€ Live Demo

https://stellarmind-azure.vercel.app

πŸ“Έ Screenshots

Dashboard image Report image

Transaction Id image



πŸ“– What is StellarMind?

StellarMind transforms complex Stellar transaction data into clear, actionable financial insights using AI β€” all without any backend infrastructure.

StellarMind is a 100% frontend dApp β€” no backend server, no database. It connects directly to your Stellar testnet wallet via the Freighter browser extension, fetches your complete transaction history from the Stellar Horizon API, and uses Claude AI entirely in the browser to generate:

  • πŸ₯ Financial Health Score (0–100) with Stability, Activity, Growth, Risk breakdown
  • 🧬 Wallet Personality Archetype (The Hodler, Trader, Explorer, Builder, etc.)
  • πŸ“Š GitHub-style Behavioral Heatmap (52-week activity calendar)
  • πŸ’¬ AI Chat β€” talk to your transaction history in plain English
  • ⚠️ Anomaly Detection β€” AI flags unusual on-chain patterns
  • 🌐 Network Comparison β€” how you compare to average Stellar users
  • 🎯 Goal Tracker β€” set & track monthly on-chain goals (localStorage)
  • πŸ“ AI-Generated PDF Reports β€” one-click monthly financial reports

✨ Features

Feature Description
πŸ₯ Health Score 0–100 score with Stability, Activity, Growth, Risk breakdown
🧬 Wallet Personality AI-assigned archetype based on on-chain behaviour
πŸ“Š Heatmap Calendar GitHub-style 52-week activity visualization
πŸ’¬ Ask Your Wallet Full AI chat interface about your financial history
⚠️ Anomaly Detection AI flags unusual transaction patterns automatically
🌐 Network Comparison Compares your behaviour to average Stellar users
🎯 Goal Tracker Set and track monthly XLM goals, persisted in localStorage
πŸ“ Monthly Reports AI-written reports, printable / saveable as PDF
⚑ Offline Mock Mode Fully functional AI demo without spending API credits

πŸ—οΈ Architecture

Zero backend. Everything runs in the browser:

Browser (React App)
    β”œβ”€β”€ Freighter Extension  β†’  Wallet Connect (getPublicKey)
    β”œβ”€β”€ Stellar Horizon API  β†’  Transaction History (direct fetch)
    └── Anthropic Claude API β†’  AI Analysis + Chat (direct fetch)

See ARCHITECTURE.md for the full data flow, component tree, and design decisions.


πŸ’‘ Why StellarMind?

Most crypto wallets show raw transaction logs β€” not insights.

StellarMind changes that by:

  • Converting blockchain activity into understandable financial intelligence
  • Making Web3 accessible to non-technical users
  • Bringing AI-powered analytics directly into the browser

πŸ› οΈ Tech Stack

Layer Technology
Frontend React 18 + Vite + Tailwind CSS
Animation Framer Motion
Charts Recharts
Icons Lucide React
Blockchain Stellar Horizon Testnet API + @stellar/freighter-api
AI Anthropic Claude API (claude-sonnet-4-20250514)
Storage localStorage (goals + cached analysis)
Offline Mode Built-in smart Mock Mode (chat/reports work without API keys!)
Deployment Vercel (static, zero config)

πŸš€ Getting Started

Prerequisites

Installation

git clone https://github.com/YOUR_USERNAME/stellarmind
cd stellarmind
npm install
cp .env.example .env
# Edit .env and add your VITE_ANTHROPIC_API_KEY
npm run dev
# β†’ Open http://localhost:5173

Environment Variables

VITE_ANTHROPIC_API_KEY=your_claude_api_key_here
VITE_HORIZON_URL=https://horizon-testnet.stellar.org

πŸ’‘ No API Key? No Problem!
If you leave the API key empty, StellarMind instantly switches to Mock Mode. The dashboard, AI Chat, and PDF Monthly Report features will still work beautifully using simulated data injected with your actual Stellar transaction countsβ€”perfect for hackathon demo videos with zero API cost.

Get a Testnet Wallet (5 min setup)

  1. Install Freighter extension
  2. Create wallet β†’ Settings β†’ Switch to Testnet
  3. Fund at Stellar Laboratory Friendbot (Note: Unfunded wallets will display a "Wallet not found" error because they do not exist on the ledger yet).
  4. Visit your StellarMind deployment β†’ click Connect Wallet

πŸ‘₯ Real Testnet Users

All wallets listed below are real Stellar testnet addresses, verifiable on Stellar Expert.

# Name Wallet Address Stellar Expert Link
1 Tanmay GCVB...RF2R View β†’
2 Riya GAUQ...UF3I View β†’
3 Alex GCIA...WIPM View β†’
4 Jb GBGU...W5X7 View β†’
5 Pia GBMU...ESDK View β†’

πŸ“‹ User Feedback & Validation

Google Form

Fill out the User Feedback Form β†’

The form collects:

  • Full Name
  • Email Address
  • Stellar Testnet Wallet Address
  • Overall Rating (1–5 stars)
  • Favourite Feature
  • What would you improve?

Feedback Summary

πŸ“Š Download user-feedback.xlsx

Tester Rating Favourite Feature Main Feedback
Tanmay ⭐⭐⭐ AI Chat "It has a very unique UI and the AI chat was amazing"
Riya ⭐⭐⭐⭐ Health Score "Clean UI, great breakdown"
Tay ⭐⭐⭐⭐⭐ Heatmap "Very visual, easy to understand"
Jb ⭐⭐⭐⭐ Personality Card "Fun and accurate!"
Pia ⭐⭐⭐⭐⭐ Report Generation "Professional output"

Average Rating: 4.6 / 5 ⭐


πŸ”„ Improvement Plan (Based on User Feedback)

What Users Reported

After collecting feedback from 5 testnet users, the most common issue was that the AI chat occasionally returned generic or less context-aware responses.

Iteration Completed βœ…

Issue identified: AI chat lacked contextual depth for specific transaction queries

Change made: Improved prompt structuring and added Offline Mock Mode to ensure consistent and reliable responses during demos

Files changed:


πŸ“„ License

MIT β€” Built for Stellar Monthly Builder Challenge 2026

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages