Top new questions this week:
|
I am using @solana/wallet-adapter-react How can I check what network I am on? because I want to show an alert to users that they are on devnet and should switch to mainnet
|
I’m currently exploring priority fee in Solana transaction, so I’m wondering should I add the setComputeUnitPrice as the first instruction or the order doesn’t matter? Extending the concept, the order …
|
If I a have a Connection object from web3js, is there a way I can determine from this if it is operating on mainnet or devnet (or some local network)? The only thing in this direction I could think of …
|
Similar to stackoverflow.com/questions/69701491/add-meta-data-to-solana-token-with-solana-web3-js, however, the only answer for that question is in Rust and the question asker ended up moving …
|
Signing using glow wallet is not working with @solana/wallet-adapter-react , I am getting the signature as 11111111111111111111111111111111111111. import { useWallet } from ‘@solana/wallet-adapter-…
|
One example will be the SyncNative instruction in Token Program – it gives the ATA but I want to retrieve the owner.
|
I was developing without issue on devnet and then decided to deploy to mainnet. Suddenly the same instruction that used to work on devnet gave rise to the following on mainnet Error: failed to send …
|
Greatest hits from previous weeks:
|
I am trying to figure out why createAssociatedAccount does not work. This is the code: const SendTransaction = ({ children }) => { const { connection } = useConnection(); const { publicKey, …
|
I was downgrading and upgrading my solana and anchor version in order to deploy my programs to devnet. And while doing that after a time my anchor broke. I removed rust and re-installed it and anchor …
|
const privateKey = ‘REDACTED’ const secretKey = Buffer.from(privateKey) const keypair = Keypair.fromSecretKey(secretKey, {skipValidation: true}); const connection = new Connection(…
|
I’m currently trying to initialize a selling resource and can’t get past the masterEdition attribute. Whenever I try to fetch the masterEdition PDA using the referenced seeds [“metadata”, …
|
I am struggling with creating a program that creates an Associated Token Account (ATA) for a mint I created. I am using the anchor_spl::associated_token for the task. Here is my code: use anchor_lang:…
|
I’d like to sign a message via Phantom (How to verify a signature from the Phantom wallet?), and then have a smart contract verify the signature of the message to be from the correct public key. From …
|
I want to use Geyser plugins but I need to know do I need a power full computer in order to run a validator or RPC node? if yes what are the hardware requirements ? The estimated requests per month is …
|
Can you answer these questions?
|
I have come across this stack frame error so i decided to Box few of my account. But when i try to Box some of the Accounts like recent_blockhashes switchboard_program i get this error. I am not sure …
|
Describe the bug Mobile Wallet Adapter transaction error. Expected behavior failed to send transaction: Transaction signature verification failure OS: Android 13 Browser Chrome Mobile 109.0 …
|