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

How to run test cases in typescript using native rust?

How can I run test cases in typescript using native rust not anchor.

View Article


Solana signature verification for approval

I am developing a Bridge from EVM to Solana and backwards. The EVM flow is following:User wants to make a deposit, the back-end signer builds transaction parameters and signs them offchain. After this,...

View Article


Determine token liquidity lock

I'm tring to determine if a meme coin have this liquidity lock or unlock but i'm struggling. I would like to use python and the rpc ?Someone have an idea ?

View Article

what is the `solana_frozen_abi` crate

what is the solana_frozen_abi crate and what is it used for?I've seen it here:...

View Article

Fetching SPL token address based on token volume

So I'm trying to get a list of all the SPL tokens which have had more than 5M USD in volume, which would be the best way of doing this?

View Article


combine VersionedTransaction[] into one for Actions/Blinks?

ActionPostResponsefrom @solana/actions accepts a "base64 encoded serialized transaction". I have an array of VersionedTransaction[] that I would like to compile as a single transaction for use as a...

View Article

SPL-TOKEN METADATA ISSUE AUGUST 2024

hi, i am new to solana program an i just minted some tokens i would like to update the name and logo and deploy it to the raydium (testing)can someone help with the next stepswhere do we store the...

View Article

NotEnoughBytesError: Serializer [publicKey] expected 32 bytes, got 11 when...

Getting the error below trying to get the asset Id when minting a compressed NFTNotEnoughBytesError: Serializer [publicKey] expected 32 bytes, got 11. at Object.deserialize...

View Article


Use PDA as the authorized account for the token account Failed

I want to create a public wallet (public_account) when I create SPL tokens, and then this wallet holds the original mint tokens, and then others can transfer tokens from through the contract...

View Article


VersionedTransaction issue

I'm trying to do quick swap with solana actions and Jupiter swap API V6. My goal is to swap sol to usdc. Once in a while it works with the same code. As well the simulation goes well. As you can see...

View Article

Where can I find documentation for the raw syscalls?

I would like to use the raw solana syscalls in unsafe blocks in my onchain program similar to how the SDK does it.However, it's a bit hard to figure out what each (C-style) argument means without any...

View Article

Image may be NSFW.
Clik here to view.

Error: Data writes to account failed: Custom error: Max retries exceeded...

I am using QuickNode to manage the RPC Endpoint. The program was closed automatically from the BlockChain and when I try to deploy the same program, it shows me these errors:

View Article

Image may be NSFW.
Clik here to view.

Adding funds to Metaplex BundlrStorageDriver

I am building an app that allows you to upload a photo and mint it as an NFT on Solana. I am trying to add funds to a BundlrStorageDriver object like this:const storage = metaplex.storage().driver() as...

View Article


Difference between authority and owner

From the Solana Cookbook, I can tell from the diagram that an Authority can sign transactions on behalf of the account whereas only an Owner can modify it. I can also tell that ownership can be...

View Article

Anchor test can't start validator, but solana-test-validator works fine

Trying to learn anchor dev, following soldev.app.I have a problem, when I run anchor test, this is the error I get:Unable to get the latest blockhash. The test validator does not look started. Check...

View Article


I have updated my metadata but Phantom is still showing old metadata for my...

I mistakenly minted the same token on the mainnet twice, with the same name, symbol, and logo. A warning message appeared in response to this.Warning! Token names and logos are not unique. This token...

View Article

How to swap in raydium as fast as possible?

Question is on the title; How to swap tokens as fast as possible. I am using raydium sdk but in that, i need lp infos and market info. Can I make a swap without getting them? Or if i need them, what is...

View Article


Python code to swap on raydium

Does anyone have an example of python code to swap on raydium? Without having to search for the pool keys (and having to search the raydium API) this process takes a long time

View Article

Solflare wallet - Swap - Fraud

hoping that you may give me some guidance.1 - I wanted to buy Jupiter Coin which will come live on 31st Jan.2 - In my solflare wallet , I had 3.9 Sol.3 - I used SWAP option and placed my Sol tokens .4...

View Article

How do I use 'solana redelegate-stake' with a Ledger HW?

I created the original stake using SolFlare and my Ledger HW.Now I want to redelegate that stake to a different Vote account.There appears to be a way to do it using the CLIsolana...

View Article
Browsing all 7939 articles
Browse latest View live


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