Raydium Liquidity Pool V4: SwapBaseIn (Program Error: "insufficient funds")
I am creating a program in Java to send a swap transaction, but I keep receiving this error.Transactions...
View ArticleI want to run my automated trading script on the server, how to keep my...
I'm a newbie and I don't know how to keep my private keys safe on a cloud server, I'm afraid of being stolen by someone else or impersonating a transaction
View ArticleI want to create a Program that allows you to create an account and specify...
Here's the error I'm getting. I think I understand that the problem is coming from the PDA addresses aren't the same but, I'm stuck... Thanks in advance!Error: AnchorError caused by account:...
View ArticleHow can I sign a Solana transaction on the frontend with data coming from the...
async function getTransaction(){ $.ajax({ url: 'http://localhost:8080/gettransaction', type: 'GET', dataType: 'json', success: async function(data) { console.log(data); // Log the data for debugging //...
View ArticleThawAccount Error: Invalid account state for operation
When I perform a transaction I get an error and log entries:'Program log: Instruction: ThawAccount','Program log: Error: Invalid account state for operation',How to check whether an account is frozen...
View ArticleSolana Private Cluster - Can't Upgrade Program
Has anyone encountered this? I have a private cluster that is running in AWS. I can deploy programs, but when I try and upgrade them all of the transactions go through the bpfupgradeloader with no...
View ArticleCan I mint more tokens to get money out of my meme coin?
I launched a meme coin today, I burned entire LP & I also sold all my tokens from my dev wallet. This meme coin did not go well & is already dead, But their is still money inside and it is...
View ArticleHow To Make a cpi call to swap on raydium clmm program?
I worked out an program to make a swap cpi call to raydium v4 pool, with the help of raydium offically offered an cpi demo, raydium-contract-instructions.But not found any resources or instruction to...
View ArticleInvestigating "Access violation in unknown section at address...
After reading: How to investigate access violation errors, I feel like this error is different from a variety of reasons:I'm modifying an existing (working) Anchor project, and strictly using less...
View ArticlePay for PDA by a centralized wallet
I'm trying to build an app that will hold a user's wallet private key to sign for transactions and pay for the account from a centralized wallet that I own. I'm trying to avoid them having to approve...
View ArticleIs there a reason for usage of C representation of types in some SPL
For example, why is there COption when compared to the Native Rust primitives and the Rust native Option?What's the advantage of having this?
View ArticleSolana Pay Link for Payment with Wallet on computer
I am looking into Solana Pay right now for a web app where you can buy shares. I worked through different tutorials but in the end it is always showing that you can convert it into QR Code and then...
View ArticleAccidently assigned my wallet to a program, now its owner is a program i dont...
Accidently assigned my wallet to a program, now its owner is a program i dont own,Can i recover it ? I have the seed phrase and private keyis it recoverable or is it hopeless ?
View ArticleHow to set up AWS Lambda function to run Helius API
I have some Lambda function currently set to use the standard Mainnet-beta API endpoint.https://api.mainnet-beta.solana.comI want to change this to my Helius API endpoints...
View ArticleFailed create CLMM using Token 2022 - Raydium Concentrated Liquidity:...
I will add liquidity from the tokens I built in token 2022 using CLMM according to this question How to create a Liquidity pool for a token 2022 tokenAfter I entered “Confirm Deposit” and the gas fee...
View ArticleHow to decode account data using Rust?
I'm trying to get the account data using Rust and the solana_sdk.I have the following code where account.data is a Vec. let pubkey = Pubkey::from_str("...").unwrap(); let account =...
View Articlespl token unable to send
import React, { FC, useCallback } from "react";import { WalletNotConnectedError } from "@solana/wallet-adapter-base";import { useConnection, useWallet } from "@solana/wallet-adapter-react";import {...
View ArticleFetch failed - following Solana Bootcamp lesson 2
I’m following bootcamp lesson 2 to fetch the balance of a wallet. The code is as per their exampleimport { Connection, LAMPORTS_PER_SOL, PublicKey } from "@solana/web3.js";const suppliedPublicKey =...
View ArticleCirculating supply wrong on solana fm?
I'm playing around with solana Token2022 [ExtensionType.TransferFeeConfig] (on dev-net).but it seems circulating supply was different between solscan, explorer.solana and solana fm (I expect...
View ArticleBubblegum createTree timeout
IssueI encountered a timeout issue while using the createTree interface to create a Merkle tree. The method hangs until it times out. Error: Timeout of 1000000ms exceeded. For async tests and hooks,...
View Article