VELNOK TECHNICAL DOCUMENTATION · V0.2

Getting started

Set up the Next.js app, configure the server-side Solana RPC URL, and run a bounded wallet lookup without sharing wallet secrets.

CURRENT IMPLEMENTATION · SOLANA RPC

Requirements

Node.js 20 or later, pnpm, and a Solana RPC endpoint. A provider endpoint may include a credential; keep it in a server-only environment variable and never use the NEXT_PUBLIC_ prefix.

Install and run

Install the lockfile dependencies with pnpm install, then start the app with pnpm dev. The existing Next.js App Router project includes the client graph dependency and the Solana RPC client.

Environment variables

SOLANA_RPC_URL is read only by server code. NEXT_PUBLIC_X_URL accepts only an HTTPS profile URL on x.com or twitter.com. NEXT_PUBLIC_TOKEN_MINT_ADDRESS is displayed only if it parses as a Solana public key. NEXT_PUBLIC_SITE_URL controls public metadata and sitemap URLs. Copy the variable names from .env.example.

First lookup

Open /explorer, paste a public Solana address, and choose Analyze. If the RPC variable is missing, the UI reports that live analysis is not configured. When configured, returned edges link to Solscan transaction evidence.

Production notes

Deploy with SOLANA_RPC_URL configured for the server runtime. Use a provider plan that permits transaction history and parsed transactions. The included in-memory request limiter is per process and is not a distributed quota system.

WORKING EXAMPLE
SOLANA_RPC_URL=https://your-solana-rpc.example
NEXT_PUBLIC_X_URL=https://x.com/your_official_profile
NEXT_PUBLIC_TOKEN_MINT_ADDRESS=
NEXT_PUBLIC_SITE_URL=https://your-production-domain.example