Accounts
- getAccountInfo
- getMultipleAccounts
- getProgramAccounts
- getBalance
Promote any sandbox to a wire-compatible JSON-RPC endpoint. Point @solana/web3.js, Anchor, Phantom dev mode, or your own dApp at it. No mock, no proxy.
Anything that speaks Solana speaks Reley. Drop the sandbox URL in instead of mainnet.
import { Connection, Keypair } from 'solana-web3.js' const connection = new Connection( 'http://127.0.0.1:8899/sandbox/main', 'confirmed', ) const payer = Keypair.generate() await connection.requestAirdrop(payer.publicKey, 1e9)
Source under PolyForm Noncommercial 1.0. macOS today. Windows and Linux next.