Quantcast
Channel: Recent Questions - Solana Stack Exchange
Browsing all 7894 articles
Browse latest View live

How to pull all blocks from the genesis block to the local?

Now I need to do traceability business, I need pull all blocks from the genesis block to the local. May I ask if I need to build a validator node? If so, what params should I add?right now I reserved...

View Article


Issue with Solana onLogs and removeLogsListener when splitting code into...

I am working on a project using Solana web3.js with the QuickNode API. I have split my code into two files, track.js and remove.js, to keep it organized. However, I am encountering an issue when trying...

View Article


Beginner question for check-balance.ts in 'Solana Development Course'

so at the end of lesson2 is a challenge to change the connection url to main net and check the balance for of the address toly.sol for example.I found that, I have to change the Connection url to:...

View Article

Changed data size error

I'm building a custom Rust library for Solana smart contracts that utilizes C types and therefore calls sol_invoke_signed_c. However, I'm encountering this error "program other than the account's owner...

View Article

Clarification - Token Minting, Locking and Vesting Before Launchpad

I have token wallet ready to mint fixed supply, and some of token must be vested at TGE. How to manage this has we don't know yet when the approval of launchpad we about to apply will be issued. The...

View Article


instruction #5 didn't work

I'm trying to minify NFT and ran into the fact that my instruction #5 didn't work.1- This is the transaction where I mined manually: Transaction...

View Article

Looking for 3rd party API for ACTIVITY_SPL_TRANSFER

I'm a Junior Dev and Senior/Direct Prod Mgr. I'm building signaldancer.com, a DeFi app.One of the features we are building is a pump-dot-fun Raydium deployment watcher. Basically once the raydium pool...

View Article

Token2022 TransferHook AccountData seed error AccountNotFound

I'm using anchor to write a program that implements the transfer hook interface. One of the extra accounts is an "Authority" owned by the same program with a PDA derived from [b"authority",...

View Article


Stack offset of 4608 exceeded max offset of 4096 by 512 bytes, please...

Tried Box to add Account State data on heap on buildAnchor Version: 0.28.0Solana-cli Version: 1.18.25Error: Function...

View Article


Price Data for a birdeye.so listed token is not showing up $JEFF

Apparently its a known glitch, but the price data for an established solana token is not showing up on Phantom. $JEFFhttps://www.birdeye.so/token/A8LCx85weSxU4ubQS16twdSdYphbAEDdMd9GkZq5pump?chain=solana

View Article

`Error: destinationAmountSwapped is zero` Raydium CurveCalculator

I am trying to get the swap results before making a swap using from Raydium V2 SDK const swapResult = CurveCalculator.swap( inputAmount, baseIn ? baseReserve : quoteReserve, baseIn ? quoteReserve :...

View Article

Changing the permanent delegate of a token mint?

I’m using the Permanent Delegate extension of the Token-2022 Program. Is there any method to change the permanent delegate? Or to remove it entirely? I’m trying to get a sense for how permanent this...

View Article

Lost 1 Sol on a frozen token

Just deposited 2 sol into my wallet. Bought .1 sol of a token and tried to sell but didn't go though. I tried selling over and over and now my account only has 1 sol in it as if I was charged for all...

View Article


I want to know how to find anchor test script source code

i want to know how to find the method source code in testing javascript, for example the method "program.account.multisig.createInstruction()"source code in follow code:const ownerA =...

View Article

Facing Missing authorization rules account

Not able to use ruleSet with updateAsUpdateAuthorityV2 where we are setting ruleSet and than updating authority in metadata.const tx = await createProgrammableNft(umi, {mint,sellerFeeBasisPoints:...

View Article


Difference between `initializeMint` and `initializeMint2`

When initializing the mint accounts, two methods may be used ìnitializeMint and initializeMint2.What are the differences between the two?

View Article

Difference between InitializeAccount, InitializeAccount2 and...

Difference between the three instructions when initializing token accounts

View Article


AMM vs CLMM constant product?

From what I've researched and understood, AMM uses constant product curve for price. Does CLMM also use constant product formula within ticks (each tick seperately), the only difference is that the...

View Article

What to do with recovered account from failed deployment / deployment 2nd...

After my anchor deploy command failed with intermediate account's ephemeral keypair ...Then I recovered the seedphrase keypair from given seedphrase:solana-keygen recover -o recover.jsonThe recovered...

View Article

Can PDA sign TXs from the client, not via invoke_signed?

I'm a beginner in Rust & Solana. Currently trying to create OpenBook -> migrate a token to a Raydium.Problem: migration_vault which stores all liquidity for migration is PDA. I need to create...

View Article
Browsing all 7894 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>