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

Does Solana support any typed data schemes (e.g. EIP712)?

Sorry, newbie to Solana development.Does Solana support any typed data schemes like EIP712. I see that they have this on the official docs (https://docs.solana.com/cli/sign-offchain-message). However,...

View Article


Image may be NSFW.
Clik here to view.

WalletConnectionError: Unexpected error at...

I am creating an app where I need to connect my wallet with Phantom for Solana.Here is the public repo link for the code where I am getting this (WalletConnectionError: Unexpected error at...

View Article


How do I get real-time information about newly created tokens on Solana?

I want to receive information about newly created tokens on the Solana blockchain with minimal latency. What are some ways to do this?So that I get information about a freshly created token after, say,...

View Article

Can't connect to solana devnet using solana cli or curl

All things are ok when I use localhost.But when I change to devnet, I cannot develop programs(solana balance/airdrop are ok).RPC URL: https://api.devnet.solana.comDefault Signer Path:...

View Article

Sol Was Withdrawn to A Meme Contract Address In Error (and not a Wallet)

I mistakenly sent sols to a Meme Contract address instead of a wallet address. How can I retrieve my sols back? My understanding is that smart contracts are not repositories so they cannot accept...

View Article


Error: IDL for program `loss_harvester` does not have `metadata.address` field

When running anchor test on my solana program it complains that the IDL is missing the metadata.address field. But when I add it, it disappears again after running anchor test. My program built...

View Article

Image may be NSFW.
Clik here to view.

src.toArrayLike is not a function

I am trying to do a dapp on Solona with Next.js and Ancor.I am getting that error Here is my program setupconst connection = new Connection(clusterApiUrl("devnet"), "confirmed");export const program =...

View Article

the trait bound `solana_sdk::pubkey::Pubkey: BorshDeserialize` is not...

Error:the trait bound `solana_sdk::pubkey::Pubkey: BorshDeserialize` is not satisfied the following other types implement trait `BorshDeserialize`:Pubkey code:#[cfg_attr(target_arch = "wasm32",...

View Article


Every swap create a new account

In raydium sdk at each swap an account is created according to the instruction (the instruction is in the sdk itself, which must be changed somehow) and deleted.How to create an account only once and...

View Article


CLI - using prompt:// doesn't yield same pubkey

When I generated my pubkey a few years ago I had to use prompt:// whenever using the command line because the normal pubkeys generated didn't match what I had. I tried it today and its generating...

View Article

Solflare wallet suspiciously attempts to reconnect whenever the account...

everyone.I have noticed some suspicious behavior of solflare wallet.After I connect solflare to the website, it reconnects doubtfully again and again.I think reconnecting is triggered after target...

View Article

Hello I have trouble creating a balance tracker for solana

The problemThis is the code that I am working with. It's supposed to track my wallet balances on Solana, SOL and Memecoins/SPL tokens included. The code works only partially, it writes out my SOL...

View Article

Search for prepayment for an advertising plate on Dexscreener for a coin on...

import requestsimport timefrom pprint import pprintfrom datetime import datetimesolana_token_addresses = set()first_run = True # Флагдляпропускапервоговыводаwhile True:try: # Выполняемзапроск API...

View Article


Data for Raydium Pool Maker fees transaction level

I used to be a Uniswap LP and we used a subgraph from TheGraph to pull transaction level maker fees for our LP positions for various pools.Is there anything like this for Raydium? Clearly it is stored...

View Article

Image may be NSFW.
Clik here to view.

anyone can explain this error simulate transaction?

i using raydium sdk v2, since i already ask about the code on that repo, the creator said the code is okey, but the Keypair is wrong, but i use same keypair for get the data on...

View Article


Jito Bundles - in the same transaction?

I am exploring Jito bundles, and able to execute them in a test. But I am noticing that when my are executed they show as 2 transactions on explorer, instead of one.Here is an example of my Jito...

View Article

Wallet tracking trouble

I have successfully tracked my wallet balances, and subscribed to the transaction tracking.I keep getting the following error message when I make a transaction on the wallet.Subscribed to wallet...

View Article


Anchor IDL failing to initialize in TS SDK with `Error: undefined is not an...

I'm loading legacy IDLs in the Solana Explorer (explorer.solana.com) and but some old IDLs just don't pass the toCamelCase check here:...

View Article

Why is the raydium API swap code so problematic

Currently i am using the following code to perform swaps on raydium: https://github.com/raydium-io/raydium-sdk-V2-demo/blob/master/src/api/swap.tsHowever often it returns the error:...

View Article

Expected first writable signer key to be the fee payer - Solana MultiSwap...

Hello everyone hope all are good today ?After many hours of working and seaching i'm forced to ask some help ...I'm trying to do a multiswap on Jupiter with 2 quotes but i get error when sending swap...

View Article
Browsing all 7925 articles
Browse latest View live


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