Unable to create a PDA TokenAccount using anchor constraints
I am trying to create a PDA TokenAccount and transfer an NFT from the users (signer) account to the created PDA. For some reason the PDA is not being created. After the transfer when i try to read the...
View Articleerror: no such command: `+solana`
I using anchor init, and after using anchor build to build and I get the error:info: uninstalling toolchain 'solana'info: toolchain 'solana' uninstallederror: no such command: `+solana` Cargo does not...
View ArticleSolana Rust Hello World Build fails with 'cannot be built because it requires...
I've been working through this example: https://solana.com/developers/guides/getstarted/local-rust-hello-worldBuild when I attempt to build using cargo build-bpf I get the following error:error:...
View ArticleTransaction history is not available from this node : Solana validator RPC setup
Even though i have successfully setup solana-validator(mainnet) RPC(--no-voting) node in my computer and the newwork catchup also success as solana-validator --ledger /mnt/ledger monitor also shows...
View ArticleHow to get lp pair key from mint address of a raydium token?
I want to get a LP key pair(WSOL-TOKEN). For example in $WIF, the mint addres is EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm, but I want to get EP2ib6dYdEeqD8MfE2ezHCxX3kP3K2eLKkirfPm5eyMx.I'm using...
View ArticleHow to set contract ATA's authority to my program
I know how ATA and PDA works. I know that an ATA is a PDA, and so the account which the PDA was derived from is the one that can sign transactions for this PDA.So, I assume that a contract's ATA's...
View ArticleHow does the Solana BPF VM calculate how many Compute Units a program consumes?
For a given transaction, the Solana runtime consumes CUs for many “operations”. Examples of operations could be read/write locking accounts, syscalls, signature verification, etc. as seen in the cost...
View ArticleIf I wanted to mess around with how compute units function on a validator...
Let's say I have a testnet validator and I want to modify how it approaches compute units with the goal of gaining some insight in how compute unit requesting can be optimized. How would you go about...
View ArticleBlocking specific token program's TXs
As a validator, how do you block a specific token program's txs?
View ArticleConvert VersionedTransaction to Transaction
Is there a way to convert a VersionedTransaction to a Transaction? I need to combine two transactions into one but with the type of VersionedTransaction it can't be done. Any help?
View ArticleError installing spl-token-cli via cargo on WSL
Problem:I receive the error message: could not compile solana-accounts-db (lib)For more descriptive error details pls refer the screenshot attachedDesired Outcome:My goal is to successfully install...
View ArticlegetAssociatedTokenAddressSync returns different token account address than...
I am trying to get token accounts from mint and owner address.Mint : 7HR9uH1QgDS53GfzoNgG9jieKVY1FARN1oYDQyZ63X4y Owner: GpMZbSM2GgvTKHJirzeGfMFoaZ8UR2X7F4v8vHTvxFbL -> Raydium LP TokenToken Program...
View ArticleTransactions for providing liquidity to Raydium pools consistently failing
I recently began to deposit tokens into liquidity pools on the Raydium decentralized exchange, which initially succeeded with minimal issues, but today I was not able to deposit any further liquidity....
View ArticleNeed help in sending bundle using jito
I need new to this just trying to send a transaction using Jito bundle i fetched tip accounts and used one random and also using tip 0.005SOL and sending bundle but i get this response...
View ArticleGetting Error: memory allocation failed whenever serializing the data to...
I am developing a program on Solana and I have to store around 1 MB of state into the account (Given accounts can store up to 10 MB of data) however, whenever I try to serialize that data to add it to...
View ArticleError en transaction
Estoy haciendo un intercambio en mi trustWallet de SOLANA a WETHError: transaction simulation failed: Error processing instruction 4. Custom program error: 0x1
View ArticleError en transacción
0 Estoy haciendo un intercambio en mi trustWallet de SOLANA a WETH"Error: Error en la simulación de transacciones: Error de procesamiento de instrucciones 4. Error de programa personalizado: 0x1"Quiero...
View ArticleHow create testnet faucet?
There is an idea to create your own Solana testnet faucet. Can you please tell me the links to the manuals?
View ArticleError "InvalidMarket" during transaction confirmation in Solana program
I'm encountering an error while confirming a transaction in my Solana program. The error message is "InvalidMarket", and the transaction fails with the custom program error 0xb. Below is the detailed...
View ArticlePhantom wallet transaction failure
I sent funds from an alt coin from phantom wallet directly to my Coinbase account. Transaction shows successful on phantom but no arrival at Coinbase.
View Article