Skip to content

phoenix-directive/faucet

 
 

Repository files navigation

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.

About

Faucet to get free coins for the Terra testnet

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 39.4%
  • Go 37.2%
  • SCSS 19.0%
  • Dockerfile 2.7%
  • HTML 1.7%