Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.13 KB

File metadata and controls

34 lines (22 loc) · 1.13 KB

Terra Testnet Faucet

banner

Terra Testnet Faucet is a client tool that allows anyone to easily request a nominal amount of Terra or Luna assets for testing purposes. This app needs to be deployed on a Terra testnet full node, because it relies on using the terracli command to send tokens.

WARNING: Tokens recieved over the faucet are not real assets and have no market value.

This faucet implementation is a fork of the Cosmos Faucet.

Get tokens on Terra testnets

Using the testnets is really easy. Simply go to https://faucet.terra.money, chose your network and input your testnet address.

Usage

Build the docker image.

docker build -t faucet .

Run it with the mnemonic and your Cloudflare Turnstile secret as env vars.

docker run -p 3000:3000 \
    -e MNEMONIC=$MY_MNEMONIC \
    -e TURNSTILE_SECRET=$TURNSTILE_SECRET \
    -e PORT=8080 \  # default to 3000
    faucet

The frontend expects the matching Turnstile site key. Set REACT_APP_TURNSTILE_SITE_KEY when running the UI locally, or adjust frontend/src/components/Home.js to hardcode it.