/faucet-2

Faucet to get free coins for the Terra testnet

Primary LanguageJavaScriptMIT LicenseMIT

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 recaptcha key as env vars.

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