How to build on Solana
with working examples
Stop searching Stack Overflow. Every method you need for your Solana app, from balances to staking, with TypeScript code you can copy today.
Why builders use this
Skip the docs rabbit hole. Get working code in seconds.
Test Before You Build
Try any RPC method with real mainnet data. Paste a wallet address, see results instantly.
Copy Working Code
Every example includes TypeScript and cURL snippets tested against Helius RPCs.
Clone the Whole App
Fork this repo to jumpstart your project. Best practices and patterns included.
Production Stack
Next.js 16, @solana/kit, TypeScript, Tailwind v4. The stack top teams ship with.
Secure by Design
API keys stay server-side. Secrets never touch the browser. Auth patterns built in.
Wallet Integration
Phantom Connect with persistent state. See exactly how to handle wallet flows.
Find what you need
Common questions, answered with code. Click to see examples.
How to integrate a Wallet Connector
Integrate Phantom Connect, handle social logins, sign transactions
How to get wallet balance
Fetch SOL balance, all tokens, or a specific SPL token for any address
How to list wallet assets
Get all NFTs and tokens owned by a wallet in one API call
How to get transaction history
Fetch recent activity, filter by type, or paginate full history
How to get NFT metadata
Look up images, attributes, prices for NFTs, tokens, and cNFTs
How to inspect a program
Check upgrade authority, fetch IDL, view program metadata
How to stream blocks in real-time
Connect to Laserstream WebSocket for live slot, block, and transaction updates
How to fetch historical blocks
Access archival data, view the genesis block, explore early Solana history
Why Helius?
Fastest RPCs. DAS API for NFTs. Enhanced transactions. Webhooks. One API key unlocks everything you need for production Solana apps.