why "Transaction references a signature that is unnecessary" warning, and...
I was playing with counter program in program-example repo.When run test, I got warning: Transaction references a signature that is unnecessary, only the fee payer and instruction signer accounts...
View Articlefind pump.fun tokens lanched on radium
What method would you use to find all projects/tokens pump.fun has launched? Im trying to understand the logic to even start to put something together. I use python to identify new liquidity pool...
View ArticleHow 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 ArticleProgram corrupted when using Bitcode serialization
I was going through the process of filling out the Solana Serialization Benchmarks and tried adding Bitcode as an option for serializing/deserializing accounts. However, whenever I compile and deploy...
View Articlewhat is the `solana_frozen_abi` crate
what is the solana_frozen_abi crate and what is it used for?I've seen it here:...
View Articlehow to mint nfts with metadata in reactjs javascript
This my package.json file:{"name": "sol-final","version": "0.1.0","private": true,"dependencies": {"@babel/plugin-proposal-private-property-in-object": "^7.21.11","@metaplex-foundation/js":...
View ArticleSwaps on devnet with raydium
I have been trying raydium-sdk and raydium-sdk-v2.I am stuck and can't find a way to test swaps on devnet,specifically I can't find pools on devnet.In the sdk-v2 I got it working with the raydium.api...
View ArticleWhat's the purpose of this check "!(Account.info.owner == SystemProgram &&...
Account checks that Account.info.owner == T::owner(). This means that the data type that Accounts wraps around (=T) needs to implement the Owner trait. The #[account] attribute implements the Owner...
View ArticleHow to Track New Token Listings and Prices on the Solana Blockchain...
I'm building a simple application to track new token listings on the Solana blockchain, along with their current prices. I want to retrieve information such as the token name, token address, and...
View ArticleSolana PumpFun CreateToken: Instruction references an unknown account
I created a js code for creating a token on via the pumpfun program:const GLOBAL = new PublicKey("4wTV1YmiEkRvAtNtsSGPtUrqRYQMe5SKy2uB4Jjaxnjf");const SYSTEM_PROGRAM = SystemProgram.programId;const...
View ArticleToo many debug prints causes out of memory
For convenience, my program uses a lot of statements likemsg!("var: {:?}", var)Eventually, this leads toProgram log: Error: memory allocation failed, out of memoryIs this because format! allocates...
View Articleproject-8-token-lottery: Error InvalidSecpSignature when run anchor test
I am very grateful for your knowledge to be shared. Through the knowledge you share I learn many new and very interesting things.while practicing project-8-token-lottery. I get an error when running...
View Articlehow to mint nft with metadata in solana reactjs javascript
import { createUmi, signerIdentity, generateSigner, createSignerFromKeypair } from "@metaplex-foundation/umi";import { mplTokenMetadata, createAndMint, TokenStandard } from...
View Articlenewly created SPL-tokens are not displaying in phantom
I created some SPL-tokens via spl-token create-token ..., and applied some metadata (name, symbol, description, image) via metaboss create metadata .... They appear correctly on solscan, but are not...
View ArticleCan I change the null MINT authority of my spl-token if I am the...
Can I change the "null" MINT authority of my spl-token if I am the updateAuthority of the token?Or just can update the metadata?
View ArticleHow to prompt an EOA to sign a Solana transaction from Telegram App
I am wondering if it is possible to have a user sign a transaction directly from Telegram?For example, to max approve the game tokens to be moved by an escrow account, is it possible to prompt a users...
View ArticleError in @metaplex-foundation/js
these are my npm version{"name": "sol-final","version": "0.1.0","private": true,"dependencies": {"@babel/plugin-proposal-private-property-in-object": "^7.21.11","@metaplex-foundation/js":...
View ArticleProgram addEventListener does not detect event being emitted
program.addEventListener("GameResult", (event, game, res) => { console.log("EVENT: ", event, game, res)})Sometimes it registers the event, sometimes it does not. I don't know what the hell is going on.
View ArticleNeed a good Solana RPC
Where can I get Solana free RPC/public RPC? I tried looking on google but got different answers with varying results - Tien
View ArticleHow to generate pub and pubkey in json string format using command...
How to generate pub and pubkey in json string format using command solana-keygen grind,solana-keygen command generate and puts in json file, that i want to avoid
View Article