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

How exactly can I find if "Liquidity" is locked or unlocked for an SPL token?

I am using Node.js with Typescript.Websites like RugCheck.xyz do this. We paste a token that tells us how much liquidity is locked for that particular token. I was told that it depends on how much of...

View Article


How do we access Solana's Devnet explorer?

Is there a Blockchain explorer for Solana Devnet? Or can everything be searched on Solscan?

View Article


How to debug error {"code":-32603} on solana

I learned solana via soldev.app and I tried to pull source code from: https://github.com/Unboxed-Software/solana-movie-program.git (branch: solution-add-comments) and deploy to testnet.After deploying,...

View Article

How to get inputs, outputs and amounts from logs?

If I subscribe to the logs event, I get logs like this:{"jsonrpc":"2.0","method":"logsNotification","params":{"result":{"context":{"slot":263296582...

View Article

How can I listen to incoming transactions to my wallet?

I am using solana web3js and have a public key for my wallet.I want to console log every time someone sends me SOL. I’m interested in the amount of sol, and the public key of who went me the sol.Is...

View Article


Unexpected error while signing transaction if fee payer is set

basically i got api endpoint that creates few transaction like:Wallet A -> Wallet B andWallet B -> Wallet Abasically im just creating transaction on backend, serializing with...

View Article

Fetching all signatures of a address

getSignaturesForAddress fetches max 1000 signatures at once, and to fetch all signatures of a particular address, this process becomes sequencial, is there any way to parallelize fetching?

View Article

Authority in Solana

I'm quite new in Solana, so please confirm or deny:If i make a call to any program having following addresses in the list:my account as signertoken address of any status (read/write)my token account...

View Article


How to find LP tokens and Burning LP tokens? - Solana - Raydium

First question: Where or how to find LP tokens after adding liquidity on Raydium?Added some liquidity to Car Coin on Raydium for testing purposes. First I added .59 sol, then .29 sol. The pool was...

View Article


How to give up metadata update permission for spl token via solana api?

I have created spl token , I now want to lock the metadata so that no one can update him. I tried to do it using the following code but received the error “‘Program log: Error: Invalid...

View Article

Cannot read properties of undefined (reading 'array') TypeError: Cannot read...

I am getting this error while minting the collection :-import { createContext, useState } from 'react';import { useAnchorWallet } from '@solana/wallet-adapter-react';import { Connection, PublicKey,...

View Article

Why the pump.fun sell transaction doesn't have a system transfer instruction...

https://solscan.io/tx/5FeGPX14zLB3vYoJKSGa8miKSj7hRicmZAacmkb7GJocx2Q6PE7Sazrz6tTzotJZ6oBiKm6XYF3zoVnG6FoqHodnThe transaction has instructions for paying fee and swapping the SPL token back into the...

View Article

spl-token transfer to multiple wallets using smart contract

I want to transfer spl token to multiple wallets using smart contract.this is my contract:use anchor_spl::token::{self, Token, TokenAccount, Transfer as...

View Article


Solana OnCurve / OffCurve

I don't understand the whole curve thing.I was trying to generate vanity addresses using the solana cli. I created a keypair, then derived the pubkey from it using solana cli. Now if I check solscan...

View Article

Deploying program fails after checking transaction status. Error: 122 write...

For several days I couldn't deploy program because of the same reason everyone fails. In 5 retries you can't deploy it. I changed Solana Cli source code in order to increase max retries number (you can...

View Article


How to Convert from Account

Please help me convert from ->#[account(mut)]pub user_token_source: Account<'info, TokenAccount>,into ->/// CHECK: Safe. user source token Account. user Account to swap...

View Article

How to prevent RocksDB from growing?

I'm running a local devnet node and try to prevent RocksDB from growing indefinitely. It currently occupies around 750gb. Which configuration parameter do I need to set to limit db size? This is how I...

View Article


solana wallet phanton hacked can't seem to do anything anymore

I got my solana wallet hacked, using sanctum. 2 of my pets was drained and rest of my coins I cant really do anything. can someone help...

View Article

Monitoring the latest Price

I need help getting the latest price of a token.I am working on a sniper bot where users buy and sell the token at a specific price. I need to constantly monitor the current price, and if it matches...

View Article

Token for people paying Car insurance

People are forced to pay this and I know that insurance you’re supposed to have money gathered together, so why not just submit your statement and get token that would be honored by many awesome...

View Article
Browsing all 7855 articles
Browse latest View live


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