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

Sending transaction that expiry early instead of 150 blocks validity

How do I send transaction which only valid for next X blocks, instead of default 150 blocks / ~ 1 minute (https://solana.com/docs/core/transactions#recent-blockhash).I need the transaction to fail...

View Article


Assistance Needed for Updating Locked Metadata Due to Duplicate/Spoof Token...

Hello Solana Community,We are facing an issue with our Kenji Meme Token that we just found out after troubleshooting many issues. We found out that shortly after minting, a duplicate/spoof token was...

View Article


How can I initialize an SPL token mint using anchor_client?

If I want to create an spl token without anchor in rust, I can do this like described here. How do I do it using the anchor_client crate?

View Article

Image may be NSFW.
Clik here to view.

Solana coin locked in my phantom wallet. I cannot send to another address

So, I mistakenly clicked a fake pumpfun link on Twitter which redirected ne to phantom wallet. I signed and realized my solana ( 12 sol ) is locked. I cannot send to another address. I checked the...

View Article

Rust 'target is not supported' error when solana-program version at or above...

If I run any program with the solana-program dependency set at or above 1.10 I get the following error:error: target is not supported, for more information see:...

View Article


Image may be NSFW.
Clik here to view.

Error in installing anchor?

I don't know what is the problem here ?!

View Article

Batch Transfer SPL Token that has Token transfer extension enabled

Is it even possible to batch transfer an SPL token that has a Token transfer(token fee) extension enabled?I would Like to create a program which takes the destination wallet from a JSON file and...

View Article

Limit what programs can call my anchor program via CPI

Is there a way I can write an anchor instruction to only allow it to be called via CPI by a certain set of predefined programs?

View Article


Don't understand what wrapped SOL is

"Wrapped SOL (wSOL) is native SOL that is wrapped using the Solana Token Program, which allows it to be treated like any other SPL (Solana Program Library) token type."What comes with a token being...

View Article


Image may be NSFW.
Clik here to view.

SNS SDK "Program Panicked" when registering a Devnet domain

When trying to get started with the SNS JS SDK, attempting to register a new domain in DEVNET produces an error.const createDevnetDomain = async () => { const [, ixs] = await...

View Article

Image may be NSFW.
Clik here to view.

Hide transfers in solana program transfer rust

Hey i managed to create some proxy for sending spl tokens and sol tokens. However when you go to solscan you can see all of the transfers however i saw that it's possible to hide this transfers somehow...

View Article

Portal Bridge block height exceeded

I've got a transaction stuck in portalbridge wormhole for the last 20 hours. is there a way i can increase the fees? or is there a technical issue? i'm getting "signature has expired: block height...

View Article

How to initiate a transaction in a specified block in polygon

Referring to these two transactions, transactions initiated by two different addresses can have the same block. Is there a way to do...

View Article


How to get NFT total supply?

I would like to store the total supply of an NFT collection on-chain. However it seems this value is not in the collection metadata. How can I then obtain this value on-chain ?

View Article

How to revoke freeze authority of spl token?

I create token and check token info, here is detail:{ mintAuthorityOption: 1, mintAuthority: PublicKey [PublicKey(BqqZ2km43V9WqLqSFYejNi87JfmmbBxi1MmyuGCLejkp)] { _bn: <BN:...

View Article


How can I airdrop Solana when running anchor locally?

If I want an airdrop on devnet, I can just do solana airdrop <amount> <address>. What if I have a local cluster running with anchor localnet though, how do I airdrop then?

View Article

how to decode the instruction data raw

for example:here is the transaction https://solscan.io/tx/4Rh5uqvNXGydLKSRbgJX8ESsNEXdQDntHELtK7shRSUVTxuhkpitSnx2KLXt3usZ6nySBw4DXvEQVS7nV6z3ZoRVI get the transaction detail and gain the instruction...

View Article


Why does `getBlockTime` return a `i64`?

If I check the getBlockTime RPC call, the description for the return type says:i64 - estimated production time, as Unix timestamp (seconds since the Unix epoch)Why is this not a u64? There can't be...

View Article

websocket "onAccountChange" is getting historical data

After subscribing to websocket for "onAccountChange" (this is real time changes, no historical data):I am receiving data from accounts that haven't changed in monthsI am receiving strange account data...

View Article

How to keep sol and spl both as collateral In solana escrow program in...

So i am using anchor escrow program. Now how can i keep sol as collateral in program. Also my phantom wallet does not show the amount of sol being kept as collateral

View Article
Browsing all 7855 articles
Browse latest View live


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