Skip To Content

Blockdaemon Documentation

Stake Solana (SOL) with Fireblocks

It’s easy to stake your SOL tokens to Blockdaemon using Fireblocks.

Note: Solana staking is only supported through the Fireblocks API (not UI).

To stake your SOL with Fireblocks,  run the following script:

import fs from "fs";
import path from "path";
import { FireblocksSDK } from "fireblocks-sdk";
import { SolStaker } from "./src/sol-staker"


const apiSecret = fs.readFileSync(path.resolve(__dirname, ''), "utf8"); 
const apiKey = ""
const fireblocks = new FireblocksSDK(apiSecret, apiKey);

const DEVNET: boolean = true;
const VAULT_ACCOUNT = "";

const solStaker = new SolStaker(fireblocks, VAULT_ACCOUNT, DEVNET);

(async() => {

    // await solStaker.createStakeAccount('');
    // await solStaker.delegate('')
    // await solStaker.deactivate();
    // await solStaker.withdrawStakedBalance('')
    
})();

This script uses the Solana Staking SDK, provided by Fireblocks.

Blockdaemon Solana Mainnet Validator Address

FQwewNXahV7MiZcLpY6p1xhUs2acVGQ3U5Xxc7FzV571

Additional Guidance

We don't support Internet Explorer

Please use Chrome, Safari, Firefox, or Edge to view this site.