Skip to content
0%

What are testnets and how do faucets work?

Alchemy team headshot

Written by Alchemy

Published on April 19, 20227 min read

Every transaction on a blockchain costs gas. If you deploy a smart contract for the fifth time today because of a typo, paying real money for each attempt adds up fast. Testnets solve that. They are practice networks that work like the real thing, with free tokens, so you can break things safely.

What is a testnet?

A testnet is a blockchain network that works like a main network but uses tokens with no real-world value. Developers use testnets to deploy and test smart contracts, try transactions, and check that an app works before it handles real money. A testnet runs on its own ledger, separate from mainnet.

Ethereum.org compares testnets to staging servers and mainnet to production. You should test any contract on a testnet before you deploy it to mainnet. Most projects that integrate with existing smart contracts also keep copies deployed on testnets.

On Ethereum and other EVM networks, your account address works across networks. Balances and transaction history do not carry over from mainnet.

What is the difference between a testnet and mainnet?

Mainnet is the live network. Tokens on mainnet have real value, and transactions are permanent records. A testnet copies how mainnet works but uses tokens with no value, so you can test freely.

Each network has its own network ID, also called a chain ID. You use it to make sure a contract deploys to the right network. On Ethereum:

Solana does not use chain IDs. You pick a cluster instead, such as Solana mainnet or Solana Devnet, by connecting to that cluster's RPC endpoint.

Testnets also see less traffic than mainnet, so gas prices, congestion, and validator counts will not match what you see in production.

What are testnet tokens?

Testnet tokens are free stand-ins for a network's real currency. On Ethereum Sepolia, for example, test ETH pays gas for transactions the same way real ETH does on mainnet. On Solana Devnet, test SOL pays transaction fees the same way. Neither has any value, and you cannot swap them for real money.

Because test tokens are free, you can run as many tests as you need. You still have to get them from somewhere, and that is what a faucet is for.

What is a faucet?

A faucet, sometimes called a crypto faucet or a testnet faucet, is a service that sends small amounts of testnet tokens to your address. Think of it as a tap. You ask, it drips a little, and you come back later for more. You use those tokens to pay gas and test transactions without spending real money.

A faucet works because someone funds it. The operator holds a stock of test tokens in a wallet and sends a small amount to each valid request. Those tokens have no market price, but the supply is still limited, so every faucet needs rules about who can claim and how often.

Why do faucets have eligibility rules and limits?

Free tokens attract abuse. Without controls, someone could write a script, create thousands of empty wallets, and drain the faucet. Then real developers would have nothing to test with.

Faucets use a few common controls:

  • Rate limits: each address can claim only once in a set period.
  • Eligibility checks: the receiving address has to show that it is a real, active wallet.
  • Balance caps: addresses that already hold a lot of test tokens cannot claim more.
  • CAPTCHA: a quick check that a person is making the request.

These rules keep a faucet useful for the people who need it. Some faucets ask you to log in or post on social media to prove you are a person. Others, like ours, use wallet checks and a CAPTCHA instead, so you do not need an account or a social post.

How does the Alchemy testnet faucet work?

Our testnet faucets are free, and you do not need an Alchemy account to use them. You enter your address, complete a CAPTCHA, and request tokens. The Ethereum Sepolia faucet sends 0.1 ETH per request, and the Solana Devnet faucet sends 0.1 SOL. Amounts differ on some networks.

A few rules apply. Our faucet docs list them in full:

  • Limit: one request per wallet address, per network, every 24 hours. Limits are separate for each network, so a request on Ethereum Sepolia does not block one on Base Sepolia.
  • Eligibility: for most networks, the receiving address needs at least 0.001 ETH on Ethereum mainnet and a history of real mainnet transactions. It also cannot already hold a large testnet balance. A few networks have different requirements. For non-EVM networks like Solana Devnet, the check looks for SOL and activity on Solana mainnet instead of Ethereum mainnet.
  • Same address: the faucet checks the address you enter, so the mainnet balance and activity must be on that exact address. ETH on other networks, such as Base or Arbitrum One, does not count toward an EVM faucet, and ETH does not count toward Solana Devnet.
  • Address format: enter a 0x address for EVM networks, or a Solana address for Solana Devnet. ENS names are not supported.

We run faucets for more than 20 networks. They include Arbitrum Sepolia, Base Sepolia, Optimism Sepolia, Polygon Amoy, and Solana Devnet. The faucets page always shows the current list and amounts. For Base, see how to get Base Sepolia ETH. For Solana, see our Solana faucet guide.

One safety note: a faucet only needs your public address. Never share a seed phrase or private key with a faucet or a test app. Ethereum.org also advises against reusing mainnet accounts on testnets.

