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

Next.js Project: Unable to Resolve @solana/web3.js Module

Problem DescriptionWe are encountering a recurring error when attempting to run a Next.js project that integrates the Solana and TipLink wallet adapters. The error message indicates that the module...

View Article


Send swap transaction in python

I'm currently working on the Eclipse testnet (similar to Solana in terms of code, but with a different RPC). You can view the transaction I'm referencing here:...

View Article


How are SPL program discriminators determined

I assume that there is a naming scheme being used for the account state discriminators as seen here in the token metadata extension const SPL_DISCRIMINATOR: ArrayDiscriminator =...

View Article

How to Swap reverse order of the Raydium poolkeys?

I listen new pools on Raydium. As you might know most of the pools come with the token becoming base and sol becoming quote. In my script I also retrieve poolkeys in the same order. I want to swap sol...

View Article

Solana NFT Collection using Metaplex Candy Machine v3 and sugar

for the past 7 months I am trying to deploy an NFT collection on Solana blockchain using Metaplex Candy Machine V3 and sugar, but nothing is compatible, I keep running on issue after issue and the only...

View Article


Image may be NSFW.
Clik here to view.

solana\web3.js Connect Timeout Error , How to set up a proxy?

I am in China and cannot access the solana devnet chain directly. How do I configure 'Connection' to use a local proxyconst connection = new Connection(clusterApiUrl('devnet'), { commitment:...

View Article

How to pass values to Anchor error messages

Is there a way to pass values to Anchor error messages that can be read by Anchor clients? Ex. How would I pass the value of data.data below? If this is not possible, what is the best way to retrieve...

View Article

Associated Token Account address not correct?

I'm trying to access this associated token account:https://solscan.io/account/DizwsnTVoLCXskwqLMxYCaLqssrArUP2NRQb7dHzDprbvia the following code:const token = new...

View Article


how to create market id in devnet with js

I was learning solana evm on devnet and I started to code a token with @solana/spl-token library and then I tried to add a liquidity to radiyum and then it asked for openbook market id , I want to know...

View Article


Develop programs on the beta playground and test with localhost frontend

Hi guys I was trying to install my environment to get started working on solana programs on my windows machine. Unfortunately I have came across so many errors and it's just an endless circle at this...

View Article

How to burn rent accounts on Photon.io

I have noticed that everytime i purchase tokens on Photon.io a bigger part than what i pay for goes missing, even though I have made the fees very very low. I found that every time you buy a token a...

View Article

Sent USDT(sol) to PYUSD (sol) contract address

I have accidentally sent my usdt in sol network to PYUSD contact address 2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo in sol network. Could i back my money? Paxos company is responsible for this Paypal...

View Article

Unable to catchup for more than 2-3 days with non-voting account-index...

I try to setup my non-voting account-index extended RPC and it can't catch up for more than 2-3 days.I'm using AWS x2idn.16xlarge which means: 1TB RAM, 64 vCPU, 3 * 1900GBNVMe SSD, 50Gbps network...

View Article


I used sea-orm and solana-sdk in my project,dependency conflict

error: failed to select a version for `zeroize`. ... required by package `curve25519-dalek v3.2.1` ... which satisfies dependency `curve25519-dalek = "^3.2.1"` of package `solana-program v1.18.0` ......

View Article

Is there a way to retrieve raydium's pool keys with timestamp going back x...

As the title says, I'm looking for a way to retrieve these for a specified amount of time or from the current block until block x in the past.The json file they are providing for download has ~380k...

View Article


How do I find if a token that just listed on Raydium is a Pump.fun token

am interested in finding pump fun tokens that just listed on Raydium. I want the data to flow continously so am probably thinking a websocket would be ideal. Any ideas how I can go about implementing...

View Article

How does one create their own token?

I wanted to create my own token, how does one go about creating their own cryptocurrency on here and other platforms? I also wanted to create meme coins and Ai art coins is there money in...

View Article


I will hire a Solana developer to build a token presale offering. A 30 day...

Timed Presale Period:• Duration: 30 days• Starting Price: $0.02 per token• Ending Price: $0.32 per tokenPrice Doubling Schedule:• Day 1-6: $0.02 per token• Day 7-12: $0.04 per token• Day 13-18: $0.08...

View Article

How is the validator parallelized?

I was surprised to find that a Bank's load_and_execute_transactions method does not execute transactions in parallel (see here).The purpose of an Entry is to batch transactions that can be executed in...

View Article

Solana Anchor: How to Correctly Handle Token Transfers in ICO Contract During...

I'm trying to write a ICO contract with Anchor, and stuck with deposit method, which supposed to transfer SOL from user to protocol treasury, and receives corresponding ico token.the problem is, I...

View Article
Browsing all 7869 articles
Browse latest View live


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