Terra Testnet Faucet - Go Packages

Go.
  • Why Go Why Go
    • Case Studies
    • Use Cases
    • Security
  • Learn
  • Docs Docs
    • Effective Go
    • Go User Manual
    • Standard library
    • Release Notes
  • Packages
  • Community Community
    • Recorded Talks
    • Meetups
    • Conferences
    • Go blog
    • Go project
    • Get connected

Details

  • checked Valid go.mod file

    The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.

  • checked Redistributable license

    Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.

  • checked Tagged version

    Modules with tagged versions give importers more predictable builds.

  • unchecked Stable version

    When a project reaches major version v1 it is considered stable.

  • Learn more about best practices

Repository

github.com/terra-project/faucet

Links

  • Open Source Insights Logo Open Source Insights
Jump to ...
  • README
    • Get tokens on Terra testnets
    • Usage
  • Documentation
  • Source Files
README

README ¶

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 Expand ▾ Collapse ▴

Documentation ¶

The Go Gopher

There is no documentation for this package.

Source Files ¶

View all Source files
  • faucet.go
Click to show internal directories. Click to hide internal directories.

Jump to

Close

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
Close go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic. Learn more. Okay