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

Transaction Error: Signature Verification Failed: Missing Signature For...

I'm building a transaction on devnet that previously worked when I tested my program. I don't think it's the program itself, but how I am passing down the signatures which is slightly different from...

View Article


How transfer SPL tokens from PDA to usual account in clean RUST?

I have PDA created in JS this way:let [pda, bump] = await PublicKey.findProgramAddress( [baseAccount.publicKey.toBuffer(), Buffer.from('1', 'utf8')], programIdPublicKey);baseAccount is a usual Solana...

View Article


Low latency in RPC node (~30 seconds delay)

I am trying to develop an snipe bot but when detecting new pools from Raydium I detect them between 20-40 seconds after creation.I have tried with QuickNode and Helius RPC nodes, but I don't see a big...

View Article

Vec sorting doesn't work

It's a bit Rust question, but the type I used was anchor's Vec<Pubkey> type, so came here to ask. Here is the code.pub fn set_tokens(&mut self, tokens: Vec<Pubkey>) ->...

View Article

Why am I receiving slot change updates in batches?

I'm listening to slot changes and I noticed I'm receiving the updates in batches, meaning I receive a bunch of them almost at the same time, then wait 1-2 seconds and I receive another bunch. Instead,...

View Article


How to simulate transaction at specific slot

Given a connection and a VersionedTransaction I can simulate the tx using web3js like so:await connection.simulateTransaction(tx, config)here config is of type SimulateTransactionConfig:type...

View Article

My fund is showing on dex but not in my wallet

Good morning to you,It’s been months since I used the Kamino protocol through the phantom app,I deposited Sol to Kamino,and I borrowed usdc against it,but I don’t seems to see the usdc reflected in my...

View Article

Image may be NSFW.
Clik here to view.

Anyone programmed a DAO platform for co-ownership mechanism and with...

We are building a fully decentralized AO called SOuLful AO or SAO. Anyone who register, vote and locked in by milestones will become co-owners of the project itself and will receive their % earning....

View Article


bs58.encode is not a function

I was going to generate Solana wallet with @solana/web3.js and encode keypair.secretKey to base58 with "bs" package.. but I got an error: TypeError: bs58.encode is not a functionconst keypair =...

View Article


Subject: Help Needed: Stuck USDT Transaction on Solana Network and...

Hello Solana Community,I am in urgent need of assistance with a complex issue involving a stuck USDT transaction on the Solana network and a compromised Phantom wallet. Here’s a detailed account of...

View Article

Is there an Solana Multisig Wallet (not solana cli), to sign an transaction...

I need to withdraw MNDE from marinade.finance, but the owner wallet has anothet nonce authority.I have the keypairs of both wallets (owner and nonce authority of the owner).Is there and wallet to...

View Article

When I try to add metadata to my spl token on my Mainnet coin

For some reason when I try adding metadata to my spl token it never works, I’m using the program id TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb and when I try to add metadata using my mint address it...

View Article

Trying to get the amounts of SOL swapped into a tx of a Token Account

For 3 days I've been trying to create a function that fetches all the swap txs made on a Token Account.I'm able to get back all the txs made but not to fetch inside it to get back the swap details.When...

View Article


WordPress website Phantom wallet, user account creation plus payment

I’m creating a website specifically WordPress. I need to know if there is a plug-in or some type of code etc.I want users to come to my website and create account using a Phantom wallet. Also, I want...

View Article

cargo build works but `cargo build-bpf` and `anchor build` fail with...

I am working on a Solana program and facing issues building my project. When I run cargo build, the build completes successfully but doesn't generate the required .so file for deployment. Additionally,...

View Article


How to create a staking program for my own Token on Solana

I would like to launch a new SPL token on Solana.I would like to add a new feature : a staking programm.Basic functionality:Stake the $TOKEN to earn more $TOKENI have 2 questions:Do you know some tools...

View Article

accountUnsubscribe ande Subscribe error: Tried to call a JSON-RPC method when...

@solana/web3.js in "connection" class internally controls websockets status, but it doesn't show websocket status externally. So, it is not possible check for example "connection.status" before trying...

View Article


Unable to withdraw whETH from Psyfi whETH Covered Call Vault

I am unable to withdraw my whETH from Psyfi's vault. Attempts to do so show the following error message on Phantom "This transaction reverted during simulation. Funds may be lost if submitted". Solscan...

View Article

How to create PDA with solana CLI?

I see how I can create a PDA then use this PDA to call my program with the JS client, but how can I do it with the solana CLI ?solana create-address-with-seed "test"...

View Article

Need some guide or snippet, demo to transfer SPL token out from program's PDA...

My goal is to have my own program receive any Token, store in one of PDAs of program. Then transfer they out to end user wallet.Currently I successfully send token to program's PDA, but still not able...

View Article
Browsing all 7994 articles
Browse latest View live


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