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 ArticleIssue 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 ArticleBeginner 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 ArticleChanged 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 ArticleClarification - 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 Articleinstruction #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 ArticleLooking 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 ArticleToken2022 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 ArticleStack 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 ArticlePrice 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 ArticleChanging 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 ArticleLost 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 ArticleI 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 ArticleFacing 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 ArticleDifference 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 ArticleDifference between InitializeAccount, InitializeAccount2 and...
Difference between the three instructions when initializing token accounts
View ArticleAMM 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 ArticleWhat 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 ArticleCan 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