How do I determine the cause of an "Unknown instruction error"?
I don't know why i cannot move my grass token from Phantom to ByBit wallet, when i do it show me this problem:Program Error: "Instruction #4 Failed - Unknown instruction error"It is not about fee(...
View ArticleSend custom routePlan to Juptier API /swap
Hello dear friends hope everybody is good today ?When following : https://station.jup.ag/docs/apis/swap-api#guide-for-v6-swap-api-code-exampleI can't send my transaction to a jito bundle or normalGet a...
View ArticleDo I need websockets for sendAndConfirmTransaction() in web3.js version 2?
Do I need websockets for sendAndConfirmTransaction()?In web3.js version 1, a websocket connection wasn't necessary. However in V2, sendAndConfirmTransactionFactory() requires an rpcSubscriptions...
View ArticleUnderstand Look Up Tables
I am trying to understand how the Address Look Up Tables work under the hood.I understand that you can include multiple transactions, cause address are kinda referenced by a 1 byte 'pointer' or...
View Articlehow to use web3.js v2 with solana wallet adapter?
how can a web app add the common "wallet adapter" into their application?at least using react since it seems to be the more common javascript framework in the ecosystemsomething like the...
View ArticleTransaction sent with txid in log but no swap happened on Jupiter
I got the quote answer and swap answer and even the signed transaction sent but there's no swap and if i check transaction with solana explorer it says the transaction didnt exists (example of...
View ArticleI completed a transaction buying solana, but it didn’t show up in my wallet
I had recently made a wallet on phantom and purchased solana, i have the transaction history and proof of purchase but it is not showing up in my wallet
View ArticleHow can we make comparisons using clock.unix_timestamps and the time provided...
As you can see below I am trying to place a requirement to make sure a Poll as started and not finished so we can initiate a candidate (had a candidate to a poll).The problem is that the comparison is...
View ArticleHow can i close wsol account
How do I close my wsol account when I have fully redeemed in the Wallet app but still have a little
View ArticleHow to prevent signature replay when using Ed25519 Native Program
If I am using the Native Ed25519 Program to verify a message signature, I will need to add the pre instruction that will contain signature, message and public key to verify. In my custom program, I...
View ArticleAnchor build says "cannot be built because it requires rustc 1.75.0 or newer"...
Anchor Verification Issue: Rustc Version Mismatch in Docker EnvironmentCommand Executedanchor verify 3MRKmmRZ6Fm4tvEEjBZcuGG7nxWVSYCJd83WzmAGqm8JProblem SummaryThe program build fails due to a rustc...
View ArticleSolana Arbitrage Program
Is there any literature on Solana Arbitrage? Point me in the right direction.Can someone explain to me how to build this type of Program.
View ArticleHistorical account state
Is it possible to see account data before or after a specific transaction in the recent past? I have a node with snapshots and everything, but how do I do that? The ledger tool doc seems to require a...
View ArticleIs there a way to regain access to deleted wallet?
Let me start with saying that I made a stupid mistake and I think I already know the answer but I wanted to try anyway.Yesterday I decided to merge all the sol I had on the different wallets (I had...
View Articleunresolved import `mpl_token_metadata`
Error ReportIssue:I am encountering compilation errors when trying to compile my Rust project. The errors are related to unresolved imports and unknown fields in my code.Error Messages:error[E0432]:...
View ArticleNon transferable spl token mint without extensions
Is it possible to create non transferable spl token using old token standard? I guess that would be without usage of token extensions. (TOKEN_PROGRAM_ID)
View ArticleHow do I deserialize the instruction received from swap_instruction from...
How can I deserialize the instruction received swap_instruction from Jupiter API in Python?
View ArticleBuild fails when using rent_exempt = skip in account initialization
I want to skip rent exemption when initializing PDA account with anchor. Sol will be transfer to PDA right after initialization so there is no need to pay extra sol for rent when PDA is initialized. My...
View ArticleHow can I create my solana wallet
I'm new here in Solana. I want to create a wallet so I can send my earnings from hive-mapper and use it for staking, I thought I successfully created a wallet account but it seems I created a community...
View ArticleDecode data from GetAccountInfo in python for a Raydium pair
Maybe my approach is wrong. I'm new to Solana dev.I'm using the Solana mainnet API and I'm trying to get the liquidity pool amounts for a given token pair on raydium.My...
View Article