A web application that provides personalized insights and analytics for Stellar blockchain users, similar to Spotify Wrapped but for your Stellar wallet activity.
- Transaction Analysis: View your largest transactions, net position, and transaction count
- Wallet Insights: Track frequent wallets you interact with and unique wallet transfers
- Historical Data: See your starting balance, first transaction, and last transaction
- Performance Metrics: Analyze profit/loss and time spent on the Stellar chain
- Most Active Period: Discover your most active months on the network
- Shareable Stats: Generate and share your blockchain activity insights
- Framework: Next.js 15.0.4
- Language: TypeScript
- Styling: TailwindCSS
- State Management: TanStack Query (React Query)
- UI Components:
- Radix UI
- Shadcn/UI
- Embla Carousel
- Framer Motion
- Data Visualization: Recharts
- Image Generation: html2canvas, react-to-image
- Database: MongoDB with Mongoose
- Icons: Lucide React
- Node.js (version 18 or higher)
- pnpm package manager
- Clone the repository:
git clone https://github.com/daccred/stellar-wrapped-ui.git
cd stellar-wrapped- Install dependencies:
pnpm install- Set up environment variables:
Create a
.env.localfile in the root directory with the following variables:
# Add your environment variables here- Start the development server:
pnpm dev- Open http://localhost:3000 in your browser to see the application.
pnpm buildstellar-wrapped/
├── app/ # Next.js app directory
├── components/
│ ├── core/ # Core UI components
│ └── stories/ # Story-specific components
├── contexts/ # React contexts
├── lib/ # Utility functions
├── public/ # Static assets
└── styles/ # Global styles
The application includes several story components that provide different insights:
LargestTransaction: Shows your biggest transactionsNetPosition: Displays your overall position on StellarTransactionCount: Total number of transactionsFrequentWallet: Most frequently interacted walletsUniqueWalletTransfers: Number of unique wallets interacted withStartingBalance: Initial wallet balanceMostActiveMonth: Period with highest activityTimeOnChain: Total time active on StellarFirstTransaction: Details of first transactionLastTransaction: Most recent transactionProfitLoss: Overall profit/loss analysis
This project is licensed under the MIT License - see the LICENSE file for details.
- Stellar Development Foundation
- Attest.so