CPI ERROR - Error Code: InstructionFallbackNotFound
I'm getting an error when trying to do a cpi:Program log: AnchorError occurred. Error Code: InstructionFallbackNotFound. Error Number: 101. Error Message: Fallback functions are not supported.i've the...
View ArticleHow could I use any rust RSA crate at anchor for encrypt/decrypt?
I want to decrypt some encrypted RSA payload at the anchor program. So I've tried to cargo add some RSA libraries such as rsa, ring, and openssl. But when I tried to build the anchor, it all failed. I...
View Articlecan anyone help me increase solana transaction fee? or increase transaction...
here is my codesasync sendSplTransaction(wallet, {to, value, mintAddress, decimals, fee}) { const recipientPubKey = new PublicKey(to); const mintPubKey = new PublicKey(mintAddress); const bigValue =...
View ArticleHow and WHEN are fees deducted in execution?
I've been trying to find out more about where and when exactly fees are deducted. ie) it seems that here in the process of sanitizing txs (post sigverify, dedup) that there is an initial fee deduction...
View Articlesolana public node das api
I am looking to run solaana node, with digital assets standard api component, but wanted to understand how is public node setup to provide the api methods, what plugin/components are used for setting...
View ArticleMY PHANTOM WALLET HAS STOLEN
This is my solana adress BF2evyFgDF6bz5wquFA7XqcGbAYd2RzdkQiPGZCtubR4Even if i have not approved any transaction, all my assets have ben transferred to another wallet. How is this possible? can you...
View ArticleHow to get live price in dollar for any Solana tokens?
I'm working on a Node.js bot using the Raydium SDK. My goal is to fetch the price of any token on the Solana blockchain, given its address, and display the updated price in the terminal every second. I...
View ArticleIs this function checking if a blockhash has expired using wrong calculation?
The following function to check if a blockhash is expired is from QuickNode. But is it wrong?async function isBlockhashExpired(connection: Connection, lastValidBlockHeight: number) { let...
View ArticleSolana wallet address
I'm currently working on a project with a partner, and I need some assistance.Could someone guide me on how to automatically assign a Solana wallet address to users immediately after they sign up on my...
View ArticleCreate multiple accounts from one seed using Python solders library
I want to create multiple accounts related to a seed derived from one mnemonic.What I want to achieve is to import multiple Solana addresses from one mnemonic, looking like this (not my wallet):This is...
View Articleprotoc failed: bundle.proto: contains proto3 optional fields #57
I am facing an issue when running cargo build in the jito-labs/searcher-examples project. The error message I receive is:"called Result::unwrap() on an Err value: Custom { kind: Other, error: protoc...
View ArticleMempool transaction Stream
I want to listen to the Solana mempool for a MEV bot. I was checking out Jito for this purpose, but it appears to be deprecated. How can I listen to the mempool transaction information on Solana now...
View ArticleStruggling to setup a Validator
I've recently began setting up a Solana Validator via an Amazon EC2 instance. I understand in the long-term, it is an inefficient strategy and once I launch it properly, I am switching to a data...
View ArticleWho should sign the transaction when new account is initialized?
Why is the counter account key signing the transaction and not the user wallet? await program.methods.initialize() .accounts({ counter: counter.publicKey, user: provider.wallet.publicKey,...
View ArticleHow to process Solana pay deeplink/ qr code on testnet?
I am using typescript with node and returning my Solana responses using a telegram bot. I want to simply do a transfer using a deep link from Solana pay to the provided wallet address. I have...
View ArticleHow to fetch data for all tokens listed on Raydium in the past month?
For some reason, I've recently taken on a task that requires me to collect data on all tokens listed on Raydium in the past month and perform analysis. However, this is my first time dealing with...
View ArticleSolana NFT Minting fails with Phantom Wallet: 'Failed to simulate the results...
I'm trying to mint an NFT using Candy Machine UI v3 on the Solana network, but I'm encountering errors when attempting to confirm the transaction in Phantom Wallet. Here are the...
View ArticleArgument of type 'PublicKey' is not assignable to parameter of type 'Provider'
I wanna write a client to call program already deployed in devnet, below is the main part of my codeconst idl = require('../idl/idl.json');const wallet = useAnchorWallet();// Create the providerexport...
View ArticleHow to fix error Macro not expanded: proc macro crate is missing dylib
Somebody knows how to get rid of the error "Macro .... not expanded: proc macro crate is missing dylib"?I am getting that error on pretty much every anchor macro since I have installed the newest...
View ArticleError: memory allocation failed, out of memory. When using dynamic seed in...
I am getting and memory allocation failed error when I am passing in a dynamic seed for my account initialization.This is how i use it:pub fn chop_tree(ctx: Context<ChopTree>, counter: u16,...
View Article