Top new questions this week:
|
I wanted to input for Vec in solana playground ide can anyone help on this
|
What makes the v2 transactions of Solana better than the original? How can we use these transactions using solana/web3.js lib?
|
When running anchor test on a fresh project without any change, I got following error: Unable to get recent blockhash. Test validator does not look started. Check {} for errors. Consider increasing […
|
I am trying to use connection.sendEncodedTransaction() to send a signed Tx encoded to base64 like this: const base64Tx = signedTransaction.serialize().toString(‘base64’); console.log(‘encodedTx:’, …
|
Running anchor test for the bpf-upgrade-state example program while on localnet results in the following error Error: AnchorError caused by account: program_data. Error Code: AccountNotInitialized. …
|
what is the maximum size of a program that can be rented on solana. And can I rent more when needed ?
|
I have no coding experience other than taking some classes in college almost 8 years ago. I’m planning Solana, but I heard I have to learn Rust first. TBH I’d rather take the fastest route since I run …
|
Greatest hits from previous weeks:
|
I am trying to create associated token accounts for SPL Transfers and I keep running into Provided Owner not allowed. I have never seen this error before and I am checking to make sure the token …
|
The Solana protocol frequently activates hard forks shipping new features, such as syscalls, builtin programs, or fee changes. Each feature is tracked in an account of the feature program. Who is …
|
Why is Transactions Per Second (TPS) used as measure to indicate the Solana network performance? In my opinion TPS depends on traffic in general. If nearly nobody is using the chain, the TPS is low. …
|
I probably am doing something really stupid but this basic thing doesn’t seem to work for me for this scenario. I checked the other questions similar to this one but they are either different …
|
Given a specific public key of a wallet, how do I get all NFTs that wallet owns?
|
I know what procedural macros are. They are like decorators, they add new functionality or properties into the decorated code. #[account(init,payer=user,space=9000)] pub base_account:Account<‘info,…
|
I have the following example private key: 4YFq9y5f5hi77Bq8kDCE6VgqoAqKGSQN87yW9YeGybpNfqKUG4WxnwhboHGUeXjY7g8262mhL1kCCM9yy8uGvdj7 It’s paired with the address: …
|
Can you answer these questions?
|
I’ve heard different things from different people on this front, but i’ve been looking into trying to keep api details (keys, rpc end point urls etc) hidden in a react front-end application. I’ve made …
|
I need to reliably validate in an API whether a call to the Solana program made by a user has been successful. I use the confirmTransaction function (in devnet) as follows: import { web3 } from “@…
|
#[derive(AnchorSerialize, AnchorDeserialize, Clone, Copy, PartialEq, Eq, Debug)] #[repr(u8)] pub enum Stage { Initiated, // user has paid Processing, Processed, Finished, } #[derive( …
|