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

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 Article


How 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 Article


can 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 Article

How 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 Article

solana 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 Article


MY 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 Article

How 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 Article

Is 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 Article


Solana 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 Article


Image may be NSFW.
Clik here to view.

Create 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 Article

protoc 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 Article

Mempool 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 Article

Struggling 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 Article


Who 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 Article

How 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 Article


How 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 Article

Image may be NSFW.
Clik here to view.

Solana 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 Article


Argument 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article

Image may be NSFW.
Clik here to view.

Error: 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
Browsing all 7869 articles
Browse latest View live