How to implement a wallet button using web3.js v2
I have been using sveltekit + @solana/wallet-adapter-base, @solana/wallet-adapter-phantom to build my solana frontend dapp, this is not good because they depends on web3.js v1 which depends on bs58...
View ArticleIs there a solana cli for the terminal like eth-cli?
I have a solana private key and I want to make a send transaction and check balances with it. Is there a Solana cli command that can do this? eth-cli works well with ethereum since I can pass in the...
View ArticleHow do I keep my wallet connected and refresh the page without reconnecting?
https://solana-labs.github.io/wallet-adapter/example/ How do I keep my wallet connected and refresh the page without reconnecting?
View ArticleUnable to run solana Hello World program in WSL
I have been following Josh's DevBox video to get started with Solana. In WSL environment, I did all the process, but at the end while executing npm run start, it comes up with Segmentation Fault.Any...
View ArticleUse candy machine in anchor program
Are there examples of calling candy machine and candy guard prgoram from an anchor program?
View Articlehaving issues with the token programme ID when trying to send SPL tokens from...
I'm trying to perform a token transfer using postman with the script I have, I want the script to be my backend server for token transfers in my unity game.I have tried multiple debug logs attached to...
View ArticleSwap in raydium without pool keys
Does anyone know if there is any way to do a SWAP between SOL and a specific token on Raydium without having to make a time-consuming request to the endpoint...
View ArticleCompressed NFT with attributes
Is there a way to add attributes in metadata to compressed NFT?
View Articlemy solana program keeps exeeding the allowed size limit for some reason. I've...
I am running such a basic script and it keeps throwing this error. I have been dealing with it for days and cant figure it out. please help...
View ArticleHow can I write unit tests with a future timestamp?
I have an ICO program created using Anchor, and I want to test with a future timestamp. How can I write unit tests with a future timestamp?
View ArticleSendTransactionError: Simulation failed
I am trying to update metadata for my coin but after running my ts file (below) I get the following error. I have all the dependencies. I also have enough Sol in my wallet. Not sure what's causing...
View ArticleHow to find the TPU forwards port of a validator node?
How do I determine the TPU forwarding port of a validator? Is there like a predetermined offset for this? Thanks!
View ArticleUnable to pass in switchboard randomness data
i want to upload switchboard randomness data,but i cant read the randomness_data.reveal_slot it's always 0this is my codeInstructionpub fn process_commit_randomness(ctx:...
View ArticleFTX how to get NFT back
How do I get my nfts back from the FTX bankruptcy payout in US.There is no way to view or get access to the NFTs I purchased on the site FTX before it's downfall.How do I get them back.
View ArticleHow can I connect to Solana TPU via C#?
Trying to implement TPU Client over MsQuic.Here is my code:var quicClient = await QuicConnection.ConnectAsync(new QuicClientConnectionOptions{ DefaultStreamErrorCode = 0x0A, DefaultCloseErrorCode =...
View ArticleError: Invalid bool: 142
Recently I usually got this error, when fetch or getOrCreateAssociatedTokenAccount or send tx to solana devnetError: Invalid bool: 142 at WrappedLayout.decodeBool [as decoder]...
View Articlewhat is the `address_labels` field in the CLI config.yml for?
In the solana cli config file (~/.config/solana/cli/config.yml) there is a address_labels array field. By default, it includes the system program.What is this field for and where are the labels...
View ArticleLinker error when trying to run cargo test for the CLI in agave repository
Im trying to run the tests in https://github.com/anza-xyz/agave/tree/master/cli using cargo testBut i'm getting some linker errors:--- stderr ld: warning: -bind_at_load is deprecated on macOS ld:...
View ArticleUnderstanding uses of on-curve token accounts
I'm trying to understand the specific differences between token account creation methods, and the differing implementation details between apps. Specifically, why a token account in a transaction would...
View ArticleSeeking Long-Term Developer for NFT and Token Projects**
strong text: Seeking Long-Term Developer for NFT and Token Projects*Hello,I am looking for a skilled developer to collaborate with on several long-term projects focused on NFTs and token development....
View Article