Skip to main content

Questions tagged [error]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

MY NODE.JS SOLANA SNIPER BOT

please how do i fix this error bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?) {"level":"error","message":"Error initializing bot: Non-...
Aderlea's user avatar
0 votes
1 answer
38 views

SOLANA SNIPER BOT

hi i am building a solana sniper bot using typescript in node.js using the ES modules in visual studio code environment. Its not working. its finding it difficult to compile the ts script it is ...
Aderlea's user avatar
0 votes
1 answer
20 views

Where can I deploy a Program MVP without having to pay?

We created a project to be deployed but we are stuck with deploying it to the mainnet, like we are unable to fund our wallets with sol and if we want to buy we have to complete EDD, like wth I don't ...
Satoshi's user avatar
0 votes
0 answers
20 views

I cant use my sol in my wallet

There’s a smart contract in the wallet to send any funds out of the wallet , I asked a different dev to do it for me because the wallet was compromised , what I can do boys? I cant send my sol it's ...
dad's user avatar
  • 1
0 votes
0 answers
23 views

Can't deploy a smart contract: cli 'solana program show --programs' returns nulls

For those who've been following this, I been dealing with ISSUES trying to make a solana-token ICO widget, basically I finally got around both the, error: package `solana-program v1.18.2` cannot be ...
Keola's user avatar
  • 73
0 votes
0 answers
21 views

pyo3_runtime. PanicException: called 'Result: :unwrap()

I got some error like that sometimes it is work well but sometimes it gets that error I tried try, except code but it doesnt work. note: run with 'RUST_BACKTRACE=1 environment variable to display a ...
Junhwan's user avatar
0 votes
0 answers
22 views

failed to load manifest during ‘anchor build’

I used anchor build command. E:\Data\on-going\Solana\share-nft>anchor build [2024-05-17T13:51:20.417937300Z ERROR cargo_build_sbf] Failed to obtain package metadata: cargo metadata exited with an ...
lovelyRUN's user avatar
0 votes
1 answer
105 views

Block height exceeded - Wormhole - Receiving WETH in Solflare wallet

Sorry if the question has already be submited, but I couldn't find any answer and I'm a bit lost. I can't finalize the transaction to receive WETH from Wormhole (portalbridge.com) on my Solflare ...
Alex's user avatar
  • 1
0 votes
1 answer
45 views

Anchor installation stops with error: (signal: 9, SIGKILL: kill) on random crates

Today i tried installing Anchor and it was stopping on random crates with a SIGKILL error 9. I was using this command cargo install --git https://github.com/coral-xyz/anchor --tag v0.30.0 anchor-cli --...
Jonas H.'s user avatar
  • 5,737
1 vote
2 answers
51 views

How to debug error {"code":-32603} on solana

I learned solana via soldev.app and I tried to pull source code from: https://github.com/Unboxed-Software/solana-movie-program.git (branch: solution-add-comments) and deploy to testnet. After ...
nguyễn hải's user avatar
0 votes
1 answer
23 views

Solana CLI how to fix this? Not configured Program ID

PS C:\Users\Keola> spl-token mint 4ZPyP3fGWEoFV7ey32jqwJGCydyK9(censored) 80000000 14fbryUnN5Px4GGg1MMgTKawpyvBXUz(censored) Error: "Account 14fbryUnN5Px4GGg1MMgTKawpyvBXUz(censored) is owned ...
Keola's user avatar
  • 73
1 vote
0 answers
24 views

cant able to buy swap or send to other account - a particular coin

I bought a coin from Dex screener , but i cant able to sell,swap & buy the coin when i am swaping it is showing me a error msg ( this transaction reverted during the simulation . Funds may be lost ...
rohit's user avatar
  • 11
1 vote
1 answer
52 views

Following a Solana token guide and found out later on the info is dated. Not I'm getting an error when I try to check my spl-token accounts

I was following the https://mafyuh.com/posts/spl-token-cli/ guide, and used this command "as instructed" PS C:\Users\Keola> solana config set --url https://api.mainnet-beta.solana.com --...
Keola's user avatar
  • 73
1 vote
1 answer
26 views

I am trying to write a program in Rust for Solana, but I encounter a problem when using the macro #[entrypoint]

I am trying to write a program in Rust for Solana, but I encounter a problem when using the macro #[entrypoint]. Here is my code: // src/lib.rs use solana_program::entrypoint; use solana_program::{ ...
Владимир Магнатов's user avatar
0 votes
1 answer
50 views

How can I initialize a second wallet on Anchor tests?

I would like to test that a public key that doesn't own a PDA can't alter its data. I'm doing as follows: Generate a new keypair for user2 (user1 is the pubkey of the local wallet on Anchor's ...
Matheus Baptistella's user avatar
0 votes
2 answers
119 views

Can't mint any token 2022? I tried minting 60,000,000 tokens but only 18 million were generated and when I try minting more I get an error

Error: Client(Error { request: Some(SendTransaction), kind: RpcError(RpcResponseError { code: -32002, message: "Transaction simulation failed: Error processing Instruction 0: custom program error:...
Keola's user avatar
  • 73
0 votes
0 answers
56 views

Error When Creating SPL Token Account: Incorrect Program ID for Instruction Body:

I'm new to Solana development and have encountered an issue while trying to create an SPL token account on the devnet using the SPL Token CLI. After creating a new SPL token, I attempted to create a ...
david's user avatar
  • 1
1 vote
1 answer
105 views

Error minting token on Devnet

Noob here, in a bootcamp. Gettin stuck with this error. I have set configuration successfully to Devnet. But then things like requesting Airdrop from Devnet or spl-token create-token are giving me the ...
Lordshrrred's user avatar
1 vote
2 answers
84 views

Error processing Instruction 0: custom program error: 0x0

My program is to do an English NFT auction, it uses Anchor, and I'm stuck on the error Error processing Instruction 0: custom program error: 0x0 when I try to send my the transaction to initialize the ...
Mike's user avatar
  • 125
0 votes
0 answers
62 views

Transaction fails when attempting to initialize an auction program using Anchor

I've deployed a program to devnet that lets me create English auctions, and I'm trying to create an auction from my next.js frontend. This is the program I'm using. The process I'm following is ...
Mike's user avatar
  • 125
1 vote
0 answers
280 views

Bypass TransactionExpiredBlockheightExceededError

So, i've been trying to send multiple addresses my token using Javascript (@solana/web3.js and @solana/spl-token). Sadly, the same error occurs multiple times, ...
Ellen's user avatar
  • 11
0 votes
0 answers
17 views

Seed Constraint Program Error For Dynamic Account Creation

I have an instruction where on the client-side, I'm passing down a game_id to the instruction to be used as part of the seed because this instruction will be called a lot when new game instances are ...
Brian M.'s user avatar
  • 121
0 votes
0 answers
48 views

Transcation error

I am unable to send token and unable to unstake and withdraw my Pyth token My SOL has 0.33 SOL but it shows transcation error.
Alan's user avatar
  • 1
1 vote
1 answer
1k views

Program Error: "Instruction #4 Failed"

I sent usdc from binance to backpack wallet and got Program Error: "Instruction #4 Failed" https://solscan.io/tx/...
mykolaiko's user avatar
0 votes
1 answer
122 views

My wallet can't send sol to others and can't mint nft

I met a problem my sol address can't send out sol to another wallet but can send it into it, and my address can't mint nft. Really don't know what's with it. Really strange. My address is ...
user9385's user avatar
0 votes
1 answer
172 views

getProgramAccounts - error when calling

Good day to all. I encountered this problem. When I call getProgramAccounts I don't get a response but an error. Tell me, maybe I’m doing something wrong? My task is to get a list of tokens - am I ...
Seva's user avatar
  • 1
0 votes
0 answers
89 views

Custom program error 0x2e

I an trying to send a transaction to RAYDIUM V4 program to remove liquid from an Liquidity Pool. However, I encountered an error with code 0x2e. From here: https://github.com/raydium-io/raydium-amm/...
Bach Kim's user avatar
2 votes
2 answers
179 views

createInitializeMintInstruction() ----> error: invalid account data for instruction using

I am trying to use the "createInitializeMintInstruction()" using JS to create a token. The problem is when executing, it throws an error. Concretely this one: Transaction simulation failed: ...
lauteriust3's user avatar
1 vote
1 answer
102 views

Send transaction error

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1....
yupigs's user avatar
  • 23
1 vote
1 answer
68 views

Error with sending money

I connected the wallet to my test site, enter the amount for the test payment and click the button, after which a window is displayed and confirmation where it says "That the confirmation period ...
yupigs's user avatar
  • 23
0 votes
1 answer
23 views

solana$ ./cargo test => "error: test failed, to rerun pass `-p solana-cli --test program`" : arguments passed solve nothing

I have a problem when testing the solana chain. I successfully built the solana repo, but after if i do a ./cargo test, i fall on this error: error: test failed, to rerun pass `-p solana-cli --test ...
DavisX's user avatar
  • 3
0 votes
1 answer
179 views

solana$ ./cargo build => "error: linking with `cc` failed: exit status: 1"

I try to install the Solana chain locally but when I execute the ./cargo build command, i fall on this fail: error: linking with `cc` failed: exit status: 1 But if I do a ./cargo build --release i ...
DavisX's user avatar
  • 3
4 votes
1 answer
2k views

error: package `solana-program v1.18.1` cannot be built because it requires rustc 1.72.0 or newer [duplicate]

I tried setting up an Anchor project on my MacBook with an ARM processor, but I encountered an error. Here is step by step that i took % anchor init testproject Only x86_64 / Linux distributed in NPM ...
Quoc Le's user avatar
  • 41
3 votes
1 answer
289 views

'please minimize large stack variables' error on building hello_world

I am trying to run hello_world example and I'm getting this error during building: $ cargo build-bpf Error: Function ZN112$LT$solana_program..instruction..InstructionError$u20$as$u20$...
klipakt's user avatar
  • 31
3 votes
1 answer
821 views

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 ...
kingkong's user avatar
0 votes
1 answer
192 views

getRecentPrioritizationFees is not a function ; solana web3js

I am not able to figure out what is going on.. I am using @solana/web3.js version 1.89.1 (latest) . What am I doing wrong here? Based on this doc, the usage seems to be fine Anyone? Here is my code ...
mesnia's user avatar
  • 13
1 vote
1 answer
261 views

Solana Program failing "An account required by the instruction is missing"

I am currently playing around with Solana Playground and have come across an error that I can not seem to fix. I have written a program for native Solana in Rust with a little help from GPT4 which has ...
Dr. alx's user avatar
  • 11
0 votes
0 answers
81 views

Transactions on a new token get Error: Provided owner is not allowed

I am looking at transactions for newly listed live new pairs tokens on solana. On solscan.io, I have noticed some early transactions for a few tokens (within the first few seconds of the liquidity ...
Ishaq Ruhani's user avatar
1 vote
1 answer
2k views

transaction results in an account (0) without insufficient funds for rent

I am experiencing an error with Solana Phantom Wallet while using the wormhole. transaction results in an account (0) without insufficient funds for rent My balance contains 1000usdc and I also have ...
이강인's user avatar
0 votes
0 answers
44 views

{logs: Array(8) programErrorStack: em stack:failed to send transaction:failed to send transaction:Transaction Instruction 2:Program failed to complete

use anchor_lang::{ prelude::*, solana_program::{clock::Clock, hash::hash, program::invoke, system_instruction::transfer}, }; mod constants; mod error; use crate::{constants::*, error::*}; //...
Charbel Nakouzi's user avatar
1 vote
2 answers
136 views

You cannot/should not initialize the payer account as a program account

I'm creating a basic staking contract and just trying to initialize the pool where the reward tokens will be held. I'm receiving the following error: TryingToInitPayerAsProgramAccount. Error Number: ...
blockchief's user avatar
5 votes
1 answer
400 views

How to reduce stack space usage for Anchor programs?

It's common to run into these errors during compile time Stack offset of 6344 exceeded max offset of 4096 by 2248 bytes, please minimize large stack variables or these errors during run time Program ...
Richard's user avatar
  • 580
0 votes
1 answer
141 views

solana playground: Reason: Program failed to complete

I am currently getting into sc development and playing around a bit. Basically I wanted to create a counter where anyone can call the decrease or increase func and modify the value. I think my current ...
Sebastian_B's user avatar
0 votes
2 answers
201 views

Error: IncorrectProgramId at transferCheckedWithFee

import { Connection, Keypair, PublicKey, SystemProgram, Transaction, clusterApiUrl, sendAndConfirmTransaction, } from '@solana/web3.js'; import { ExtensionType, TOKEN_2022_PROGRAM_ID,...
Benny's user avatar
  • 1
1 vote
1 answer
150 views

Issues with Using AnchorSerialize and AnchorDeserialize Traits

so I'm looking to create an instruction that creates an account called GamePot that contains a field called TokenInfo that holds the data for what is meant to be any particular SPL token with a mint ...
Brian M.'s user avatar
  • 121
0 votes
1 answer
109 views

Getting different Buffers in Solana transactions. The front-end and back-end transactions are different

I have a Solana dApp that requests tokens from a wallet that I own. When the user try to claim the Tokens, one transaction is created on the frontend and signed by the user; the signature is coded and ...
ZuckOFB's user avatar
2 votes
1 answer
84 views

Error during installation

Installation fail of Solana CLI on Windows 11. Program 'solana-install-init.exe' failed to run: The file or directory is corrupted and unreadableAt line:1 char:1 + C:\solana-install-tmp\solana-install-...
Yasushiko's user avatar
1 vote
1 answer
537 views

Anchor build errors due to 'getrandom' and 'let...else'

Anchor Version - 0.27.0 Solana Version - 1.14.19 Rust/Cargo Version 1.70 returned to my solana dev server for first time in a while. Start a project with anchor init, and attempt to build the hello ...
Davie Clark's user avatar
3 votes
1 answer
315 views

ValueError: signature error: Cannot decompress Edwards point

I use example in docs solana for python from solders.keypair import Keypair from mnemonic import Mnemonic mnemo = Mnemonic("english") words = mnemo.generate(strength=256) seed = mnemo....
Leo Loki's user avatar
  • 392
0 votes
1 answer
119 views

How to pass values to Anchor error messages

Is there a way to pass values to Anchor error messages that can be read by Anchor clients? Ex. How would I pass the value of data.data below? If this is not possible, what is the best way to retrieve ...
programmer_b's user avatar