Questions tagged [staking]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Sol doesn't receiving from staking

I was deligating my Sol at stake. After ten minutes I canceled it and now I can't find my previously deligated Sol for couple of days. Could someone help me?? Transaction hash: ...
Yevhenii Khivrenko's user avatar
0 votes
1 answer
39 views

How to let users to create liquid staking pools

I'm exploring the methods to create staking pool on Solana, where they take SOL and and get the reward token, and I'm a bit overwhelming and confused due to difference between EVM and Solana. Assuming ...
cablespecific's user avatar
0 votes
2 answers
29 views

spl-stake-pool create-pool: RPC response error -32002

I try to create a staking through this article in Dev network. But I meet problem when I use this command: levi@LEVI-104-PC:/opt/solana/solana-liquid$ spl-stake-pool create-pool --epoch-fee-...
LEVI_104's user avatar
2 votes
1 answer
46 views

Why does the active stake plus the rent reserve not equal to the total balance? How to correctly calculate the total balance?

So I am trying to report the difference balances on an staking account. My assumption was: total balance = active stake + rent reserve However, this equation is not true when looking at the numbers in ...
sibabtcs's user avatar
2 votes
1 answer
293 views

Creating an SPL Staking Contract + Understanding Staking

I'm working on a basic SPL staking contract for a token i've created on devnet. Pretty simple goal: lock up tokens for x amount of time, claim, unstake. As this is all relatively ~basic~ functionality,...
blockchief's user avatar
2 votes
1 answer
34 views

is it possible to do non custodial staking with pnfts (freeze accounts)?

pnfts are in frozen accounts by default, and only metaplex program can thaw / freeze them again. But then, my question is : is it possible to do non custodial staking ? If i can't freeze the account ...
Effe2's user avatar
  • 1,138
0 votes
1 answer
41 views

