How to run test cases in typescript using native rust?
How can I run test cases in typescript using native rust not anchor.
View ArticleSolana 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 ArticleDetermine 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 Articlewhat 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 ArticleFetching 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 Articlecombine 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 ArticleSPL-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 ArticleNotEnoughBytesError: 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 ArticleUse 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 ArticleVersionedTransaction 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 ArticleWhere 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 ArticleError: 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 ArticleAdding 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 ArticleDifference 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 ArticleAnchor 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 ArticleI 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 ArticleHow 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 ArticlePython 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 ArticleSolflare 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 ArticleHow 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