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

Proper way to interact with BPF_LOADER_PROGRAM in Web3JS

What is the expected way to interact with the BPFUpgradeLoader using the Solana Web3 JS SDK? It appears the web3.BPF_LOADER_PROGRAM_ID is marked as deprecated, but it offers no clear alternative.What...

View Article


How to get my Solana to usd On my card

I’m trying to transfer the money on my Solana to my bank but I don’t know how to.

View Article


Image may be NSFW.
Clik here to view.

How do pool keys for Pump.fun tokens that migrated to Raydium differ from...

I was observing some tokens that are being launched using onProgramAccountChange wss method and I noticed that pool state keys for pump.fun tokens that migrated to Raydium are different than normal...

View Article

How to generate, save, importing a keypair into phantom with solana/web3.js v2?

Steven and John answered on how to generate and save a keypair using web3.js v2.-> see also: How to generate and save a keypair with solana/web3.js v2?I formatted the private key into base58...

View Article

Help me to recover my Solana

I sent Some Solana with 50$ mistakenly from my binance account to backpack Ethereum wallet how can I recover my Solana

View Article


How to retrieve token's deployer and its previous deployed?

How can I retrieve the token's deployer and the previous deployed tokens on javascript or python?

View Article

how to transfer minter's all authority from wallet to contract program?

Normally we create minter / token on program, thereafter, the program owns the mint authority, for example:#[derive(Accounts)]#[instruction(symbol: String, decimals: u8)]pub struct...

View Article

Using solana program with traditional frontend-backend

I am building a system that requires the client to pay for the transaction. Once the user has successfully paid for the transaction, my backend will give the user some Web2 benefits.The main problem...

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


Token Metadata creation fails

I have a UI to create Solana Token and upload Metadata to IPFSUploading to IPFS works sending the fee for token creation worksbut when mint accounts are being created transaction fails and also when i...

View Article

Python code for Solana PDAs

I want to use PDAs in solana but there doesn’t seem to be any way of doing it with python. I looked to the Solana CLI library with no luck. Any ideas?

View Article

Websocket or Geyser to monitor many accounts

I'm looking to monitor 500+ accounts to do periodical operations and use the most recent data when there is a change on them (processed commitment). I'm wondering if websockets are actually the best...

View Article

Parsing Token Program Transactions

I'm currently working on monitoring the Solana Token Program with the address TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA.My goal is to filter out specific events, namely Token Mints, Token Burns, New...

View Article


How to resolve "this dApp could be malicious" warning in Phantom?

Phantom shows the following warning:This dApp could be malicious. Do not proceed unless you are certain this is safe. If you think this is incorrect, reach out at review@blowfish.xyzI sent an email to...

View Article

My token appears as unknown and its data does not appear (token name)

I have created a token in Solana, but in Dexscreener and in the wallet it appears as unknown.https://solscan.io/token/2Gr2tBomBKdp8tT5fesB8PRqKxs2HkapPQYJ9oTj1YtBI have created liquidity at par with...

View Article


Need help with determining what is truly a buy transaction

I have been creating a node.js script that watches for buy transactions and I'm having some difficulties. I am fairly new to the Solana RPC API, so some of the data contained within RPC responses such...

View Article

How can I get the bonding curve address for a pump.fun token?

I know that I can go through transactions and get the bonding curve address from buy/sell/create functions but I'm wondering if there is a way to do it through account info or something easier? I'm...

View Article


Why when I want to swap my ethereum on phantom it says I done have enough

I have 500 dollars in my phantom wallet but I want to swap my ethereum to other criptos and when I want to swap my cripto, the phantom app says I don’t have enough ethereum when I do.

View Article

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

Historical 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 Article
Browsing all 7855 articles
Browse latest View live


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