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 ArticleHow do we access Solana's Devnet explorer?
Is there a Blockchain explorer for Solana Devnet? Or can everything be searched on Solscan?
View ArticleHow 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 ArticleHow 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 ArticleHow 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 ArticleUnexpected 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 ArticleFetching 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 ArticleAuthority 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 ArticleHow 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 ArticleHow 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 ArticleCannot 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 ArticleWhy 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 Articlespl-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 ArticleSolana 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 ArticleDeploying 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 ArticleHow 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 ArticleHow 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 Articlesolana 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 ArticleMonitoring 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 ArticleToken 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