Questions tagged [devnet]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Is there any functioning AMM on devnet?

I want to swap my devnet SOL for some other devnet token, for example USDC. Is there any functioning AMM on Devnet where this is possible? Preferably one that automatically handles the wrapping on the ...
Dmitry Sky's user avatar
1 vote
1 answer
134 views

Why devnet is not working?

I developing on Solana's devnet, Sometimes transaction processing doesn't work on devnet (also on mainnet), why is this happening? What is the problem? If it's a core issue with the chain, I'm curious ...
MONO's user avatar
  • 51
2 votes
2 answers
204 views

Attempt to debit an account but found no record of a prior credit.How to solve?

this is my error here is my config The error occurs on this line: const { tokenAMintAddress, tokenBMintAddress } = await createMintPair(provider). I run it through anchor test ---skip-deploy(anchor ...
Roomka's user avatar
  • 21
1 vote
0 answers
38 views

issue with setting up Solana RPC devnet archive node

My concern is not sure with the below flags this works as a Devnet RPC archive node. I need to know the correct way to set the devnet RPC archive node I checked blocks and blocks have not been ...
Dsol's user avatar
  • 11
3 votes
1 answer
169 views

Solana devnet is not processing transactions

I've tried to make a few SOL transfer transactions via the Phantom Wallet. I received the transaction hash, but the actual transfer didn't happen, and there is no data by this hash on the explorer (...
Vova Yatsyk's user avatar
2 votes
0 answers
99 views

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.com Default Signer Path: /Users/chenyu/....
yv chen's user avatar
  • 21
1 vote
1 answer
302 views

How to use custom priority fee when sending solana transactions using solana.py

This is my current code. CODE: from solana.rpc.api import Client from solana.keypair import Keypair from solana.transaction import Transaction from solana.system_program import TransferParams, ...
aste123's user avatar
  • 141
1 vote
0 answers
30 views

Invalid request on client.request_airdrop()

CODE: from solana.rpc.api import Client from solana.keypair import Keypair LAMPORT_PER_SOL = 1000000000 client = Client("https://rpc.ankr.com/solana_devnet") wallet = Keypair.generate() ...
aste123's user avatar
  • 141
0 votes
1 answer
58 views

Is it possible for an anchor smart contract to detect which network it is running on

I'm trying to avoid having to make code changes when I move from testing on localnet to devnet and then mainnet. One of my account constraints checks the mint for the associated token account, which ...
Davie Clark's user avatar
1 vote
1 answer
27 views

what tx_count means in bench-tps.sh?

I've a questions, for NDEBUG=1 ./multinode-demo/bench-tps.sh --tx_count 50000 what is tx_count ? what happens if I increment or decrement this value? Because by default is 50000 but in the webpage ...
David C's user avatar
  • 13
1 vote
1 answer
83 views

Solana Devnet Transactions disappear

I have discovered that after some time (maybe a few months), some of my devnet data has disappeared. I assume that this is on purpose? If so, is this documented somewhere publicly?
Burger Bob's user avatar
  • 1,256
3 votes
1 answer
80 views

is there a way i can closee all the tree accounts i created on devnet?

i want to close all the tree accounts i created with the Solana compression program to claim the sol used for creating them how do i go about it since it's not like the normal spl token programme
Alex's user avatar
  • 51
3 votes
1 answer
69 views

Cannot find cause of "seeds constraint was violated" error

Based on Solana cookbook, PDA is derived from program ID and seeds. There's no possibility that program ID is different, so I thought maybe there's mistype in seeds. I checked over 30 times seeing ...
0xLuckycig's user avatar
2 votes
1 answer
243 views

Is there anyway to buy NFT on solana devnet?

I'm now developing NFT-backed loan site and now on solana devnet. I want to buy NFT to test on solana devnet. Is there any marketplace on solana devnet like magiceden? if anyone know, please help me. ...
Fable Frog's user avatar
3 votes
1 answer
279 views

How can I deploy and anchor program using a custom RPC node url?

the normal devnet rpc is quite slow recently. How can i define a specific rpc url from lets say helius, quicknode, hellomoon or triton instead? anchor deploy --url rpcurl doesnt work.
Jonas H.'s user avatar
  • 3,963
2 votes
1 answer
43 views

Necessary ports to talk to a validator (devnet) for deployment

I teach at a university where I plan to introduce students to Solana blockchain development. I can deploy programs normally to devnet when running my laptop at home (anchor deploy), but when connected ...
Sergio's user avatar
  • 41
2 votes
2 answers
359 views

SOL airdrop on devnet

I have error since 3 days by trying to airdrop on devnet. the error message ist: solana airdrop 1 AzCoTowEtJM4VZmUapoi56TkoD8GKieKJpg4WFsFMhJg --url https://api.devnet.solana.com  ...
Ethelana's user avatar
4 votes
1 answer
108 views

known devnet validators

Is this this right list of known devnet validators to start with? I'm starting one, but ending up over 135k blocks behind to start with. --known-validator dv1ZAGvdsz5hHLwWXsVnM94hWf1pjbKVau1QVkaMJ92 \ ...
Caleb Everett's user avatar
1 vote
1 answer
71 views

validator main process exited

starting a devnet validator with geyser plugin - solana version 1.13.3: exec solana-validator \ --identity ~/validator-keypair-devnet.json \ --vote-account ~/vote-account-keypair-devnet.json \ --...
Caleb Everett's user avatar
2 votes
1 answer
260 views

Error: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: Cross-program invocation with unauthorized signer

I am trying to run a test on anchor/metaplex code that should be minting a new NFT/creating a master edition account, however my test is failing and I'm not sure why. Here is the error message: 0 ...
xkycc's user avatar
  • 99
3 votes
1 answer
296 views

Custom program error 0xbbf, given account is owned by a different program than expected

I was developing without issue on devnet and then decided to deploy to mainnet. Suddenly the same instruction that used to work on devnet gave rise to the following on mainnet Error: failed to send ...
Burger Bob's user avatar
  • 1,256
3 votes
1 answer
600 views

Error: Non-base58 character

I upload the program to the network, but when interacting it issues this error Error: Non-base58 character at Object.decode (/mnt/c/Users/Mateo/block3/node_modules/base-x/src/index.js:111:11) ...
Mateo Lafalce's user avatar
0 votes
1 answer
68 views

Blockhash expeired error when deploy program to devnet

When I deploy the solana program to devnet, I am getting below error. And it says to me Error: Data writes to account failed: Custom error: Max retries exceeded I am using solana-cli(1.14.7). How can ...
Akira's user avatar
  • 1
2 votes
4 answers
409 views

Requesting airdrop of SOL on devnet or testnet throws error, rate limit is reached, even though I never reached the rate limit in the first place

I currently only have 0.623 SOL on this account, and I have not requested more than 24 sol per day/ 2 sol per airdrop, so I don't understand why it says "rate limit reached". How can I fix ...
ALsJourney's user avatar
3 votes
1 answer
125 views

Unable to deploy contracts on devnet, is there anyone facing same issue? Anything issue network?

0.0% | Waiting for next block, 107 pending... [block height 163390010; re-sign in 202 blocks]
Shrey's user avatar
  • 31
2 votes
2 answers
1k views

Blockhash expired. 5 retries remaining

trying to deploy a program to the devnet I keep encountering this issue when my program just tries and retry to deploy with no success, any idea why this may be?: cargo-build-bpf child: /Users/juan/....
Juan Marchetto's user avatar
1 vote
1 answer
376 views

Convert from Devnet to Mainnet-beta with Metaplex and Sugar

This aligns with Solana but also a reference to Metaplex. Hoping someone can answer as the information found online is slim to none. I have a project ready to go. Using Metaplex w/ Solana CLI. It's ...
jdubz's user avatar
  • 11
1 vote
1 answer
87 views

Deployment price

I planning to launch my program on the mainnet. Do you know if I can expect the same deployment cost on the mainnet compared to the devnet? Thanks.
dawka's user avatar
  • 91
3 votes
2 answers
2k views

Rate limit of Solana Airdrop on devnet

I am running a script on devnet with a regular interval that requires solana airdrop. Now I get Error: airdrop request failed. This can happen when the rate limit is reached. So I was wondering, does ...
Burger Bob's user avatar
  • 1,256
0 votes
0 answers
161 views

[MetaplexError]: Failed to Send Transaction

I'm using the Metaplex JS SDK on devnet and trying to update an NFT with the following call: const response = await metaplex .nfts() .update({ nftOrSft: nft, ...
degenTy's user avatar
  • 101
2 votes
1 answer
20 views

Where can I track the current commit running on devnet?

I'm trying to figure out if https://github.com/solana-labs/solana/pull/28217/files#diff-b55d9bcb5d2e7eae09fd352edcc765f9c2a4c05b97e9847582071d35850e8671 has been deployed to devnet. Can someone help ...
harkirat singh's user avatar
1 vote
0 answers
87 views

Transfer multiple NFTs from one wallet to another on devnet

I am looking for a service or script that can take all the NFTs in my wallet and send them to my other wallet, this is on devnet. So Foxysend will not work.
Bryon M's user avatar
  • 170
1 vote
2 answers
55 views

Frequent errors connecting to devnet

I am have deployed a smart contract on devnet and it the issue is that after making a few rpc calls from my react app I get the following error: Error: failed to send transaction: Transaction ...
frawd's user avatar
  • 371
0 votes
1 answer
28 views

Return airdropped lamports on devnet and testnet?

I feel guilty taking airdrops and putting them into accounts that I never use again. Is there a way to return the airdropped lamports? Or should I not be so caring? I don't want to hog all the ...
DevelopingJoku's user avatar
2 votes
1 answer
566 views

Solana API RPC Devnet query - cluster version query failed

I have my config RPC URL set as https://api.devnet.solana.com When I do a solana balance in CLI, I get Error: RPC request error: cluster version query failed: error sending a request for URL (https://...
Mike Wilcox's user avatar
1 vote
1 answer
251 views

How to start a validator in solana?

I have tried starting a local validator using solana cli command solana-test-validator. It works fine and starts from block 1 for localhost. But when I am following this doc: Starting a Validator and ...
AjA's user avatar
  • 43
1 vote
1 answer
58 views

Holaplex Devnet GraphQL API?

I am working on an NFT marketplace app that I found on GitHub. The app uses the Holaplex GraphQL API for things like fetching NFTs from auction houses. And then using the Solana wallet-adapter for ...
Mike Wilcox's user avatar
4 votes
1 answer
144 views

Metaplex SDK - Upload Metadata Devnet

I am trying to use the new Metaplex JavaScript SDK to upload NFT metadata from my frontend. https://github.com/metaplex-foundation/js#uploadMetadata Wallet context provider setup: const network = ...
Mike Wilcox's user avatar
0 votes
1 answer
148 views

Is there a limit in size to the program (.so) file?

I keep having trouble uploading my contract to devnet and I'm basically unable to work/test things. My current file size is 681kb for my .so file. I'm wondering if there is a limit to the file size ...
web3man's user avatar
  • 87
6 votes
1 answer
177 views

Phantom iOS cannot simulate Solana Pay QR code

I have contacted Phantom support and was told to post here. I'm trying to get Phantom iOS to read Solana Pay QR codes to approve transactions. Phantom reads the QR codes but says that it is unable to ...
William's user avatar
  • 81
6 votes
1 answer
68 views

createMinToInstruction authorized by PDA, works in LocalNet, but gives "Account not associated with this Mint" on DevNet

I create an automated deployment script that will mint 2 million SPL tokens to an address, the mint is owned by the program PDA as shown in Solana explorer: Bellow is the last step in the deployment ...
Ngwin's user avatar
  • 71
1 vote
1 answer
76 views

What are the limitations of the devnet?

I am running an SPL token program that is used as a currency. Only my wallet can issue this token. I am on the devnet and while I understand that Solana tokens are not real, I do not understand what ...
colinwink's user avatar
2 votes
4 answers
151 views

anchor deploy: Invalid Blockhash

I've been trying to deploy an Anchor program on devnet but it seems to be stuck in the process, and then gives the following error after a while, $ anchor deploy --provider.cluster d Error: Custom: ...
sayantank's user avatar
  • 425
1 vote
1 answer
57 views

"No connection could be made because the target machine actively refused it" when interacting with devnet

Hey so I am having an issue with deploying a test collection on devnet, getting this error: Transaction error: error sending request for url (https://api.devnet.solana.com/): error trying to connect: ...
Thomukas1's user avatar
2 votes
1 answer
50 views

Is there a way for the contract to test what cluster (mainnet, devnet, testnet) it is on?

In my project, I have some code that is unable to run on testnet, so I want to just pass sample data there. I'm wondering if it's possible to detect the environment so that I do not have to run ...
web3man's user avatar
  • 87
3 votes
1 answer
114 views

How to airdrop arbitrary token on devnet

For testing purpose, is there a way to obtain/airdrop some amount of an arbitrary token on devnet? The only thing I know about the token I would like to request an airdrop for, is the token mint ...
Yifan Jiang's user avatar
0 votes
1 answer
78 views

How frequent are ledger resets on the public devnet and testnet clusters?

In the clusters section on the official website: https://docs.solana.com/clusters, both the devnet and testnet have "ledger resets". How frequent are these ledger resets on both the devnet ...
Arjun's user avatar
  • 3
0 votes
1 answer
72 views

How does one retrieve the hashlist of a collection in devnet?

Tools like MagicEden's mintlist-tool only work on mainnet. How can I acquire a hashlist of a collection on devnet?
Emma Zhu's user avatar
2 votes
1 answer
162 views

Is there a way to get large amounts of SOL on Devnet/Testnet

For proper testing of our app, we need large amounts of SOL (upwards of 50,000 SOL) in Devnet and/or Testnet accounts. The solana airdrop command is becoming more and more limited, both in terms of ...
AllBlooming's user avatar
  • 2,249
0 votes
1 answer
118 views

Is the Alchemy Solana API worth it? [closed]

I'm getting ready to deploy my dApp to mainnet soon. This is going to be the first time I deploy on mainnet and I'm confused on wether I will need to pay to run a Solana node or something like that. ...
Dylan Molina's user avatar