EVM Faucet App
The tokens that are dropped by the faucet are not actual wrapped tokens but instead they are simulated wrapped tokens that just exist on our network. This means that these tokens do not have any real-world value and are only meant for testing or educational purposes, and they don't exist on the selected Testnet.
Uses:
- NodeJs
- Express
- EJS
- Tailwindcss
- Ethersjs
Setup
cp .env.example .env
and replace the variables with your custom ones.npm install --save-dev
Deploy Contracts
- Run
npx hardhat run --network ShimmerEVMTestnet ./scripts/deployEverything.js
to deploy all tokens incontracts/tokens.json
, create faucets for them, and update both thetokens.json
andfaucets.json
files with new addresses.
Note: If you want to allow another address to request funds from the faucet besides the deployer, set the env var FAUCET_ADMIN
with this address before running the script.
Since the testnet can be slow to update, if you set SEND_BLOCK_TXNS
to true
then your wallet will send six zero value transfer transactions to help move the network along while we wait to verify the contracts.
Run
npm start
or nodemon
Open the webapp on your browser.