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

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 Article


solana -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 Article


How 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 Article

Image may be NSFW.
Clik here to view.

Cannot 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 Article

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...

View Article


If 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 Article

AccountDidNotDeserialize. 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 Article

using 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 Article


How 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 Article


how 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 Article

How 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 Article

Raydium 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article


Sending 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 Article

TransactionExpiredBlockheightExceededError - Signature expired: block height...

This is my function code:async sendAndConfirmTransactionWithRetry(connection: Connection, instructions: TransactionInstruction[], signer: Wallet, feePayer: Wallet = null) { let latestBlockHash = await...

View Article


solana.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 Article

I 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 Article


How 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 Article

What 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 Article

How 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
Browsing all 7894 articles
Browse latest View live


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