Top new questions this week:
|
Where does solana keep track of the latest version of rust that can be used with a given version of solana-program or solana-cli? I’ve looked in this file before but the specific version number has …
|
This is a question regarding my stake account, not my regular SOL wallet. I am aware that rewards that are collected automatically and re-staked. However, my question has to do with how that happens. …
|
I am using solana and phantom in an application I made with React. how can I turn off simulation here. if (!publicKey) throw new WalletNotConnectedError(); const balance = await props….
|
I am trying to fetch all accounts owned by my program using all() method but it is giving me this nasty error: Uncaught (in promise) ReferenceError: Buffer is not defined at AccountClient.all Code: …
|
I’m i am new to Solana ecosystem and having a problem with SMS. I am trying to use anchor methods inside example-react-native-app . i am not able to find any documentations on how to interact with …
|
I’m trying to deserialize the ED25519 program, but the struct I derived does not tally with the bytes in the instruction data (buffer) github.com/solana-labs/solana/blob/master/sdk/src/…
|
What I have tried I’ve previously used the @web3/solana npm package, but ended up having to create my own (private) library due to using a niche language. Here is what I’m trying to do: Serialize and …
|
Greatest hits from previous weeks:
|
Using TS and there is the code: let nftMetadata: any[] = []; let allMetadata: any[] = []; const owner = new PublicKey(publicKey); const allNfts = await metaplex.nfts().findAllByOwner({ owner: …
|
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 …
|
For getting balance I use connetion.getBalance(publicKey). Is exists way to get balance of keys list in one call, something like getBalances(publicKeys)?
|
I have not changed anything in my code that used to run without this error. The transactions, once approved, still work fine. The warning I get from phantom wallet is: Unable to simulate. Make sure …
|
Currently, we have code that could end up generating a lot of Mints in PDAs. We want users to be able to close these out as they’re not neccessarily meant to stick around forever, but is that even …
|
const privateKey = ‘REDACTED’ const secretKey = Buffer.from(privateKey) const keypair = Keypair.fromSecretKey(secretKey, {skipValidation: true}); const connection = new Connection(…
|
I’m trying to submit a transaction on my app, which works with different wallets such as Solflare, but if I try to use Phantom I always get the error message: You waited too long to approve the …
|