Which Ethereum testnet should I use?

Ethereum.org says the two public testnets that client developers maintain right now are Sepolia and Hoodi.

  • Sepolia is the recommended default for app and smart contract developers. We recommend it too. You can find the full details in our Sepolia testnet guide, and our Sepolia ETH guide covers how to get tokens.
  • Hoodi is for protocol developers and stakers who want to test network upgrades and run validators. We support Hoodi RPC endpoints, but our faucets do not cover Hoodi. Ethereum.org lists faucets for it.

Older testnets have been shut down. Holesky reached its planned end of life in September 2025, and the Ethereum Foundation told app developers who used it to move to Sepolia. Goerli, Ropsten, Rinkeby, and Kovan are also deprecated, so do not use them for new projects.

Ethereum developers have discussed eventually replacing Sepolia, but that is a proposal and the timeline could change. Check ethereum.org for the latest guidance.

If you build on a Layer 2, use that network's testnet. Many are named after Sepolia too, like Base Sepolia and Arbitrum Sepolia. To learn more about these chains, read our guide to Layer 2 blockchains.

Which Solana network should I use?

Solana has three public clusters: mainnet, Devnet, and Testnet. For app and program development, use Devnet. It is the public testing environment, and it mirrors how mainnet works with test SOL. Solana Testnet is mainly for core developers who test planned network upgrades, so most builders can skip it.

Our Solana Devnet faucet sends test SOL to your Solana address. Our Solana Devnet guide shows how to connect and deploy a program, and our Solana faucet guide covers other ways to get test SOL.

When are test tokens useful?

Use them any time you want realistic behavior without real risk:

  • Deploying and debugging a smart contract, or a program, as Solana calls it.
  • Testing how your app handles failed, pending, and replaced transactions.
  • Checking gas usage before you go live.
  • Trying new libraries and tools on a fresh project.
  • Running an integration test or a demo for a teammate.
  • Learning. A beginner can practice sending transactions with no financial risk.

You can view any testnet transaction on a block explorer, such as Sepolia Etherscan or the Solana Explorer on Devnet, the same way you would on mainnet.

What should you know before you rely on a testnet?

Testnets are great for practice, but they are not identical to mainnet:

  • State can reset or change. Testnets get upgraded, replaced, or shut down, so do not treat anything on one as permanent.
  • Conditions differ. Gas prices, congestion, and the number of validators do not match mainnet, so final performance tests still need real-world conditions.
  • Tokens have no value. Do not buy or sell testnet tokens, and be suspicious of anyone who asks you to.

Get started

Ready to test? Get test tokens from the Alchemy faucet, then create a free API key to connect your app to the same testnet. For a first hands-on project on Ethereum, follow our tutorial to deploy a Hello World smart contract to Sepolia. On Solana, follow our guide to deploy a program to Devnet.

Frequently asked questions

What is a crypto faucet?

A crypto faucet is a service that gives out small amounts of cryptocurrency for free. On testnets, faucets hand out test tokens so developers can pay gas and try out apps without spending real money.

Are testnet tokens worth anything?

No. Testnet tokens have no real-world value, and you cannot cash them out. They exist only to pay for gas and test transactions on a practice network.

Why did my faucet request fail?

The most common reasons are the rate limit, an address without enough mainnet balance or activity, or a testnet balance that is already high. Faucet error messages usually say which one applies. Our faucet docs list each message and the fix.

What is the difference between a testnet and mainnet?

Mainnet is the live network where tokens have real value and transactions are permanent records. A testnet copies how it works but uses worthless tokens, so you can test freely. Balances and history do not carry between the two.

Which testnet is best for smart contract development?

For Ethereum apps, Sepolia is the recommended default, according to ethereum.org. For Solana, use Devnet. If you build on another network, use that network's testnet, such as Base Sepolia or Arbitrum Sepolia.

How do I get test SOL?

Use our Solana Devnet faucet. Enter your Solana address, complete the CAPTCHA, and request 0.1 SOL. Your address needs to meet our eligibility rules, which for Solana means having SOL and activity on Solana mainnet. Our Solana faucet guide covers other ways to get test SOL.

Do I need an account to use the Alchemy faucet?

No. You do not need an Alchemy account. You enter a valid address, complete a CAPTCHA, and send the request. The address does need to meet our eligibility rules, which are listed in the faucet docs.

Can I use an ENS name in a faucet?

Not with our faucets. Enter a 0x address for EVM networks, or a Solana address for Solana Devnet. ENS names are not supported.

Background gradient

Build blockchain magic

Alchemy combines the most powerful web3 developer products and tools with resources, community and legendary support.