solana-test-validator: Unable to detect Rocks columns error
Super new to programming with Solana, please pardon my noob-ness.I'm trying to run solana-test-validator --log , but I keep getting this error:...[2024-09-06T22:18:06.427547000Z INFO...
View ArticleGet genesis hash in program
Is it possible to retrieve the genesis hash of the cluster from a Solana program?I don't see it a available in any of the SysVars.
View Articlehow to get all Program tokens in ProgramID in Solana network mainnet...
Hi I want to get all Program tokens in a ProgramId, but I get an error here errors 401: it seems this error is rpc does not allow access to the getProgramAccounts method how can I fix it?const {...
View ArticleCandy Machine - Error running command DataTypeMismatch
This was the error that came when I used the Sugar deploy CLI, it used to work with the same metadata and everything but it doesn't now? Im not sure why, or if anything changed in the metadata...
View Articlereference to packed field is unaligned
I'm tyring to Upgrade a anchor program from 0.25.0 to 0.30.1 version. I'm getting this error on the structserror[E0793]: reference to packed field is unaligned -->...
View ArticleNode startup too slow
I'm starting a new node, with no voting, only to query for transactions.The node is working properly, but when i attach a geyser plugin, the node startup becomes too slow, the normal startup time, is...
View ArticleError: Function Stack offset of 7256 exceeded max offset of 4096 by 3160...
I was using anchor version 0.25.0, this error was not in that version, Now I'm using latest version of anchor, I'm using zero_copy on all the structshere are the dependenciesanchor-lang = {version =...
View ArticleHow to deserialize ata of spl token 2022?
I found the length of spl token 2022 ata is not 165, so I can't unpack the account.The data length of EeF6oBy6AQiBJoRx5xiRNxa6cmpQE3ayVagj28QFZuyg is 183. So, how to deserialize it?
View Articlehow can anchor program A read account data from anchor program B with...
My anchor program "A", expect to use data from a anchor program name "B".Let's say program_b has declare PDA account data struct:#[account]#[derive(InitSpace)] pub struct FeeData { pub fee: u64,}and I...
View ArticleDeserializing Enum using borch_construct (Candy Machine Account Data)
While deserializing account data from: https://explorer.solana.com/address/DZWdnz5VXYxGrutAFCUHzy5JkGc3kY4aGGv8oeT3nR26/anchor-account I am running into issues with the Enum object in...
View ArticleELF error: Multiple or no text sections, consider removing llc option:...
I am trying to deploy an anchor program using solana program deploy dummy_program.so,But I am getting the following errorError: ELF error: ELF error: Multiple or no text sections, consider removing llc...
View ArticleError: ELF error: ELF error: Multiple or no text sections, consider removing...
I've been struggling with this for hours now. I really don't know whats left to do.[dependencies]solana-program = "1.8.0"after I run solana program deploy i get this error. Error: ELF error: ELF error:...
View ArticleCan I recover one of my wallets without having my private key or seed phrase?
I somehow deleted one of my wallets created in phantom without saving the seed phrase or private key. Is there any chance to recover this wallet? And if so how?
View ArticleSimulate a swap / execute a swap on Raydium in Python
I'm a newby on Solana and 0 understanding of RUST and Typescript. I'm looking for a solution to simulate swap on Raydium using Python, and then also the code to execute the swap. I've been trying to...
View ArticleUsing Look up tables with Raydium swap
I'm currently trying to write a multiple swap transaction (10 swaps) using lookup tables using Liquidity.makeSwapInstructionSimple.When writing standard v0 transactions, you simply pass the LUT to...
View ArticleLimitations of getSignatureForAddress
The issue is that when I get the create pool txn, there is no way getting the signatures for the token address going forward in time.getSignaturesForAddress only goes back in time using the before...
View ArticleIs it possible to airdrop solana-tokens distribute-spl-tokens without tokens...
I was trying to make an Airdrop (mass distro) of our $TOKEN (SPL).First we wrote a disperser using TS. And it worked (very slow) but for whatever reason 40 Tx (transactions) failed, I tried again...
View Articleerror with getting cmv3 guards
I'm trying to write a script to get guards cmv3 based on an example from the documentation https://developers.metaplex.com/candy-machine/guards , but I get errorsimport { fetchCandyMachine,...
View ArticleBinance to Coinbase USDT transfer recovery
I transferred USDT from Binance to Coinbase and used Solana network that Coinbase does not support. I see that the transaction completed successfully. Is there a way for me to get the amount off Solana...
View Articlegeyser plugin error while loading config file
I have this error while trying to run this plugin on WSL2:jpgn:~/solana/geyser-postgres$ solana-test-validator --geyser-plugin-config ./config/config.json--faucet-sol argument ignored, ledger already...
View Article