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

Solana Scaffold project failing to push to remote repo

I'm currently working on the bootcamp 2024 and I wanted to push one of the projects I worked on to my github repo. However, when I try pushing, it takes very long to compress objects and produces this...

View Article


My meme tokens disappeared from my wallet

i Just exchanged SOL for tokens and it went through but now when i check again everything’s gone . and they’re not in thehidden tab or in the block chain

View Article


Error While Running sugar upload in NEW SOLANA token creation

While running sugar upload command from my cli, I see below error-sugar upload[1/4] 🗂 Loading assets🛑 Error running command (re-run needed): Couldn't find an image filename at index 0.I have two files...

View Article

i tried to make a transction on sol chain between two wallet

hello i try to make a app that use solana wallet for connection when i want to make a transaction between two wallet i got this errorindex-DKfn-846.js:104 Error sending message: Error: failed to get...

View Article

Got error when I try to sell token in pumpfun [error=Error processing...

I'm trying to use Typescript to sell and buy in pumpfun but I got an error when I tried to sell ithere is my code//@ts-ignoreconst decimals = mintData.value?.data.parsed.info.decimals;const...

View Article


how to get list of tokens(not NFTs) that are created by solana user

i want to fetch the tokens which are being created by the user.i came across the method .getParsedTokenAccountsByOwner() which is being used to fetch the tokens that is being owned by owner.and what I...

View Article

Getting the pump.fun bonding curve progrress percentage

I am trying to get the information of a pump.fun token, and I want to get the bonding curve progress percentage.but I don't know how to calculate it, is there any API to get the bonding curve progress...

View Article

Solana Purchase via Transak with Apple Pay Not Received in App [closed]

I recently made a purchase of 30 EUR worth of Solana via Transak using Apple Pay, but the funds have not been credited to my wallet within the app.(phantom)

View Article


Депозитчерезперегруженнуюсеть solana непоступилнадругуюбиржу,...

Транзакциябыласбиржи binance набиржу BingX , черезперезагруженнуюсеть solana, вблокчеджепишетчтопереводзавершен , надругуюбиржусредстванепоступили. Чтоподелатьвтакойситуациикаквернутьсредства

View Article


Instruction references an unknown account...

I have this, let bond_purchase_ix: spl_token::solana_program::instruction::Instruction = (PurchaseBondV2 { kyc_account: find_kyc_pda(user.key()).0, user_wallet: user.key(), bond_account,...

View Article

Reallocing one account bigger and one smaller in one ix in anchor gives `sum...

I have the following MRE, where I create two PDAs and realloc them "in opposite directions" i.e. I make one account 1 byte larger and the other 1 byte smaller. Calling this, yields sum of account...

View Article

Token swap using Javascript / NODE with Raydium V4

I'm new here.I've been trying for a few days to use JUST @solana/web3.js in JS/NODE to make a Token Swap with Raydium V4.The only Raydium examples I can find are in TS, which I don't really know that...

View Article

Image may be NSFW.
Clik here to view.

Did I lose crypto by accidentally sending to my own wallet on USDC (sol)

I was trying to send USDC (SPL) on the solana network, and I accidentally sent crypto back to my own wallet without realizing. I thought I copied my friend's wallet address but I guess it didn't...

View Article


how to convert from AccountInfo to UncheckedAccount?

use anchor_lang::prelude::*;use anchor_spl::token::TokenAccount;#[derive(Accounts, Clone)]pub struct InstructionTest<'info> { pub account: Account<'info, TokenAccount>,}pub fn test(ctx:...

View Article

trying to fetch all tokens which are created by walletAddress

hello i have been trying to fetch all tokens created by walletAddress or user.i am trying helius as someone already suggested me to use helius with the getAssetsByCreator function.i need only token...

View Article


Error creating new account using mint

While trying to create new accounts I am having issues. Could be accounts cannot be created after disabling mint.spl-token create-account mntZFtv8SvH6trqeSwvTGPVSXXXXXXXXX --owner...

View Article

Error while installing anchor

I'm getting below errors while installing anchor using commands :-cargo install --git https://github.com/coral-xyz/anchor avm --force-avm install latestErrors Showing:warning: spurious network error (3...

View Article


token swaps on amm supported dexs on solana

i am a new to solana development just started exploring it yesterday before that i am doing development on etherum and other evm compatible chains from last 2 years.i have a question for people who...

View Article

How to convert _bn back to PublicKey in JS?

I have this dict in JS, I want to convert it to PublicKey.const account = {"_bn": {"negative": 0,"words": [ 37883239, 7439402, 52491380, 11153292, 7903486, 65863299, 41062795, 11403443, 13257012,...

View Article

I am having problem in installing solana tool in my PC. ( windows 10 )

So, when i was using this following code while installing :C:\solana-install-tmp\solana-install-init.exe v1.16.14Then I got the error showing "Your system cannot execute this program" or something.Can...

View Article
Browsing all 7869 articles
Browse latest View live