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

Not sure why Stake Pool Stake / Withdraw and Raw Transactions both suddenly...

I woke up this morning to a nightmare. Neither Stake or Withdraw worked, transfer not working and I checked my wallet and my pool tokens had absconded (noticeably none of my SOL was gone so I don't...

View Article


Transaction Error: "Instruction #3 Failed - invalid program argument"

I’m facing an issue while trying to send Solana using the Phantom wallet. The transaction fails, and the Solana explorer shows the following error:Program Error: "Instruction #3 Failed - invalid...

View Article


Multi ATA Accounts for token distributions

How to create ATA account using SPL-TOKEN? Already have minted tokens and would like to distribute in different wallets according to tokenomics

View Article

How to burn LP on Solana with CLI?

I am a new dev on Solana, I just added liquidity to my token and want to know how or where to burn the lp tokens. Does Solana have a burn mechanism? Is there a burn or dead address like Ethereum that I...

View Article

Best Approach for Buying New Tokens on Solana Chain from a Server Node

I'm researching the best approach for buying new tokens on the Solana blockchain and would appreciate your advice. I intend to execute this from a node on the server side.I understand that Project...

View Article


MPL token metadata via CPI — cannot provide verified creators, signing error

I'm trying to create a token and its metadata using CPI (anchor lang). Everything works except verifying creators.Transaction is first created in backend, on client side it is signed and backend signs...

View Article

Unstaking from Phantom wallet

I am wanting to unstake my SOL from phantom. I have unstaked, and it is now sitting inactive. Whenever I click to withdraw stake, nothing happens the wheel keeps spinning.Anyone have any idea what is...

View Article

Anchor: Cargo Build Failed to install platform-tools

I get this error when running anchor test:**uanadev@DESKTOP-ED77BQ8:~/workspace/temp-project$ anchor test[2024-09-11T00:53:29.312271366Z ERROR cargo_build_sbf] Failed to install platform-tools: Unable...

View Article


Solflare wallet suspiciously attempts to reconnect whenever the account...

everyone.I have noticed some suspicious behavior of solflare wallet.After I connect solflare to the website, it reconnects doubtfully again and again.I think reconnecting is triggered after target...

View Article


Failed to install platform-tools

Im in mac and having issue running** cargo build-sbf --force-tools-install[2024-11-12T20:08:10.629521000Z ERROR cargo_build_sbf] Failed to install platform-tools: HTTP status client error (404 Not...

View Article

Tx on Solana not working despite having Jito and really high tx fee

Does anyone know what we are doing wrong? Our tx's just keep failing over and over again, even though our fees are the same as on other platforms like Phantom etc, our instructions are also almost...

View Article

Image may be NSFW.
Clik here to view.

Swap API - Balance change is not displayed when using Jupiter swap API

I'm using jupiter quote/swap endpoints to get transaction string. https://www.quicknode.com/docs/solana/swapBut when signing transaction, wallets don't display balance change at all, even though it...

View Article

Image may be NSFW.
Clik here to view.

anchor_lang::Owner` is not implemented for `anchor_spl::token_interface::Mint

use anchor_lang::prelude::*;use anchor_spl::token::Token;use anchor_spl::token_interface::Mint;declare_id!("FtUL5xL7oZasB5zaDUETbeHs9jcf9gopQD3Z1V92YyKv");pub mod constants { pub const VAULT_SEED:...

View Article


What is faster and more efficient for a swap on Solana: using an aggregator...

When implementing a swap via code on Solana, is it faster or more effective to use:A swap aggregator like Jupiter, orA priority fee (tip) with Jito (using raydium)?Does this choice affect the...

View Article

How to parse Program data in transaction logs

When check transaction log of https://solscan.io/tx/3TZeRWjoJ3W2tqTFB4QZRuwAEKCoYryCD2CLtwPXH4EdkaQHbpor7ndJ3FD9KYzb9ff66eKVRB1LeN4a9UzQVYRCI see:Program data:...

View Article


How to reuse the same guard in mpl-candy-machine when minting NFTs

When minting an NFT from candy machine, I want to force users to make multiple payments (so that creators could receive fees from mints).But it seems like reusing the same guards with candy-guard...

View Article

not enough signers

pip install solana==0.35.1 pip install solders==0.21.0def send_transaction_via_rpc(private_key_base58, transaction_base64, latest_blockhash):try:# Decode the Base58 private key and create a...

View Article


Basic examples how to use solana web3.js version 2.x and above

a beginner typescript developer here. I tried to get started with the web3.js library on version 2. But all the documentation I can find is for version 1.95.5 or older. And literally nothing works as...

View Article

How do I create a Solana RPC connection using TypeScript/JavaScript?

The Solana RPC offers several methods you can call to read and write from the network. How would I use @solana/web3.js in TypeScript/JavaScript to create a connection against which I can call these...

View Article

Withdraw SOL from Mint Authority Account

I have some SOL in my previous mint authority address and need to recover the SOL amount. Doing normal withdraw does work.Public Key: 5C6cHYWVy6MddjETvUawDNCESzQcKayNQCniQWPfb2z5Balance: 0.605292...

View Article
Browsing all 7950 articles
Browse latest View live


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