Quantcast
Channel: Recent Questions - Solana Stack Exchange
Browsing all 7836 articles
Browse latest View live
↧

Transaction simulation failed: Account with insufficient funds for rent

I'm encountering an issue while trying to execute a transaction on the Solana Devnet. The error message I'm receiving is:Transaction simulation failed: Transaction results in an account (1) with...

View Article


My validator is not in 'solana validtors'

I ran a node on mainnet, following the docs at https://docs.solanalabs.com/operations/setup-a-validator.Node is running, vote account was created.Node indentity...

View Article


My transactions are lost

I'm running an application that sends Sol and some tokens to wallet. But even I didn't get any error on the preflight, few of my transactions are keep missing.I spending 3M microlamports for compute...

View Article

How do i get the 10 public keys where the amount is > 100

import { Connection, PublicKey, LAMPORTS_PER_SOL } from "@solana/web3.js";const publicKeyString = "Gjkud8j4qDLRyox4eMGC5QDWq9HoG5JTYpxRjLYepHyh";const mainnetBetaEndpoint =...

View Article

How to create a spl22 token?

it creates a token, the transaction is executed. But in the end the token does not appear in the wallet, why? What have I done wrong? wallet, connection, name, symbol, decimals, metadata,...

View Article


My Solana Trading bot gives sbf panic error

#7 Jupiter Aggregator v6 instructionProgram log: Instruction: SharedAccountsRouteInvoking Token ProgramProgram log: Instruction: TransferCheckedProgram Token Program consumed 6238 of 1333397 compute...

View Article

Excess amount of SOL being expended from wallet when I swap with Raydium or...

This may be a problem that can occur with other Solana programs, but I digress. Whenever I attempt to swap with Raydium, it would appear as if I'm losing more SOL than I should. For example, I might...

View Article

the trait bound `AggregatorAccountData: ZeroCopy` is not satisfied

use crate::state::*;use crate::error::*;use std::str::FromStr;use anchor_lang::prelude::*;use switchboard_v2::AggregatorAccountData;pub fn withdraw_handler(ctx: Context<Withdraw>) ->...

View Article


Solana Pay SDK (problem with createQR function)

import { encodeURL, createQR, createQROptions } from "@solana/pay";import { PublicKey } from "@solana/web3.js";import BigNumber from "bignumber.js";const recipient = new...

View Article


How sandwich transactions are still alive

I’ve been researching MEV(especially frontrunning and backrunning) after the moment I came across this accounthttps://solscan.io/account/D4zVhwuUsFbcaty7wJhNEZ7VEwPHXQ5d2heXPxM5yWhL?page=4#transfersI...

View Article

Loaded Addresses

Calling getTransaction method we potentially could have loaded Addresseswhats the point in this if we still need to fetch address table lookup?

View Article

Face error while install target sbf-solana-solana

I was trying to add target sbf-solana-solana by the command\rustup target add sbf-solana-solanabut i am facing as issueerror: toolchain 'stable-x86_64-unknown-linux-gnu' does not support target...

View Article

Image may be NSFW.
Clik here to view.

"Failed to get assets" error message 2 weeks now

For 2 weeks now, I'm always receiving this error in my Brave browser version of Phantom wallet. Running W11.The phantom app on iPad shows me no error, runs sans problems.Have attempted the boilerplate...

View Article


Decrypting the phantom payload

Here is my issueBeen having issues decrypting the phantom payload that comes after connecting with Phantom.It keeps returning "data is malformed or invalid"Tried manual decryption and the phantom...

View Article

Can we reset phantom wallet so only we have access?

I don't know how the hacker has access to my wallet because i checked and it was not connected to any scam website.Now he just add funds to my wallet and drains me mostly on my sleeping time.Is there a...

View Article


Program log: Error: Account is frozen

I previously used a simple NFT on the Metaplex auction house to list, sell, and execute sales. However, now when I try to list my programmable NFT (PNFT), it shows an error: "Program log: Error:...

View Article

Using createMetadataAccountV3

I am trying to add metadata to my token, so I wrote the following function:import {clusterApiUrl} from "@solana/web3.js";import {createUmi} from "@metaplex-foundation/umi-bundle-defaults";import...

View Article


Image may be NSFW.
Clik here to view.

Getting custom program error 0x16 on Raydium after burning LP tokens

I created a liquity pool on Raydium a few days ago and scheduled the pool to be launched 3 days from now. Yesterday I burned the LP (on Sol-incinerator) and since then I noticed there are a lot of...

View Article

solana/web.js npm is runs only in typescript or not

i have installed @solana/web3.js at this specific version 2.0.0-preview.3.20240607030342.abbdc5b1d373cb555b1aab6d450854939407a8ab in react js,but it's ask typescript package.my question was this...

View Article

Image may be NSFW.
Clik here to view.

How can i parse program data in program event

I used logsSubscribe to grab the events as followsHow do I parse the program data into the data structure encapsulating the events in the following code to get the values of a, b, c, d, f?

View Article
Browsing all 7836 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>