How to filter out closed accounts from the Helius DAS API response when the...
I'm working on a Next.js app and trying to list the content of my wallet using the getAssetsByOwner DAS API method. I have a question regarding the response content when applying display options.I want...
View ArticleMake mint authority the program itself
Is there any possibility to make the program be the mint authority for a mint.I thought about making:mint authority -> PDA derived from programidThat would mean that to mint, only the program...
View ArticleSystem Program Address (2rbMgYvzAb3xDk6vXrzKkY3VwsmyDZsJTkvB3JJYsRzA) Keeps...
I'm working with a custom SPL Token on the Solana blockchain, and I noticed that the system program address (2rbMgYvzAb3xDk6vXrzKkY3VwsmyDZsJTkvB3JJYsRzA) keeps selling my token. However, I never see...
View ArticleHow can my VersionedTransaction that uses a LUT be too large?
I am trying to transfer SPL tokens from 25 wallets to 1 wallet.I have already extended my LUT with all source-and-destination pubkeys-and-ata'sI double checked all accounts are in the LUT.I am...
View Articleadding todo: SendTransactionError: Simulation failed
adding todo: SendTransactionError: Simulation failed. Message: Transaction simulation failed: Error processing Instruction 2: custom program error: 0xbc4. Logs: [ "Program...
View ArticleClose Associated Token Account (token 2022 program) to get back deposited sol
I have created 2 types of Associated Token Account:1, Use token program:https://solscan.io/tx/3BC6yNwcaandgzSgFX4YP1nYopPLsa9RyRdqi4bDmKLpWsjiRqMKRaQaoZhgbBQpEsMhcFLoZwobKMVZvrLuUi6C2, Use token 2022...
View ArticleWhere can i use solidity to deploy apps on Solana?
I need to know whether I can use Solidity to deploy apps on Solana.
View Articlecargo-install-all.sh: ‘bash\r’: No such file or directory (On Windows laptop...
I am new to Solana and Rust, I took latest from https://github.com/solana-labs/solana.gitUnder WSL (Windows Subsystem for Linux),./scripts/cargo-install-all.sh --validator-only .You'd see...
View Articlecargo.toml many versions error? (master + v2.0)
I am new to Solana and Rust, I took latest from https://github.com/solana-labs/solana.gitI open cargo.toml (I tried "master" and "v2.0" branch) from VSCode, many versions errors.Is that to be...
View ArticleHow to obtain the profit and loss percentage of the purchased ca position
How to obtain the profit and loss percentage of the purchased ca position and Get the market Cap of capls help me
View ArticleIf I'm already checking that the associated token account is owned by the...
I was surprised to see this logging appear when my transaction was executed:"Please upgrade to SPL Token 2022 for immutable owner support"Leaving aside my surprise at the fact that the Associated Token...
View ArticleBrought over code from project where all tests are passing, but in the new...
1 failing 1) pvp-amm Is initialized!: TypeError: provider.send is not a function at /home/tomdevito27/pvp-amm/tests/pvp-amm.ts:81:18 at Generator.next (<anonymous>) at fulfilled...
View ArticleAccountDidNotDeserialize. Error Number: 3003
I have a pda which I tried to increase the space without closing it first and not using realloc,Is it possible to close this account without facing the Error Code: AccountDidNotDeserialize. Error...
View Articleusing solana-sdk in no-std environment
I am writing a client side application using the solana-sdk to create/sign transaction in a no-std environment. Since a lot a dependencies in the solana sdk and/or the dependencies of dependencies and...
View ArticleHow do I get connect wallet button working with Wix?
I'm using wix to develop my website and i tried to use it as dapp, but integrating a connect phantom wallet button doesn't work. Code is this:<html lang="it"><head><meta...
View ArticleImport solana keypair into a wallet application
Hello Solana communityI have generated a solana keypair using the solana CLI: The command line:solana-keygen newIt generated the secret 12-word mnemonic phrase (I am not going to share) and my public...
View ArticleBorsch deserialize error
when building i got this error:error[E0277]: the trait bound `initialize_game::InitializeGameBumps: BorshSerialize` is not satisfied --> programs/stake-deck/src/lib.rs:14:1 |14 | #[program] |...
View Articlehi expert, how to modify pda field in my program
i defined a struct:#[account]pub struct AcctEntity { owner_id: Vec<u8>, big_brothr_acct_addr: String, aaa_addr: String, question_nos: String, bump: u8,}after i create it . I want to modify the...
View ArticleSolana mainnet RPC full sync issue
We are syncing a Solana mainnet RPC full node. However, when we check the health status, the gap in the number of blocks behind is fluctuating — sometimes increasing and sometimes decreasing. Do you...
View ArticleError: AnchorError caused by account: monster. Error Code: ConstraintSeeds....
As the title says, I encountered an error while running,hope everyone can help. Thank you very much everyonetest.ts it("spawn monster", async () => { const [gameAddress] = createGameAddress(); //...
View Article