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

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


How to get the pool balance and pool token balance in past epoch

Is there a way to read pool balance and pool token balance in past epoch?(for given pool public key)

View Article


Why does the USD value no longer appear for a certain token in the phantom app?

It used to be accounted for in my wallet balance and show the value when sending to others but not anymore. Why might this have happened?

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

Transaction input args deserialization

How can I deserialize the input args on Solana if I know the data structure and the "Instruction Data Raw"?Example...

View Article


Image may be NSFW.
Clik here to view.

How to determine whether a token's liquidity is locked or burned?

can someone tell me how to use the Solana/web3.js or Raydium SDK to determine if a token is burned or the liquidity is locked? What is the main idea? I've tried a few things, but none of them workI...

View Article

Deserialize transaction input data with publickey

How can I deserialize input args with publicKey inputs?Full Code:const borsh = require('borsh');const bs58 = require('bs58');const schema = { 'struct': { 'discriminator': 'u64', 'mint': "publicKey",...

View Article

Error processing Instruction 1: custom program error: 0x1772

I'm using trying to execute swap txn on pump.fun.I've generated the instructions using Solana SwapFor some reason, sometimes I am getting this error...

View Article


Why my usdt withdrawal from phantom wallet didn't arrive to Bybit

I withdrew 9,999 usdt Solana from phantom wallet to Bybit exchanger but it didn't drop yet while the transaction is successfully completed

View Article


Image may be NSFW.
Clik here to view.

How can i close mint feature?

Hi i made a spl token how can i add a feature that I can't mint tokens anymoreI following officiall document I faced with this part But as you see supply should be zero! for example i minted one...

View Article

Is internet with 1gbps enough to run a node?

So as the title suggests, will 1gbps be enough or will my node lag? Given that hardware is not a bottleneck.

View Article

Unable to Build Rust Program with jupiter-core Dependency for Swapping SOL to...

I started learning Solana very recently and right now I'm trying to perform a swap transaction to swap SOL to USDC.I found out that there's a Jupiter DEX and I'm trying to use its library. But weirdly,...

View Article

How can i fetch all the address lookup table accounts created by an...

For my particular use case i need to create an address lookup table for every user , I could not find any function that returns the address table created by an account(payer)

View Article


Anchor CPI within the same program without passing the program

When calling a CPI that calls another instruction in the same program, you need to pass the program into the program, which is awkward. For example, removing this_program as an account here causes the...

View Article

SPL Token-2022 - How to modify transfer fee configuration for an existing mint?

The documentations show how to initialize a new mint with a transfer fee, using createInitializeTransferFeeConfigInstruction().My question is how to modify the transfer fee configuration later?...

View Article


getRecentPrioritizationFees is not a function ; solana web3js

I am not able to figure out what is going on.. I am using @solana/web3.js version 1.89.1 (latest) . What am I doing wrong here? Based on this doc, the usage seems to be fineAnyone?Here is my code...

View Article

Anchor: Initialize token mint with metadata and extension transfer fee

I would like to initialize in my Anchor program a new token to mint with extension transfer fee and metadata. It keeps return error InvalidAccountData when invoke initialize_transfer_fee_config, i...

View Article


‘ please minimize large stack variables’ error while running anchor build...

I have encountered an error when compiling a Solana smart contract using Anchor build on a Mac M1, while it works fine on Linux Ubuntu.➜ solana-auction git:(master) ✗ solana --versionsolana-cli 1.18.8...

View Article

Solana.py error: Invalid account data from instruction

from spl.token.instructions import transfer, TransferParamsfrom spl.token.constants import TOKEN_PROGRAM_IDfrom solana.rpc.api import Clientfrom solders.pubkey import Pubkeyfrom solana.transaction...

View Article

Decoding an instruction for a token on the spl token program

Hello you may have seen my last post, Error : TypeError: Cannot read properties of undefined (reading 'equals')This is a follow up to that post.I decided to experiment more with...

View Article
Browsing all 7855 articles
Browse latest View live


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