Code Monkey home page Code Monkey logo

faucet's Introduction

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

faucet's People

Contributors

bluedisk avatar brianterra avatar cui-di avatar dependabot[bot] avatar dokwon avatar emidev98 avatar engineering-terra-money avatar etienne-napoleone avatar gregnuj avatar hanjukim avatar javiersuweijie avatar ny6234 avatar tuky191 avatar yun-yeo avatar ziwon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

faucet's Issues

node address should be full-node address not seed-node

https://github.com/terra-project/faucet/blob/1e5ba51a261b77f40270c0e96191d7a9b8cb931b/env.json#L3

Problem
It looks like lcd requests connection to the seed-node for querying. But, seed-node is just directory node like DNS so it will convey addresses of full-nodes.

Proposal
Lcd should connect to a full node. Or faucet should run a full node and connect to local full node, then the full node connects to a seed-node to get addresses of other full-nodes.

Add env var for server port

ECS fargate has some annoying restriction where host port should be == to container port in awsvpc networking mode.
to avoid port collision in target group, it's important to be able to set the correct port

Faucet not working

I'm tryng to get UST but I get back alwasy "An error occurred: Invalid request"
Is it the faucet still working?

Get token in soju-13 network

I accessed to faucet link but cannot switch the network from Vodka to Soju to get token. Where I can get token in the Soju network?

Change unit for denom in pop-up message

Summary

When success, denom unit on pop-up message stays in micro and address is cut off in UI.
denom_unit_sending

Request

Users should be able to see the actual amount and denom of tokens.
Message should say "Successfully sent 10 Luna to {address}" without cutoff in UI.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.