A simple BSC testnet faucet that allows developers to claim free BNB tokens for testing purposes on the Binance Smart Chain testnet.
- Built using Next.js and ethers.js
- Connect wallets via Web3Modal with support for WalletConnect
- Provides 0.01 BNB per claim, limited to one claim per hour
- Displays user wallet address, balance, faucet contract balance, and number of times users have been funded
- Provides transaction feedback with loader and confirmation count
- Web3ModalBscFaucet → Main React component handling wallet connection, faucet interactions, and UI.
- Integrated in the website
page.jsxfor direct access. - Uses
style/faucetCss.cssfor styling.
- Connect wallet using MetaMask or WalletConnect
- Claim testnet BNB (0.01 BNB per hour)
- View current contract balance
- View the number of times people have been funded
- Transaction status updates with loader and confirmation display
- Clone the repository:
git clone https://github.com/granat207/BscTestnetFaucet-Frontend.git
cd BscTestnetFaucet-Frontend- Install dependencies:
yarn install- Add your RPC URL for BSC testnet in
providerOptions. - Start the development server:
yarn dev- Open the web app in your browser.
- Connect your wallet using MetaMask or WalletConnect.
- Request 0.01 BNB from the faucet (once per hour).
- Observe transaction confirmation and updated balances.
- Only works on BSC Testnet.
- Make sure to use the testnet network in your wallet.
- Backed by Daniel.eth (Twitter: @0xDaniel_eth)
MIT License