Query pubkeys that reference lookup table
Is there a way, and if so how would one go about querying for all pubkeys that reference a specific lookup table for a transaction?Ex:...
View Articlesolana -ud gossip | grep does not show anything on devnet
it's my first time posting anything on stackexchange, so please ignore any mistakes I make.I am trying to run a validator node on solana devnet. The node is working fine:solana -ud gossip | grep...
View ArticleHow to install Solana with Docker on Mac?
I'm using a Macbook trying to run this DockerFile from Solana Playground with docker compose up.################# BASE RUST INSTALLATION TO USE IN OTHER STEPS #################FROM ubuntu:22.04 as...
View ArticleCannot import @coral-xyz/anchor package into React app project
I can't import Anchor into my freshly create React web app template. Why is this happening? These are my steps to replicate below. I think somebody else was having an issue with this as well hereCreate...
View ArticleI 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...
View ArticleIf I'm already checking that the associated token account is owned by the...
I was surprised to see this logging appear when my transaction was executed:"Please upgrade to SPL Token 2022 for immutable owner support"Leaving aside my surprise at the fact that the Associated Token...
View ArticleAccountDidNotDeserialize. Error Number: 3003
I have a pda which I tried to increase the space without closing it first and not using realloc,Is it possible to close this account without facing the Error Code: AccountDidNotDeserialize. Error...
View Articleusing solana-sdk in no-std environment
I am writing a client side application using the solana-sdk to create/sign transaction in a no-std environment. Since a lot a dependencies in the solana sdk and/or the dependencies of dependencies and...
View ArticleHow to get historical solana events?
I'd like to be able to get all the events emitted for a given smart contract, let's say Mango Markets(just an example): 4MangoMjqJ2firMokCjjGgoK8d4MXcrgL7XJaL3w6fVg.What I've tried (using python here,...
View Articlehow to verify a signature message on a solana contract
Are there any examples available? I would like to verify the signature on a contract. I hope to achieve something similar to the following:fn verify(message: &[u8; 32], sig_bytes: &[u8; 64],...
View ArticleHow do I get connect wallet button working with Wix?
I'm using wix to develop my website and i tried to use it as dapp, but integrating a connect phantom wallet button doesn't work. Code is this:<html lang="it"><head><meta...
View ArticleRaydium Liquidity Pool API call && calculation of price
I have a problem regarding the calculation of a Raydium pool price.(https://github.com/raydium-io/raydium-sdk)Raydium API Request for Liquid Pool V4 SOL/USDC.import { Connection, PublicKey } from...
View ArticleHow to resolve the issue of Phantom wallet wrongly prompting phishing alerts...
Sent an email to the official team, but haven't received a resolution even after a week.
View ArticleSending a single transaction through Jito using Python
Is it possible to send single transactions through Jito (and including a tip) using Python?If yes, any ideas on how it can be done and how should the tip be included in the instructions of the...
View ArticleTransactionExpiredBlockheightExceededError - Signature expired: block height...
This is my function code:async sendAndConfirmTransactionWithRetry(connection: Connection, instructions: TransactionInstruction[], signer: Wallet, feePayer: Wallet = null) { let latestBlockHash = await...
View Articlesolana.rpc.core.RPCException:...
py code:import asyncioimport base64import base58from solana.rpc.async_api import AsyncClientfrom jupiter_python_sdk.jupiter import Jupiterfrom solders import soldersfrom solders.keypair import...
View ArticleI am stuck deploying this, I hope the community knows an answer
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...
View ArticleHow do you decode Raw Instruction Data using Python?
I want to get Sol reserves and token reserves for a newly create pump.fun token. On Solscan, I can see these values in the inner instructions of the tokens creation signature. Heres an...
View ArticleWhat types of successful transactions would incur zero Computer Unit?
I'm exploring the raw dataset and realize that quite a lot of transactions consume zero computer units. Just curious to know what types of successful transactions would incur zero Computer Unit? Are...
View ArticleHow to transfer tokens using transfer hook in Anchor
I'm trying to transfer tokens from my program that has a transfer hook. I keep getting 0x7dc8348c Error.My transfer checked call// transfer the base token from base bank to the payer base token account...
View Article