1,387 questions
0
votes
0
answers
9
views
Solana validator `in_errors` and `rcvbuf_errors` keep creasing, can't catch up
I'm running an validator, but after two days, still can't catchup the latest slot and keep downloading snapshots, I found the in_errors and rcvbuf_errors are always high and keep increasing, not sure ...
0
votes
1
answer
60
views
how to solve cargo build-bpf / anchor build error on wsl ubuntu latest version
error: failed to parse lock file at: /home/totdking/SolanaUbuntu/token_raffle/Cargo.lock
Caused by:
lock file version 4 requires -Znext-lockfile-bump
This error was gotten while i tried to run the ...
0
votes
0
answers
7
views
anchor deploy devnet ConnectionReset
I tried to use anchor deploy, but it kept failing anchor deploy error.
Deploying cluster: https://api.devnet.solana.com
Upgrade authority: /Users/wencanma/.config/solana/id.json
Deploying program &...
0
votes
0
answers
28
views
Error when fetching pool keys from Raydium_py Solana
I’m working with a public GitHub repo (you can find it here: https://github.com/AL-THE-BOT-FATHER/raydium_py) that interacts with the Raydium decentralized exchange using Python. I’m trying to fetch ...
-3
votes
0
answers
25
views
How to get the token account in Solana?
I am trying to get token account for this.
#[account(mut)]
pub nft_info: Account<'info, TokenAccount>,
I used getAssociatedTokenAddressSync(), but there is an error.
Error: AnchorError ...
1
vote
1
answer
15
views
How to build solana project dependency artifact for integration tests?
I have a project A - which depends on integrating with project B.
I am setting up Rust based integration tests (using solana-program-test) and want to deploy project B of some version (say it's in ...
-6
votes
0
answers
56
views
Solana wallet address [closed]
I came across an I idea.
and for that I need list of top 1000 wallet address of solana network by ranked by amount that wallet has
And I've tried custom LLM on my machine to generate code it gave me ...
0
votes
0
answers
33
views
Did anyone occur the error when building a anchor program w/ metaplex Core?
Recently, I am working on a toy project to learn Solana blockchain, Metaplex Core and NFTs. Everything went well until I try to use the feature called "Oracle plugin", provided by Metaplex. ...
0
votes
1
answer
28
views
Why are emit_cpi calls prefixed with e4 45 a5 2e 51 cb 9a 1d (hex)?
I keep seeing this pattern where if a function in an Anchor program uses emit_cpi it is always prefixed with the 8 byte discriminator e4 45 a5 2e 51 cb 9a 1d.
I'm aware that Solana Anchor programs ...
-1
votes
0
answers
62
views
How to retrieve order book for newly created tokens in Solana network using python?
How to retrieve order book for newly created tokens in Solana network using python? Everything points to the Serum API, but I am getting errors when trying to import PublicKey from the Solana library. ...
2
votes
1
answer
146
views
Token swap error 0x26 InvalidSplTokenProgram raydium-sdk-V2-demo
I am trying to execute a token swap on Solana using the Raydium SDK and GPT, but I keep encountering an error when I attempt to send the transaction. The error is related to the InvalidSplTokenProgram,...
0
votes
1
answer
24
views
No swapTransaction found in response. Error: No swapTransaction found in response. Solana
This is my code, how can I solve the swap problem?
import requests
import base64
from base58 import b58decode
from solana.rpc.api import Client
from solana.transaction import Transaction
from solders....
1
vote
0
answers
56
views
get List of Token created by wallet user on solana
I am currently trying to fetch the tokens which are created by user on solana. so i came to helius,
i am using Helius to fetch all assets
i need only token which are created by user not the NFTs, so i ...
2
votes
1
answer
225
views
unexpected `cfg` condition value: solana
I'm trying to make a smart contract with Solana and build it using Anchor on WSL, but everytime it always gives a target_os warning like this:
warning: unexpected cfg condition value: solana
--> ...
0
votes
1
answer
54
views
Timeout Errors in Jupiter API
In my code made it with Node js
const executeSwap = async (quote, telegramId) => {
try {
logger.info('Starting executeSwap function');
const wallet = await getWallet(telegramId)...