Anchor detecting wrong Rust version
Anchor keeps detecting my Rust version as 1.68.0-dev even though it is the newest one, any idea?jano@Jans-MacBook-Pro counter_2 % anchor testwarning:...
View Articlesolana-program-test fails with termcolor lifetime issues
I'm trying to start a program using solana-program-test, but I'm having trouble getting the examples in SPL to run.If I use the examples/rust/transfer-lamports program, extract it into its own project,...
View ArticleScript to find top traders for a specific token?
How to build functionality like DexScreener top traders API? My goal is to return top traders for a certain token with their PnL and un-realized PnL.
View ArticleRunning Solana RPC Nodes in Restricted Repair Only Mode
I am currently running an RPC node with --restricted-repair-only-mode to limit bandwidth in the following command:exec solana-validator \ --restricted-repair-only-mode \ --no-os-network-limits-test \...
View ArticleIs there any faster way to getPoolKeys from Solana Raydium?
Currently, I am fetching all liquidity-related data from Raydium API. (https://api.raydium.io/v2/sdk/liquidity/mainnet.json)And then matching with my desired token address to filter the right PoolKeys....
View ArticleI need to change the logo of the token created by you
Dear representatives of your ecosystem,With respect, I would like to inform you about a small discrepancy regarding the logo of the currency that I have created within your ecosystem. Due to an error,...
View Articlemake anchor tests run one after the other
So i'm writing tests for my anchor program, using the mocha testing framework (as per default)Inside of my describe, I want to do different tests, so different it() instructions, but I need them to be...
View ArticleToken with metaplex metadata not showing properly on Solana.fm
I've created a test token with metadata via metaplex on the devnet, and it appears properly on the solana explorer, but when looking at the same token on Solana.fm it does not display the name, logo,...
View ArticleHow should I handle private key when sending transactions?
How can I send a transaction from my backend without leaving the private key in the code?I want only me to be able to do this transaction but if I leave the private key in the code, it is easily...
View ArticleHow to get price for a token pair at a specific time in an onchain program?
I need to get a price for ETH/USD and BTC/USD for the specified time. For example yesterday at 9:00 am. How can I do it in the on-chain Solana program? What oracle can be used?I have checked the Pyth...
View ArticleInteracting with the Raydium API
I don't know much about programming. I want to interact with the Raydium API in order to swap tokens <30 secs after launch. How do I do it? A detailed guide would be great, thanks.
View Articlefind pump.fun tokens lanched on radium
What method would you use to find all projects/tokens pump.fun has launched? Im trying to understand the logic to even start to put something together. I use python to identify new liquidity pool...
View ArticleError: Reached maximum depth for account resolution
I have a instruction create_like, on calling it from the client I get the following errorError: Reached maximum depth for account resolutionCode For the instruction - use...
View ArticleUsing anchor_client with tokio
I'm trying to invoke a transaction with anchor_client from a tokio context. Here's how I'm doing it: let pid = Keypair::new().pubkey(); let payer = Rc::new(Keypair::new()); let client =...
View ArticleAllow a holder to freeze/thaw their own SPL token token account
I am looking at developing a dapp that rewards holders based on the length they keep their associated token account frozen for.I have tried the below code in my nextjs/react app, however I can only get...
View ArticleWhat is the best way to get all token holders and their balances by mint...
There is a way to get token accounts by mint address usinghttps://spl.solana.com/token#finding-all-token-accounts-for-a-specific-mintBut unfortunately it only returns token accounts without balances, i...
View ArticleHow to verify priority fees
I have tested my transactions with 10k, 100k, 200k lamports priority fees. I am unable to come to any conclusions that setting higher priority fees will optimise the time it takes. I am getting varied...
View ArticleJoin the Soliiverse Team: Community Manager and Mobile Developer (iOS &...
WANTEDMobile Developer (iOS & Android)Community Manager (DE,EN,ES)Soliiverse Solana Web3 Game - PRESALE LIVEFrom JUL 15 to AUG 15✅ Dev Team from Europe✅ No Toxic Community.👇🏼Join Our...
View ArticleAccess violation in unknown section at address 0x0 of size 8
I'm encountering Access violation in unknown section at address 0x0 of size 8 error when I call my initialize instruction. Here is the full error.Message: Transaction simulation failed: Error...
View Article"Signature verification failed" error while creating an account
I am trying to create an account but I get an error while creating it.const provider = anchor.AnchorProvider.env();anchor.setProvider(provider); const newAccountKeypair =...
View Article