跳至内容

什么是测试网?

测试网是一个镜像主网(生产环境)的区块链网络,让开发者可以在不花费真实资金的情况下部署、测试和优化智能合约。像 Ethereum 和 Polygon 这样的主网链会收取以真实代币计价的 gas 费用(需要花费真实资金)。测试网用免费的测试代币取代了这些费用。 测试网水龙头会向开发者和用户分发这些代币。从 Ethereum SepoliaArbitrumBase 开始。
faucet

如何使用 Alchemy 水龙头

  • Select faucet icon

    选择你的水龙头

    选择你需要获取代币的测试网。我们支持 Ethereum、Arbitrum、Base、Robinhood 及其他多个网络。

  • Wallet icon

    添加你的钱包地址

    要申请资金,请输入你的钱包地址并点击“发送”。你的钱包必须有效、活跃且信誉良好才符合申请条件。

  • 24/7 支持图标

    每 24 小时获取一次资金

    申请后,你会看到测试网代币到账,可用于测试。24 小时后可再次申请资金。

常见问题

水龙头相关问题

  • A testnet faucet provides developers with free test tokens for deploying, testing, and optimizing smart contracts on test blockchain networks such as Sepolia and Amoy. Smart contracts on public (mainnet) blockchains like Ethereum and Polygon require gas fees to run, and testnets mirror that production environment but replace the real tokens with test tokens, minimizing development costs associated and exploit risks. Testnet faucets give developers access to those test tokens. Most faucets require social authentication (e.g. a post on X or a login confirming you are a real human) or place you in a queue to wait for a testnet token through the faucet. However, the Alchemy faucet is free, fast, and does not require authentication.
  • To request funds from one of Alchemy's faucets, simply enter your wallet address for that network and hit the send button. To prevent faucet abuse, we've set some eligibility requirements that wallets must meet in order to receive faucet tokens. You can request testnet tokens every 24 hours without authentication.
  • Testnet tokens are a test currency that allows you to test your application before going live in production on mainnet. Testnet tokens can be used in place of mainnet tokens on testnet networks.
  • The time it takes for you to receive your test tokens may vary. This could be because the network may be congested at that time, or the amount of gas we have set for these transactions may be a little low compared to other transactions that miners may choose to validate instead. Keep an eye on your wallet. Your faucet transaction will land soon enough.
  • To prevent abuse and ensure a reliable faucet experience for all users, we apply a daily limit per address. This limit resets every 24 hours.
  • To keep the faucet fair and accessible, your wallet must meet a few requirements before you can successfully claim testnet tokens. You need at least 0.001 ETH on Ethereum Mainnet for EVM-based testnets, or an equivalent minimum balance on the corresponding chain mainnet for non-EVM networks. You need sufficient activity on Ethereum Mainnet for EVM-based testnets, or on the corresponding chain mainnet for non-EVM networks, to qualify. This means your wallet must have performed enough real transactions on the relevant mainnet. You need to have a low enough existing testnet balance since wallets with a significant amount of testnet tokens are not eligible for additional claims.
Background gradient

Building on testnet?

You'll need an RPC endpoint to deploy and test.