Just starting on Solana and would greatly appreciate any tips!(:

I am just starting with Solana and if anyone could give me any pointers or some sort or direction that would be greatly appreciated!
Poseidon's user avatar
0 votes
1 answer
151 views

Staking deactivating

I have deactivated my staking of sol 2 days ago but it is still showing deactivating. I'm new to Phantom so I Don't know how much time will will take to compete the Process. If anyone knows then ...
Boma Manik's user avatar
0 votes
2 answers
47 views

What does it mean Garbage Collection?

I wonder what is Garbage Collection?. When an Account no longer has enough Lamports to pay its rent, it will be removed from the network in a process known as Garbage Collection. Someone let you know?....
Gus's user avatar
  • 21
2 votes
1 answer
138 views

What does it mean Lamport?

What does it mean Lamport?. How many Lamports is one Solana?. Is it important?. What is Lamport balance?. How to calculate it?. How many Lamports should I have in my account to be estimated rent ...
Gus's user avatar
  • 21
0 votes
1 answer
16 views

Verifying staking addresses of voter addresses in code returning no staking addresses (code issuse)

Hey guys I am trying to get a list of addresses staking to a validator. I can verify on an explorer there are addresses, but in my code I always return no addresses associated. Can anyone see what Im ...
Michael's user avatar
  • 13
2 votes
1 answer
68 views

Solana inflation mechanism design

When Solana quotes a percentage inflation figure, is that to be understood as annual inflation of the current circulating supply? For example, if inflation is 10% and current circulating supply is 400 ...
yeehaa's user avatar
  • 21
0 votes
1 answer
26 views

How to test balance change of my staking program

I am following a tutorial to make a staking app and I want to test the functionality of my instruction. I have tried "getTokenAccountBalance", but it remain unchanged before and after the ...
Tropical Dog's user avatar
0 votes
2 answers
153 views

Sol staking question

When viewing my staking account it appears that my authority address has changed and my main address is no longer it How do I change the authority back to my main address and is my main address still ...
ScrapHouse of Life CCC's user avatar
1 vote
1 answer
35 views

Unable to get inflation/staking rewards after Epoch 398

I'm trying to gather all the staking rewards I've received for tax purposes. I've been calling getInflationReward, which worked fine up until epoch 398. For some reason, it returns null for all the ...
Volkan Paksoy's user avatar
1 vote
0 answers
40 views

Any good reason not to withdraw vote account rewards?

Running a validator and getting rewards to the vote account balance, is there any reason not to withdraw them? Any benefit or profit, ranking or something else that worth to save the incoming reward ...
recoverySol's user avatar
0 votes
1 answer
178 views

Cool Down period for Stakes

I'm looking for the number of epochs a stake is locked after it has been deactivated. Is this number fixed or can it vary. i'm aware of the warmup/cooldown-rate, but to simplify the assumption is that ...
mazi's user avatar
  • 5
1 vote
1 answer
699 views

Staking in python?

I'm currently trying to use this branch of Solana-py to create a script which allows me to automatically find the best validator and stake my SOL with it. I'm having an issue when trying to pass the ...
Morgandril's user avatar
0 votes
0 answers
30 views

Staking platform issues

a Solana staking platform (staking platform) has a staking site with which our community is having major issues in regards to actually staking, unstaking, and claiming. Unfortunately, they are telling ...
gregj.'s user avatar
  • 1
2 votes
1 answer
95 views

System Program: Withdraw Stake from delegated stake account

I'm struggling with understanding of what's happened in tx 1GQA7ZcU63Wqm5gUUkhCnKa8dwzwK91c5bEPKcUvesgmkbauU5nH865PKXkUhD8s8HmTV1URtDG6WqYN3h9z5ET As I can see, System Program: Withdraw Stake was ...
Gohnny's user avatar
  • 23
5 votes
2 answers
182 views

When staking SOL on-chain... questions about Stake Accounts

This is a question regarding my stake account, not my regular SOL wallet. I am aware that rewards that are collected automatically and re-staked. However, my question has to do with how that happens. ...
bricarp's user avatar
  • 51
3 votes
0 answers
16 views

Track all rewards paid to validator including it's delegators [duplicate]

I'm trying to find the average amount of staking rewards paid to a validator across an epoch. I am aware of the method getInflationReward, and I'm able to pass that method a validators vote account ...
Cambro's user avatar
  • 71
3 votes
1 answer
110 views

What are common practices for solana staking account address generation for wallet developers?

In order to delegate funds they must be moved into a staking account. The staking account address can be anything, even random bits as long as it doesn’t collide with any other staking account address....
Brian Bradley's user avatar
0 votes
1 answer
612 views

Manual unstake a Solana NFT

So, with the project I'm working with we have 2 staking sites, an old one (https://stake.wobblebug.info/) and a new one (https://wobblebug.io/stake). The developer for the old one there was a number ...
Beardo's user avatar
  • 1
2 votes
1 answer
270 views

How to import METADATA_PROGRAM_ID. (Buildspace Solana Staking Anchor course)

I'm doing the Anchor Staking part of the solana Buildspace course. I get this error when running the first test: ReferenceError: METADATA_PROGRAM_ID is not defined This is the Anchor Smartcontract I ...
Matti's user avatar
  • 129
2 votes
1 answer
53 views

Rewards after merge staking accounts

I want use merge staking accounts. How I check but after merge staking accounts I lost some rewards. const trx = StakeProgram.merge({ stakePubkey: stakePubKey, //destination ...
Oksana's user avatar
  • 431
2 votes
1 answer
51 views

How to track the total SOL rewards? I see 4 reward types, but I'm not sure which to use

I see 4 reward types, but I'm not sure which to use. I'd like to track total rewards paid out. Fee, Rent, Staking, Voting, To my understanding: Fee -> Is this related to transaction fees, if so ...
solnoob's user avatar
  • 21
2 votes
1 answer
36 views

Using VersionedTransactions with staking

I want to move to VersionedTransaction. But methods like StakeProgram.delegate, StakeProgram.deactivate return Transaction. How to use VersionedTransaction with staking?
Oksana's user avatar
  • 431
1 vote
2 answers
304 views

Getting (os error 3) The system cannot find the path specified when trying to build a staking pool

So I'm following this video https://www.youtube.com/watch?v=NbmA6GLDEFk, and trying to build a demo staking pool using the scripts at https://github.com/solana-labs/solana-program-library/tree/master/...
Anish Mukherjee's user avatar
0 votes
2 answers
74 views

Minimum balance for stake account

I want to split staking accounts, but before I should check minimum balance of stake accounts. What is minimum balance for staking accounts ?
Oksana's user avatar
  • 431
0 votes
1 answer
102 views

Requesting staking accounts

I requesting staked accounts with this request return ( await this.connectionService .getBalanceConnection() .getProgramAccounts(STAKE_PROGRAM_ID, filters: [ { ...
Oksana's user avatar
  • 431
3 votes
0 answers
191 views

Transaction too large: 1876 -- Need Help

Please help. I unstaked SOL on TrustWallet from 5 or so delegators at once. Since then, when I go to claim my rewards, I receive the following error: encoded solana_sdk::transaction::versioned::...
user20495837's user avatar
2 votes
1 answer
54 views

Identifying stake and unstake transactions for a given stake account

Suppose I run a validator and am interested in historical staking and un-staking transactions with my validator. I have a list of all the stake accounts for my validator. From that I'm able to get ...
Eliot's user avatar
  • 185
2 votes
1 answer
84 views

How to calculate transaction fees collected by a validator

I know that 50% of the transaction fees on Solana are burned and 50% are given to the validator that included the transaction in the proposed block. I am unable to understand how can we find out how ...
Maksimjeet Chowdhary's user avatar
1 vote
0 answers
27 views

How to calculate total supply for validator rewards

in the solana docs it is mentioned that issuance = (total supply * inflation)/target_epochs_per_year - (where target_epochs_per_year = 182.5) Now, I am unable to understand do we consider the total ...
Maksimjeet Chowdhary's user avatar
1 vote
1 answer
94 views

Getting solana staking rewards for wallet

How to get all Solana staking rewards for a wallet? I do not want iterate by epoch and get getInflationReward, I need only the sum of rewards. I want receive all rewards in one call.
Oksana's user avatar
  • 431
3 votes
1 answer
187 views

Finding stake and unstake transactions for a given validator

Suppose I know the vote account and identity account for a validator. I also run the validator, in case that matters. How do I find all the historical staking and unstaking transactions for the ...
Eliot's user avatar
  • 185
0 votes
1 answer
117 views

Add validator to stake pool - Custom Program Error 0xc

I'm following the Quick Start Guide for running a stake pool on the test validator, but I'm having trouble adding a validator (Step 2). RPC response error -32002: Transaction simulation failed: Error ...
Crypt's user avatar
  • 3
1 vote
1 answer
70 views

Getting epoch from active and inactive duration

After call connection.getStakeActivation(newAccountPubkey); I receive something like this { active: 0, inactive: 27717120, state: 'activating' } How convert active and inactive to delegated epoch and ...
Oksana's user avatar
  • 431
3 votes
2 answers
126 views

Getting staking rewards by stake public key

How to get rewards for staking account? I try to use getInflationReward but I receive exception.
Oksana's user avatar
  • 431
2 votes
2 answers
293 views

Getting staking accounts of wallet

I want to receive all staking accounts for a wallet. How can I do this? I'm trying to use getParsedProgramAccounts, but don't know what should I put for data size and offset const accounts = await ...
Oksana's user avatar
  • 431
2 votes
1 answer
124 views

Unable to execute delegate transaction on testnet

I'm using the solana/web3.js library and trying to send a delegate transaction but I'm getting: SendTransactionError: failed to send transaction: Transaction simulation failed: Error processing ...
adrian's user avatar
  • 23
0 votes
0 answers
11 views

Airdrop NFT's to wallets that are already staking some other NFT's

Is it possible to get the list of wallets that are currently staking a certain NFT and airdrop some new NFT's to them? It is custodial staking. How would you do it?
george's user avatar
  • 41
1 vote
1 answer
58 views

How to award tokens to users staking NFTs?

How would you create a token without any value and then mint them to the user who staked the NFT when they want to unstake? Do they pay the transaction fee and how much would it cost to mint a single ...
george's user avatar
  • 41
1 vote
0 answers
292 views

Find Staked NFTs Of A Wallet

I want to build a portfolio tracker for SOL wallets. I'm stuck on finding the staked NFTs of a user(wallet). Do I have to dig over the transactions or is there a smart way to find the staked NFTs of a ...
IsthereAnyoneee's user avatar
0 votes
1 answer
80 views

Get staking rewards for a specific account

Wondering what is the best way to get all the rewards for a specific account. Currently I’m using getInflationReward RPC endpoint but it requires me to call it per epoch so eventually I’m looping from ...
Viacheslav Serebrianniy's user avatar
1 vote
1 answer
27 views

Solana wallet adapter '{ children: Element[]; }'?

I am using wallet adapter with gemworks' gemfarm site. Everything works correctly in development, but open building my is givng error of "'{ children: Element[]; }'". I read that it was an ...
Joshua's user avatar
  • 63
0 votes
1 answer
197 views

How do I use WalletPovider for a function outside of return()?

I have been attempting to use the Solana Labs wallet adapter to create a NFT Staking site. The backend script is on the chain using Gemworks Gem Lab. Currently my front end has functions created by ...
Joshua's user avatar
  • 63
5 votes
1 answer
405 views

How does non-custodial NFT staking work?

In custodial NFT staking the holder transfers the NFT to a program-owned account to receive program-defined benefits. I've seen the same staking features implemented in a non-custodial manner and was ...
kylebuildsstuff.sol's user avatar
2 votes
2 answers
109 views

Freezing SPL Token accounts Via JS SDK

I am trying to build a 'web2'/'weak' NFT staking system where NFTs are frozen in holder's wallets. Currently, the tokens do not have any freeze authority set. Does this mean they cant be frozen by me ...
Maffs's user avatar
  • 21