Top new questions this week:
|
The documentation regarding Boxed accounts is a bit scarce: “Box type to save stack space. Sometimes accounts are too large for the stack, leading to stack violations. Boxing the account can …
|
The question should be straightforward.
|
I’m trying to sign a VersionedTransaction using Solana Wallet Adapter and getting TypeError: Blob.encode[data] requires (length 40) Uint8Array as src My code: const tx = new …
|
First of all can someone explain to me what a discriminator is, in the context of Solana instructions, in simple terms? Second, how can I get the discriminator of an instruction in an Anchor Solana …
|
Is there a simple way to set up a new AnchorProvider to create a new Program without a connected wallet? Below is a workaround by creating a placeholder wallet, is there a better way? // Create a mock …
|
TLDR; How to shutdown a solana-test-validator running in the background? A test I’m running starts a validator with the command solana-test-validator –reset \ -q \ –mint …
|
For example, if I call getAccountInfoWithContext, it’ll return me the account state + the context with a slot number. Is the account state just BEFORE the slot is processed (ie before all txs in the …
|
Greatest hits from previous weeks:
|
Making a simple vestment app: pub struct MakeVestment<‘info> { #[account( mut, seeds = [b”ledger”, vested_tokens_mint.key().as_ref(), beneficiary.key().as_ref()], …
|
Running cargo build on MacBookPro M1 machine for the first time after cloning the solana repository. Error report: ld: warning: ignoring file ./.libs/libprotoc.a, building for macOS-arm64 but …
|
Given a specific public key of a wallet, how do I get all NFTs that wallet owns?
|
I am using anchor and I need to check that two different PDAs have not been initialized. Later on in a different function call I need to check if a PDA has been initialized before closing the account. …
|
When building a Solana dApp, developers need to understand changes in both the active wallet for the current user and in changes to the selected network for that wallet. Changes to the active wallet …
|
I am a newbie to React/Typescript and I am trying to build a DeFi project using the Solana Wallet adapter. From what I can see the wallet adapter comes with a React UI look and feel based on the …
|
I have created a react app, when I try npm run, I am getting this error: ERROR in ./node_modules/@toruslabs/eccrypto/browser.js 9:17-34 Module not found: Error: Can’t resolve ‘crypto’ Dependencies …
|
Can you answer these questions?
|
I need to get a bunch of accounts from localnet. But using getMultipleAccounts stucks how to improve this on test-validator. I’m on localnet so I can’t use RPC providers like Helius or Quicknode.
|
I’m working on a TG bot used for exchange of crypto <-> fiat. Each customer is assigned a wallets which he is to send coins to, however he wants to, priour to receiving fiat. The same wallet …
|
yaaaw is a solana dapp built on the basic escrow program to safely exchange tokens , they upgraded it to work with NFTs and solana and other tokens , you can deposit multiple NFTs in the same …
|