How to delegate SOL with Solana web3js (Thread)
1/8 Using Solana web3js to connect with Solana's blockchain, we’ll walk through how to delegate 0.02 SOL.
Solana’s `StakeProgram` lets us programmatically handle delegation. Let's explore this recipe!

7/8 Delegate the stake
With the stake account ready, let's delegate 0.02 SOL!
Define the validator's public key (`votePubkey`) and set up delegation instructions.

8/8 Final steps
Build, sign, and submit the delegation transaction.
Congrats on your first delegated stake with #Solana web3js!
Check out the full recipe here:
docs.chainstack.com/recipes/de...…

From Twitter
Disclaimer: The content above is only the author's opinion which does not represent any position of Followin, and is not intended as, and shall not be understood or construed as, investment advice from Followin.
Like
Add to Favorites
Comments
Share
Relevant content
