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

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 Article


Make 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 Article


System 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 Article

How 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 Article

adding todo: SendTransactionError: Simulation failed

adding todo: SendTransactionError: Simulation failed. Message: Transaction simulation failed: Error processing Instruction 2: custom program error: 0xbc4. Logs: [ "Program...

View Article


Close 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 Article

Where can i use solidity to deploy apps on Solana?

I need to know whether I can use Solidity to deploy apps on Solana.

View Article

cargo-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 Article


Image may be NSFW.
Clik here to view.

cargo.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 Article


How 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 Article

If 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 Article

Brought 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 Article

AccountDidNotDeserialize. 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 Article


using 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 Article

How 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 Article


Import 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 Article

Image may be NSFW.
Clik here to view.

Borsch 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 Article


hi 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 Article

Solana 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 Article

Error: 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
Browsing all 7894 articles
Browse latest View live


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