How to get program account of a token without knowing its program id?
I want to fetch a token's program account but I don't know the program id. I only have the token mint address. Is it possible to get it? Thanks in advance.Here is an example. It fetches the program...
View ArticleNot to setup solana rpc node. -2.8 Slots Behind
A little guidance to trobuleshoot this issue would be appreciated. Thanks in advanceServer Specs:CPU: AMD EPYC 7402P 24-Core ProcessorRAM: DDR4 2666MHz 512GB (4 x 128GB 2666MHz RDIMM)Bandwitdth: 1GBPS
View ArticleHow to make NFT with Solana?
I am the designer of a molten salt type solar power plant. I decided to convert my design to NFD and build a metaverse in space in an area analyzed in reality.I don't know how...
View ArticleMy Mint Authority for my memecoin was giving to Systems program...
So I made a memecoin 8 months back, The mint authority was giving to System program 11111111111111. Dextools, Dexscreener,Birdeye.so all show my coin is unmintable,But lately some programs like sol...
View ArticleSolana wallet provider
I'm working on a project and I need help which Solana wallet connect provider to use on my platform. When a user clicks the connect button, it should display options for Solflare and Phantom wallets,...
View ArticleFailed to get recent blockhash, method not found: Connection.getRecentBlockhash
i am creating a NextJs NFT minting App using the React solana wallet adaptor, web3.js, metaplex and umi.I was trying to upload the offchain metadata and keep getting the error that the...
View ArticleI'm using Alchemy for an airdrop, but after completing airdrop, my...
try { let signature = await connection.requestAirdrop( new PublicKey(publicKey), LAMPORTS_PER_SOL ); console.log("Airdrop complete"); await connection.confirmTransaction({ signature, }); // **code is...
View ArticleIs it possible to set up a Raydium LP from on chain using CPI?
i would like my on-chain program to set up a LP for tokens using Raydium (though happy to use something else), but I can't find any reference/docs on whether this is possible.Does anyone know if this...
View ArticleMint Token in token2022 has name, symbol info, how can it? Does token2022...
From my knowledge, Token2022's Mint account is don't have name and symbol...
View Article[Phantom]: Is it actually possible to disconnect your wallet
I have a wallet connection setup where I eagerly connect to the wallet using provider.connect({ onlyIfTrusted: true }). When a user clicks disconnect I call provider.disconnect().Now when they refresh...
View ArticleChecking the generated PDA against the user's PDA input
First of all, I'm new to Solana development (came from an Ethereum background), so sorry if my question is too basic.I'm following the SolDev course, I'm on course state management. I have a confusion...
View ArticleWallet to exchange transfer issue
Please help me get my money back, I transferred a few matic tokens from a phantom wallet to an exchange, almost 17 hrs ago. after inquiring, the exchange tells me you used the Polygon network instead...
View ArticleHow to decode ShredStream data of Jito?
Shredstream provides the lowest latency shreds to any RPC or validator on the networkThis is what it says on Shredstream page, and here is what I do: 1 RUST_LOG=info cargo run --release --bin...
View ArticleWhat can I do about sbf.mk Makefile include seeming to be incompatible with...
I am just getting started with Solana development. I am a C programmer so I am most comfortable with C. I am just using the most basic code to create a shared object file. I am on Ubuntu 22 x86-64. The...
View ArticleBuild a music licensing system using metaplex
hey I am new to solana and blockchain in general. I was hoping to build a project and learn alongside. My idea is to build a music streaming/licensing platform where users can buy rights for usage...
View Articlesent usdt to sol by mistake from stake.com
I stupidly sent my profits from stake.com from usdt to sol and I of course didnt receive it. I checked on solscan and it says completed, but since I gave the sol receiving code it didnt arrive to my...
View ArticleTransaction Reverted on signing Github:...
"use client";import React, { useState } from "react";import { useWallet } from "@solana/wallet-adapter-react";import { web3 } from "@project-serum/anchor";import...
View ArticleSupport for Confidential Transfers in JS libraries?
Is there any support for the SPL Token 2022 Confidential Transfers in the JS libraries? If not, is it planned?
View Articlehow can the solana contract verify that this signed message and the address...
I have signed a message using solana/web3.js. How can I verify in a contract that this signed message and the address are matched?const web3 = require('@solana/web3.js');const messageBuffer =...
View ArticleInstruction references an unknown account...
I have a Rust Anchor program for swapping SPL Tokens. It has three methods: Make, refund and take. Also I have a Next.js frontend app. I want to integrate this Rust Anchor program with Next.js app. For...
View Article