← Back to Dashboard
Token Holders
Track holders of ERC20 tokens
{token.name}
{token.symbol}
{token.description}
Holders
{token.holders.toLocaleString()}
Market Cap
{token.marketCap}
import { Metadata } from "next"; import Link from "next/link"; import { notFound } from "next/navigation"; import { getUser } from "@/lib/auth"; import { Button } from "@/components/ui/button"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { LogoutButton } from "@/components/auth/logout-button"; import { Input } from "@/components/ui/input"; import { prisma } from "@/lib/prisma"; export const metadata: Metadata = { title: "Token Holders - Stones Database", description: "Track holders of ERC20 tokens", }; export default async function TokenHoldersPage() { const user = await getUser(); if (!user) { notFound(); } // Mock token data (this would be replaced with real data from the database) const tokens = [ { id: "stones", name: "Stones", symbol: "STONES", description: "The native token of the Stones ecosystem", imageUrl: "https://placekitten.com/203/203", holders: 1245, marketCap: "$4.5M", }, { id: "eth", name: "Ethereum", symbol: "ETH", description: "Native cryptocurrency of the Ethereum blockchain", imageUrl: "https://placekitten.com/204/204", holders: 52000000, marketCap: "$367B", }, { id: "dai", name: "Dai Stablecoin", symbol: "DAI", description: "Decentralized stablecoin pegged to the US Dollar", imageUrl: "https://placekitten.com/205/205", holders: 684000, marketCap: "$5.2B", }, ]; return (
← Back to Dashboard
Track holders of ERC20 tokens
{token.symbol}
{token.description}
Holders
{token.holders.toLocaleString()}
Market Cap
{token.marketCap}