For the complete documentation index, see llms.txt. This page is also available as Markdown.

Reading from the blockchain

Eclipse Token Dashboard demonstrates essential functionality like connecting wallets, checking balances, and sending tokens - all with a clean, approachable codebase.

App Preview

Here's what the application looks like when running:

Balance View

Transfer View

Gas Fee Comparison

Learning Goals

This example project covers:

  • Connecting crypto wallets to your dApp

  • Displaying token balances

  • Transferring tokens between addresses

  • Comparing gas fees across networks

  • Handling transaction receipts and errors

No previous blockchain experience needed - just basic React knowledge!

Tech Stack

Built with beginner-friendly tools:

  • Next.js

  • Solana wallet adapters (compatible with Eclipse)

  • shadcn/ui components

  • Tailwind CSS

Getting Started

Prerequisites

  • Node.js 18+

  • pnpm (or npm/yarn if you prefer)

Setup Steps

  1. Clone this repo

  2. Install dependencies

  3. Set up your environment Create a .env.local file:

  4. Start the dev server

  5. Open http://localhost:3000 in your browser

Important! Wallet Setup

Before testing the app:

  • Make sure your wallet is set to the Eclipse testnet

  • For testnet, use this RPC URL: https://testnet.dev2.eclipsenetwork.xyz

  • If you switch to mainnet later, update your wallet settings accordingly

Code Highlights

Some key aspects of the implementation:

Wallet Connection

Sending Tokens

Source Code

Link to Github

License

This project is MIT licensed - feel free to use it as a starting point for your own applications!

Was this helpful?