Questions tagged [staking]
The staking tag has no usage guidance.
44
questions
0
votes
0
answers
13
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 ...
1
vote
1
answer
22
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 ...
3
votes
0
answers
17
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. ...
2
votes
0
answers
12
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 ...
1
vote
1
answer
36
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....
0
votes
1
answer
80
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 ...
2
votes
1
answer
85
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 ...
1
vote
1
answer
22
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
...
2
votes
1
answer
26
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 ...
2
votes
1
answer
21
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?
1
vote
2
answers
61
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/...
0
votes
2
answers
33
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 ?
0
votes
1
answer
29
views
Requesting staking accounts
I requesting staked accounts with this request
return (
await this.connectionService
.getBalanceConnection()
.getProgramAccounts(STAKE_PROGRAM_ID, filters: [
{
...
3
votes
0
answers
96
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::...
2
votes
1
answer
31
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 ...
2
votes
1
answer
44
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 ...
1
vote
0
answers
16
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 ...
1
vote
1
answer
19
views
Getting solana staking rewards for wallt
How to get all solana staking rewards for wallet?
I do not want iterate by epoch and get getInflationReward, need only sum of rewards. I want receive all rewards in one call.
2
votes
1
answer
46
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 ...
0
votes
0
answers
9
views
What does 'delay duration, apr and total slot' means in a Locked Staking smart contract
I'm currently researching about how locked staking works using a smart contracts. Please who can explain to me what the delay duration,apr and total slot stands for
pub struct FbanxStakingTerm {
...
0
votes
1
answer
30
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 ...
0
votes
0
answers
9
views
Enable Staking SPL token for Governance in a DAU
I am looking for a mechanism to enable staking of our SPL token to gain governance tokens to vote in a DAU. Can anyone point me to some resources? TIA
1
vote
1
answer
39
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 ...
0
votes
0
answers
17
views
Stake Account transactions
How get transactions for staked account?
I want to search epoch when stake account was be delegated and undelegated.
2
votes
1
answer
50
views
Getting staking rewards by stake public key
How to get rewards for staking account?
I try to use getInflationReward but I receive exception.
2
votes
2
answers
71
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 ...
2
votes
1
answer
60
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 ...
0
votes
0
answers
9
views
How to get inflation rate of a previous date?
Is it possible to get inflation rate of a previous date/epoch?
I know how to get the current inflation via the cli with:
solana inflation
But how can I get that value for a previous time? Like one ...
0
votes
0
answers
10
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?
0
votes
0
answers
16
views
Missing reward data on early blocks
I'm doing analysis on staking reward data for the whole Solana chain and realize that most blocks created before 2020-12-26 don't have transactions with reward data, except between 2020-10-12 to 2020-...
1
vote
1
answer
38
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 ...
1
vote
0
answers
39
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 ...
0
votes
1
answer
45
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 ...
1
vote
1
answer
24
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 ...
0
votes
1
answer
42
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 ...
5
votes
1
answer
145
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 ...
2
votes
2
answers
69
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 ...
0
votes
1
answer
29
views
Staking reward split between staker and validator
How does protocol distributes rewards? Does it know the validators fee and sends the % to the validator and other part to staking wallet, or stakers have to send their fees to validator separately?
0
votes
2
answers
30
views
Stake split and private keys
I am trying to understand how staking account split works on Solana in terms of wallets and private keys.
Let's assume I want to split my staking wallet with 100 SOL into 90 SOL and 10 SOL.
Do I have ...
1
vote
1
answer
22
views
Cost to delegate stake to a validator
I am working on cost analysis for staking. Could you confirm my understanding?
If I want to create a staking wallet and allocate it to a validator, will these be the fees I will incur?
Transfer of ...
2
votes
0
answers
34
views
Reward calculation for staking
I am trying to understand how does Solana allocates rewards. What are the main inputs into formula how much each validator should earn in each epoch?
1
vote
1
answer
27
views
Job allocation to validators
I am trying to understand how the protocol chooses which validator will get the validation job? What are the key criteria to get the block for validation and how it ensures all validators are getting ...
0
votes
3
answers
47
views
Staking - more accounts or larger stake
I am trying to identify the best way to earn rewards on Solana staking. Let's assume I have 100 SOL. What is best for APY:
Create 100 wallets with 1 SOL each and stake them with my validator?
Create ...
2
votes
1
answer
38
views
`solana stakes` CLI command
Here I have the results from the solana stakes <insert validator> CLI command.
{
"stakePubkey": "47YYxhvHBg2RwDRMFnTh3v2x9wiBp4GwkV3yewNZLsw9",
"stakeType": ...