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

sendTransaction() fails with signature must be base58 encode

I must admit I am quite new to Web3 programming in general and Solana is my first.What the program I'm writing is supposed to do:(1) Read wallets with tokens already there(2) Read public keys of...

View Article


I got an Error: InvalidAccountData when I mint token

Please help to fix that error.Error:'Program 6j89j9GECjYQCqu67ayNZKnyzLMGPhGF7yXrFohoWxjG invoke [1]','Program log: process_instruction: 6j89j9GECjYQCqu67ayNZKnyzLMGPhGF7yXrFohoWxjG: 8 accounts,...

View Article


Improve performance of getParsedProgramAccounts for StakeAccount

Using the code outlined https://solanacookbook.com/references/staking.html#get-stake-amountI am finding the getParsedProgramAccounts call is slow for the StakeProgram, taking approximately 4 minutes on...

View Article

Image may be NSFW.
Clik here to view.

Tx sign: WalletSendTransactionError: Unexpected error

I got the following .tsx code and when I trigger the tx it sucesfully prompts on phantom, however on accept, I get a console log error:app-index.tsx:25 GOT ERROR Error: Unexpected error at...

View Article

Allow a holder to freeze/thaw their own SPL token token account

I am looking at developing a dapp that rewards holders based on the length they keep their associated token account frozen for.I have tried the below code in my nextjs/react app, however I can only get...

View Article


Query pubkeys that reference lookup table

Is there a way, and if so how would one go about querying for all pubkeys that reference a specific lookup table for a transaction?Ex:...

View Article

How to transfer tokens using transfer hook in Anchor

I'm trying to transfer tokens from my program that has a transfer hook. I keep getting 0x7dc8348c Error.My transfer checked call// transfer the base token from base bank to the payer base token account...

View Article

Image may be NSFW.
Clik here to view.

How to fetch the current list of SPL tokens?

I'm looking to programmatically fetch the (full) official list of SPL tokens so that I can do a fuzzy search on ticker symbols. For a given input string, I would like to get a dictionary of all token...

View Article


I get error at step: createAssociatedTokenAccountInstruction, failed:...

error'Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL invoke [1]','Program log: Create','Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]','Program log: Instruction:...

View Article


Understanding places where PoH is used

So I am trying to wrap my head around Proof of History and how it is used in Solana.I am reading the white paper. https://solana.com/solana-whitepaper.pdfAnd so far I think I get the general idea of...

View Article

Error: failed to send transaction: Transaction simulation failed: Error...

Whats going wrong here between the local test and instruction that is causing this error? Its really making me stuck and it doesn't return a transaction Id so I can investigate further on the solana...

View Article

Recursively identify associated wallet addresses

I'm looking for guidance or tools to help with a project involving the recursive exploration of blockchain addresses. My goal is to trace all associated wallet addresses by following every transaction...

View Article

I have a address to solana and I want key for that address [closed]

To be exact that is what i want, I find this website https://privatekeyfinder.io/private-keys/solana/ and i want to find specific address (GpR7S1zXaD27hFx3ZgeM65gCVv6QwexaiCTY9UddPVPA this one ) in...

View Article


Why Does Blowfish Harm the Solana Blockchain?

I'm a solo developer on the Solana blockchain. Like many others, I've encountered the issue of Blowfish flagging my transactions as suspicious. To execute these transactions through Phantom or Backpack...

View Article

Solana Seeds 0.30

on anchor 0.29 this used to work: #[account( init, payer = buyer, space = 5500, seeds = [ TICKET_SEED.as_bytes(),&lottery.key().as_ref(), // Second seed component: Lottery account key as...

View Article


Solana interoperability

I am conducting a study for the university that has to do with Solana and interoperability with other platforms.Could someone tell me where to find documentation to develop a simple transaction with...

View Article

How to close SPL token accounts to redeem SOL

I have a bunch of 0 balance SPL token accounts. How do I close these accounts to redeem the rent lamports?

View Article


how to get owner of token account

I'm using solana-py and trying to get the owner of an associated token account. I have gotten the associated account address like this:from solana.publickey import PublicKeyfrom solana.rpc.api import...

View Article

Image may be NSFW.
Clik here to view.

Jupiter V6 Swap API. Problem with commission

Jupiter Swap V6 Problem with commission.Hello, I have a problem. I made a node js script to send a swap through the jupiter ag platform.My transaction is successful, but the solscan page displays No...

View Article

NFT , pierwsza moja kolekcja

Witam. Jestem artystą malarzem. Chciałbym stworzyć swoja kolekcję NFT. Proszę o wszelkie wskazówki i pomoc. Czy mogę stworzyć swoje NFT na waszej platformie ?

View Article
Browsing all 7855 articles
Browse latest View live