Watching wallet
I'm having issue watching wallet on phantom extension on pc. after I paste the address I get error message like 'public wallet is needed' and same wallet if I try it on my phone I don't get the error...
View ArticleLooking for 3rd party API for ACTIVITY_SPL_TRANSFER
I'm a Junior Dev and Senior/Direct Prod Mgr. I'm building signaldancer.com, a DeFi app.One of the features we are building is a pump-dot-fun Raydium deployment watcher. Basically once the raydium pool...
View ArticleHow do I add priority fees to a transaction using the release candidate...
I would like to add priority fees to my transaction but there seems to be no ComputeBudgetProgram in the release candidate version.Usually it would be something like this :const modifyComputeUnits =...
View ArticleCan you explain How memecoin liquidity is calculated
I started a youtube channel for solana memecoins, and want to cover how liqudity is calculated, for example if there is a memecoin with 1 billion supply 1 million market cap and $100,000 in liquidity,...
View ArticleWhy do some meme token addresses end in the word "pump"?
I only noticed this recently. A long address and the end is "pump". But only some of them. Does this have any meaning?
View ArticleIssue with digital-asset-rpc-infrastructure Docker Compose Setup –...
I’m encountering an error while running the Docker Compose setup from the Metaplex digital-asset-rpc-infrastructure repository. I’d appreciate any assistance or guidance on resolving this issue.Issue...
View ArticleSignature verification failed. Missing signature for public key(s) [key1,...
test :import * as anchor from "@coral-xyz/anchor";import { Program } from "@coral-xyz/anchor";import { RoyaltyNft } from "../target/types/royalty_nft";import { TOKEN_PROGRAM_ID } from...
View ArticleAccess Violation in Unknown Section Error
I am trying to build a kind of a complex instruction in which there are lots of accounts and variables. I guess, I can't handle memory well that why there are some errors like "Access violation in...
View ArticleGet Token Metadata (decimals,symbol,name...)
I'm looking to query token metadata by looking up the token address(pubkey or mint). Specifically looking for data around the name, symbol, and decimals. Is there an RPC method for this?How does...
View ArticleHow i can get block slot by block hash
I go through all functions in the API, but I didn't find how can I obtain a block slot number by block hash via Web3js.
View ArticleFailed to reallocate account data
I want to create a PDA account to store data about participants' wallet addresses and their deposit amounts. I have used a PDA account to store this information. It works fine when I set the array size...
View Articlehow to decode data instructions with javascript
upd:https://docs.solana.com/developing/programming-model/transactions#instruction-datahere, my task is to decode this data using jsI tried to solve the issue with this post How to get Solana...
View ArticleHow to transfer SPL-tokens using Rust
I want to add to my smart-contract tranfer SPL-tokens. How i can do that?If I have ATA, receiverATA, mint, amount, decimals.use solana_program::{ account_info::{next_account_info, AccountInfo},...
View ArticleSolana Close program
I wan to close a solana program. I have to check what public key is used to close the program, how can I do that. I have multiple file wallet private keys but i do not know which belongs to it. Is...
View ArticleHow can you check if a SPL token has been modified from the stock Token Program?
How can you check (programatically) that an SPL token has not been extended or modified beyond the standard custom parameters such as Symbol, Name and Supply etc available in an SPL token.I want to be...
View ArticleHow to fetch constants from a program?
So to fetch the current state of given account I'd do:let acc = await program.account.<ACCOUNT_TYPE>.fetch(<ADDRESS>);Programs can have hardcoded constants (which can be changed upon...
View Articlehow to get AccountInfo from serialized data?
Info { data: <Buffer 00 00 00 00 94 f7 95 8c c0 31 ae b3 72 e0 42 65 62 06 ea c6 76 c4 ef ae bb a2 16 bd 87 07 5a 05 10 44 4b c4 2f 29 b5 f7 4c 59 f0 06 09 01 00 00 00 00 ... 32 more bytes>,...
View ArticleError calling initialize function: TypeError: program.methods.x is not a...
So, I'm facing an extremely confusing error.I have a solana anchor program, with 5 functions:{ // console.log(program.methods) initialize: [Function (anonymous)], initiateSwapErc20: [Function...
View ArticleHow do I see the holders of a particular token? [duplicate]
I’m trying to map holders of specific tokens, issue im running into is correct interaction with solana web3.js to get the wallet addressesrather than the token program addressesI want to map the token...
View ArticleAll transaction return "Signature XXXXXX has expired: block height exceeded."
I try to swap USDT to other token through SWAP API but it got the same error.block height exceeded.this is my swap functionasync function handleSwap(wallet: any, coinName: string, amount: number) { if...
View Article