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

Unknown signer in PDA initialization in Anchor

I am having a problem initializing a PDA for a program I am working on. This all all worked before I attempted to add in an authority and require a signer to prevent unauthorized access. In the past I...

View Article


How can I create my solana wallet

I'm new here in Solana. I want to create a wallet so I can send my earnings from hive-mapper and use it for staking, I thought I successfully created a wallet account but it seems I created a community...

View Article


How to view msg! logs

I have msg! calls throughout my program, and have sent a transaction to invoke the program. And now I am trying to view these msg!'s.What I have tried:Solana explorer doesn't seem to show it.solana...

View Article

What Do I Put into a Quote Vault?

I have a platform asset, which I'm using as tying mechanic between a stack of my apps, for login and rewards etc. The problem I am having is working out what to put into the OpenBook Vaults. For the...

View Article

how to generate alignment padding in idl file while running anchor build

zero_copy and repr(c) are used before state struct to handle the over-stack problem.While generating the idl json file by anchor build, no padding field is generated following #[repr(C)] alignment...

View Article


Issue Verifying Off-chain Signatures with ed25519_dalek and salty Libraries...

I'm facing an issue when trying to verify off-chain signatures in my Solana program using the ed25519_dalek library. The same problem occurs with the salty library when attempting to convert a...

View Article

web3.js - Solana tx fails silently

I am using web3.js to send SOL txns, using the sendTransaction method.Sometimes, when I send a txn, the method will return me a transaction address. But when I look it up in solscan.io (even after 5...

View Article

NFTs on anchor tests

I'm trying to use this guide to create an NFT to test with my anchor program. When I attempt to mint the NFT, I am met with the following error.FailedToSendTransactionError: The transaction could not...

View Article


How to charge transaction fee in my token insteed of SOL if any one tranfer...

I'm seeking for help any body can help regarding spl, token, I'm working on app it has in app wallet, if some did dum task I'll provide my token as mining reward, so what I need that, when they...

View Article


Error When Creating SPL Token Account: Incorrect Program ID for Instruction...

I'm new to Solana development and have encountered an issue while trying to create an SPL token account on the devnet using the SPL Token CLI.After creating a new SPL token, I attempted to create a...

View Article

Image may be NSFW.
Clik here to view.

React app with anchor 0.30.1 error: "WalletSendTransactionError: Unexpected...

I started getting this when I began using an anchor program using 0.30.1.Nothing else changed in the client. I am trying to sign with a phantom wallet (has devnet SOL via React frontend). I have anchor...

View Article

Limit of airdrops per day and problem with airdrop program

I'm new to development of Solana and I tried to create AirDrop program. I'm getting problem with amount of SOL that I can request. I run program 3 times and after that I got message that I exceeded my...

View Article

Why can't SOL be sent out of a mint address using "solana transfer" in the CLI?

From https://github.com/anza-xyz/agave/issues/2134 :Create a new fungible mint. Send some SOL to the mint address (and be prepared to lose it!). You can't use "solana transfer" to retrieve it,...

View Article


How do I check if a tx "ACTUALLY" went throught successfully

I am using Python to update a bid on Tensor. And frequently I will get a 200 back from JITO when making these transactions but they dont actually make the change. How could I confirm that these...

View Article

How to enable admin RPC for solana-validator?

i want to call admin RPC methods, eg. "method": "rpcAddress" on the validator, however i'm only getting method not found erros. How to enable admin RPC methods on the validator?solana-validator 1.18.18

View Article


How to get all tokens with a specific supply

Is there any way to get all token on the solana blockchain that have a specific circulating or full supply number (1 000 000 000) for example.

View Article

Image may be NSFW.
Clik here to view.

getSignaturesForAddress not fetching some signatures

Token contract: 6ogzHhzdrQr9Pgv6hZ2MNze7UrzBMAFyBBWUYp1FhitxI am trying to fetch history of transfers for this token.My request:{"jsonrpc": "2.0","id": 1,"method": "getSignaturesForAddress","params":...

View Article


TokenMetadata not an export? ...just following the code in docs

I am following the Solana docs: "Example: Create a mint with metadata"using Javascript.Why does an error say that "TokenMetadata" is not an export"?It also said that this kind of action is only allowed...

View Article

How to set updateAuthority for spl-token in time of mint with JavaScript?

Im using @solana/spl-token to mint a legacy token on Solana (not token2022).The problem is that I cannot set any updateAuthority for it so I cannot set/update its metadata with Metaplex after...

View Article

Mechanics of DEX limit orders

I want to understand how limit orders work on DEXes, for example on Jupiter.The question is: can I place a limit order in the order book and just wait for a sharp sale on the market? Will it be filled...

View Article
Browsing all 8046 articles
Browse latest View live


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