Skip to content
This is a collection of the different ways for developers to acquire SOL on Solana’s testing networks, the Solana devnet and testnet. The public devnet and testnet RPC endpoints no longer serve airdrops: solana airdrop and the requestAirdrop RPC method return HTTP 410 there, and the Solana CLI reports it as a rate limit. Use a web faucet for devnet and testnet SOL, and airdrop only on a local validator.

​1. Web Faucet

Available for Devnet
  1. faucet.solana.com - A public web faucet hosted by the Solana Foundation
  2. QuickNode - A web faucet operated by QuickNode
  3. DevnetFaucet.org - A web faucet with a rate limit separate than the public RPC endpoints, operated by @Ferric
  4. Blueshift Faucet - A web faucet for Blueshift NFT holders
  5. Pine Stake Faucet - A public web faucet hosted by Pine Stake
Available for Testnet
  1. faucet.solana.com - A public web faucet hosted by the Solana Foundation
  2. QuickNode - A web faucet operated by QuickNode
  3. TestnetFaucet.org - A web faucet with a rate limit separate than the public RPC endpoints, operated by @Ferric
  4. Blueshift Faucet - A web faucet for Blueshift NFT holders
  5. Pine Stake Faucet - A public web faucet hosted by Pine Stake

​2. RPC Provider Faucets

Available for Devnet RPC Providers can opt in to distributing devnet SOL via their devnet Validators.
If you are an RPC Provider and want to distribute SOL please get in touch here.
Currently supported:
  1. Helius
  2. QuickNode
  3. Triton

​Using the Solana CLI

Specify your Cluster to be your RPC provider’s URL:
Then request an airdrop from your provider’s endpoint:

​Using Web3.js

@solana/web3.js 1.x is no longer actively maintainedIt receives critical fixes only. Use Kit for new code. To migrate existing code, follow the Kit upgrade guide, or the web3.js v3 migration guide to keep the class-based API.To run this code, install 1.x with npm install @solana/web3.js@1. A plain npm install @solana/web3.js installs v3, which this code doesn’t run on.

​3. Discord Faucets

Various Discord communities have setup devnet SOL Faucets as BOTs.
CommunityUsageLink
The 76 DevsRun !gibsol in the BOT commands channel.Join Server

​4. Airdrop on a local validator

Available on a local validator A local validator, such as Surfpool (surfpool start) or solana-test-validator, runs its own faucet and serves airdrops on its RPC endpoint, http://localhost:8899. Here are two ways of requesting one:

​Using the Solana CLI:

​Using web3.js:

@solana/web3.js 1.x is no longer actively maintainedIt receives critical fixes only. Use Kit for new code. To migrate existing code, follow the Kit upgrade guide, or the web3.js v3 migration guide to keep the class-based API.To run this code, install 1.x with npm install @solana/web3.js@1. A plain npm install @solana/web3.js installs v3, which this code doesn’t run on.
See more: requestAirdrop() documentation inside web3.js, and Getting Test SOL for the same call in Kit, Rust, Python and Go.

​5. Reuse devnet SOL

The most sustainable way to save SOL is to reuse it. With the Solana CLI you can list all of your buffer accounts with the following command:
and close all of them at once to reclaim their SOL:
What’s a buffer account?Buffer accounts are automatically created when you deploy a program. All the program’s data is transferred into this account during the deployment. When it’s done, the data of your program is replaced with the new data.
Normally, these buffer accounts are closed automatically. In the event they are not, you can also close a single buffer account to reclaim the SOL in it using the following command:
You can also use the show subcommand to list all programs you have already deployed to your currently selected cluster:
You can then close each program with the close subcommand to retrieve the SOL you used to deploy it. The CLI only closes a program when you pass --bypass-warning, because a closed program id can’t be used again:
You can then use that SOL to deploy new programs.
You will NOT be able to use the same program id again once you closed the program. So make sure you are closing the right program and that you will not need that id anymore.If you get rate limited by the RPC endpoint your Solana CLI is configured to use, you can add -u "urlToYourRpc" to any of these commands to use a different RPC endpoint.