$1 Billion+
Staked Assets
0%
Solana Vote Commission
No Slashings
Staking Track Record
Supported Networks
Solana Integration Guide
Staking can be initated with the @solana/web3.js library. Install the dependencies:
npm install @solana/web3.js
npm install dotenv
Load your wallet from an environment variable and use this code to create and delegate stakes.
Your wallet secret key should be stored in an environment variable called WALLET_SECRET_KEY.
import { Connection, Keypair, LAMPORTS_PER_SOL, StakeProgram, PublicKey, Transaction } from "@solana/web3.js";
import dotenv from 'dotenv';
dotenv.config();
// Load wallet from environment variable
const secretKey = JSON.parse(process.env.WALLET_SECRET_KEY || '');
const wallet = Keypair.fromSecretKey(new Uint8Array(secretKey));
...
Solana Validator Performance
Loading validator data...