How can phantom send the total amount of sol to an account and I get...
My question is: when I try to send the total amount of my solana balance from one account to another programatically (JS) I get an error saying that Transaction would result in an account with...
View ArticleRename Spl-token
On Ubuntu I made a coin, this coin whenever I send it is called unknown token or BERJW how can I change this name to something else? Like is there a code snippet or a site that allows me to change it?
View ArticleIs there any API in Raydium to get the price to token pair?
i am trying to get the price of token pairs in the my solana blockchain but i wan to use the radiym dex so i need thye API for this purpose.so there is any such API that I use to get the realtime price...
View ArticleSending transaction from different locations parallel, benefits?
I'm curious if for example I have server in Frankfurt which I send transaction from and the validator is located at New York, will it be faster if I would have sent parallel the same encoded...
View Article"Error: No such file or directory (os error 2)" Error from Anchor Test
My tests all run successfully, but at the end of my test execution, I get error Error: No such file or directory (os error 2).On the anchor discord, I found a thread from February detailing the same...
View ArticleIdlError: Type not found for custom struct
I got started with writing smart contracts 2 days ago so please bear with me. The function emit_event emits an event. I want to call the function via a CPI form another program. I have written code for...
View ArticleAnchor IDL type for structs
I'm trying to fetch a PDA account and use one of it's properties as a seed for another PDA account. Here's what the implementation looks like:const [ registryPDA, registryBump ] =...
View ArticleYellowstone Geyser GRPC Error FailedtoLoadPlugin
When launching my validator (self hosted, working for more than a month and updated to a plugin matching version (1.17.20)) the validator first load then return an error.The plugin is...
View ArticleSolana Wallet showing unkown network on connecting to React Native
I am following the official Solana Mobile Stack docs to connect my react native dapp to phantom wallet on my real device. But whenever I try to connect, the phantom wallet opens and shows unkown...
View ArticleHow to fetch the ATH (all-time-high) for a token?
I'm looking for an API or even an explanation of a method to fetch the all-time-high price for a token on Solana.
View ArticleI m unable to reallocate solana 2022 program transfer Fee extension
Getting error:failed to send transaction: Transaction simulation failed: Error processing Instruction 0: custom program error: 0xdCode is:import { Connection, Transaction, clusterApiUrl,...
View ArticleAre curve25519 syscalls sufficient to perform an ed25519 signature verification?
There is a syscall to verify an secp256k1 signature, but there isn't one for ed25519.There is a native program for both.Recently some curve25519 syscalls have been enabled on mainnet-beta, i believe to...
View ArticleLooking for blazing fast Solana RPC
I'm looking for a Solana RPC provider which offers extremely low latency, with maximum up to 2-3 seconds, ideally between 1-2 seconds or less. I am building a trading bot so performance and reliability...
View Article14 UNAVAILABLE: Failed to parse DNS address...
I am trying to fetch a random Jito tip accounts using this codeasync function getTipAccount() { const BLOCK_ENGINE_URL = "https://frankfurt.mainnet.block-engine.jito.wtf"; const searcher =...
View ArticleTotally blocked by expected `solana_program::program_error::ProgramError`
I'm new to solana development and anchor to start. I might just be missing something but I keep getting stuck with increasingly frustrating build errors.For context i've copied the nft metadata pointer...
View ArticleGuidance Needed for Setting Up a Successful Pre-Sale for Token
could you please assist me in setting up a successful pre-sale?Token name: Token on SolanaDecimals: 8We have allocated 50,000,000 tokens for liquidity.An airdrop has already distributed 3,000,000...
View Articlemacro bug when building program
I try to build my program but this bug occur |114 | #[derive(Accounts)] | ^^^^^^^^ expected `Pubkey`, found `COption<Pubkey>` | = note: expected struct `anchor_lang::prelude::Pubkey` found enum...
View ArticleSolana Anchor Program - Withdraw Functions says - Error processing...
I'm coding a tipping program where the tip function transfers the SPL token amount to a PDA address (the PDA of the program itself and the token mint). The tip function works fine, but I'm encountering...
View Articleis programSubscribe filtering with multiple accounts possible?
so I am wanting to listen to multiple token account token balances. I am currently using programSubscribe with filter on the token account owner: jsonrpc: "2.0", id: 1, method: "programSubscribe",...
View ArticleInstallation of platform-tools without calling `cargo build-sbf`
I'm fixing the solana-validator package on Nix in this PR, and I want cargo build-bpf and cargo build-sbf to work. Right now when I try to run them, they try to download the platform-tools to the Nix...
View Article