Explorateur de portefeuilles Solana
The Solana Wallet Explorer leverages a Quicknode Solana Endpoint to retrieve token balances, transaction history, and NFTs for a specified wallet on the Solana blockchain.

Aperçu
The Solana Wallet Explorer leverages a Quicknode Solana Endpoint to retrieve token balances, transaction history, and NFTs for a specified wallet on the Solana blockchain. It uses a Next.js 14 project bootstrapped with create-next-app.
Démarrer
Installer les dépendances
First, install the dependencies:
npm install
# or
yarn
# or
pnpm install
# or
bun install
Set Environment Variables
Make sure you have a Quicknode endpoint handy--you can get one free here.
Rename .env.example to .env.local and update with your Quicknode Solana Node Endpoint. Enable the DAS API only if you have enabled the DAS add-on for your Quicknode Solana Node Endpoint.
SOLANA_RPC_URL=https://example.solana-mainnet.quiknode.pro/123456/
DAS_API_ENABLED=true
NEXT_PUBLIC_FETCH_JUPLIST=true
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
Using the Dapp
Search for a Solana wallet address and press enter.
The Dapp will redirect to /wallet/[address] and query the Solana blockchain for the wallet's token balances, transactions, and NFTs. Results are rendered in respective cards.
Architecture
src/
├── app/
│ └── api/
│ └── wallet/
├── components/
├── explorer/
└── header/
api- Contains the API routes for the Solana RPC calls. These can be accessed from the client via/api/wallet/[method]?walletAddress=[address]. These GET requests utilize the@solana/web3.jslibrary and Metaplex Digital Asset Standard framework to handle queries.components- Contains the React components for the dapp.- Le
explorercomponent contains client-side components that call the API routes and render the results. - Le
en-têtecomponent contains the search bar for the dapp.
- Le
Déployer sur Vercel
Aperçu

Next.js Documentation
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
- Créer une branche du dépôt
- Créer une branche de fonctionnalité :git checkout -b feature/amazing-feature
- Validez vos modifications :git commit -m "Ajout d'une fonctionnalité géniale"
- Publiez votre branche :git push origin feature/amazing-feature
- Créez une Pull Request.