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

How to Transfer Sol from External Wallet to Connected Wallet in React

I hope you're doing well. I'm currently working on a React app where users can withdraw rewards to their connected wallet. I want to ensure the security of the process and avoid exposing the private...

View Article


How to subscribe (listen) to SPL token transactions with full data using...

I've searched a lot and can't find a solution. I want to track SPL token swap transactions to calculate the token price and get information about wallets. I found several solutions, but still have...

View Article


Network mismatch

I am trying to send a transaction on devnet network but for some reason I keep getting the error "Network mismatchYour current network is set to Devnet, but this transaction is for Mainnet. Switch to...

View Article

Program Error: "Instruction #3 Failed - Account is frozen"

An error occurred when I purchased the IQ50 from birdeye. I tried several times but it still didn’t work.

View Article

can't connect to my local when doing hello world on rustc

solana program deploy C:\Users\kamba\OneDrive\"Рабочийстол"\blockchain_assignment_2\solana-hello-world-localError: RPC request error: cluster version query failed: error sending request for url...

View Article


Solana Program Deploy command failing due to llc text sections Error

The deploy command is failing. How can I fix this error. I found no documentation about this error. After running cargo-build-sbf in my hello_world test project I get this error:$ solana program deploy...

View Article

Problem installing @solana/spl-token @solana/web3.js

I want to deploy and interact with a NFT solana program.As recommanded by the documentation I am using this code...

View Article

Image may be NSFW.
Clik here to view.

JavaScript Metaplex - TypeError: Cannot read properties of undefined (reading...

I installed metaplex (latest, down to 0.8.10) in a new Vite React app (TypeScript), and when using the createUmi function, it is erroring out with:TypeError: Cannot read properties of undefined...

View Article


I am intializing PDA in anchor and getting the following error

transactionLogs: ['Program CYtc2hrkhfgH3CFP1VZNn4wm1voHL9JZjTndUc5Jiw8d invoke [1]','Program log: Instruction: DepositeToken','Program CYtc2hrkhfgH3CFP1VZNn4wm1voHL9JZjTndUc5Jiw8d consumed 3224 of...

View Article


can't launch validator node: Failed to start validator: "PoH is slower than...

trying to start a validator node, getting following error:Failed to start validator: "PoH is slower than cluster target tick rate! mine: 676597124 cluster: 400000000."the node itself has 64 cores and...

View Article

Program logged: "Error: memory allocation failed, out of memory" custom...

I was working on a custom candy guard with the Candy guard program from MetaplexAfter Changing the size of my guard, I get the following error> Program logged: "Error: memory allocation failed, out...

View Article

How can I implement something like mapping in solidity with anchor?

In solidity, I can use mapping(address=>string) to store a name associated with an address. I am hoping to do the same with the anchor.

View Article

What was the solana mainnet launch model?

Just a qq about how the chain got started in 2020. What was the launch model? i.e. at genesis was there a small group of trusted validators from the community/devs/investors who ran validators and then...

View Article


get newly created liqudity pools

I've had a problem for a few days trying to get access to new pools as quickly as possible. I've tried to take data from mainnet.json on raydim but it works once a minute and it's very slow compared to...

View Article

`Event doesnt exist` error when integrating anchor wallet on expo app

When attempting to sign a transaction as anchor.Wallet in a react native expo app for a solana program, the error Property Event doesnt exist is given

View Article


declared program id mismatch

We copied a solana program from a youtube vid. The program id : Ecr5UgGyJTnKraLRPYBXrK9RD7DfoVDYfSioVksnnfjA is this one. We copied it and deployed it on our own and here is what we got. program id :...

View Article

Initializing PDA (Program Derived Address) for the Token Swap Program keeps...

I want to find and initialize a PDA for Token Swap Program https://spl.solana.com/token-swapIt keeps throwing this error: transactionMessage: 'Transaction simulation failed: Error processing...

View Article


Fees understanding

I have a few qustions regarding fees:Default CU price is 0, so a payer doesn't pay for used CUs?Does a payer pay for enire CU limit, or only forCUs actually consummed. For example, if the CUlimit is...

View Article

Do programmable NFTs by default enforce royalty? Or do we need to add custom...

How to make sure that royalty is enforced in pNFTs. Do we just mint with ruleset: null because enforcement is implemented by default? Or do we have to explicitly mention any ruleset there?

View Article

How do I store text data in an account

I am trying to store small amount of metadata in an account but it always throws validation error. Do I need to create a custom program because of that? I am new to web3 kinds of stuff.const secret_key...

View Article
Browsing all 7855 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>