Quantcast
Channel: Recent Questions - Solana Stack Exchange
Browsing all 7939 articles
Browse latest View live
↧

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 Article


Not 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 Article


How 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 Article

My 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 Article

Solana 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 Article


Image may be NSFW.
Clik here to view.

Failed 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 Article

I'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 Article

Is 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 Article


Mint 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 Article

Checking 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 Article

Wallet 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 Article

How 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 Article


What 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 Article

Build 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 Article


sent 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 Article

Transaction 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 Article


Support 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 Article

how 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 Article

Instruction 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
Browsing all 7939 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>