Skip to content

zargarzadehm/ergo-faucet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ErgoFaucet

This project is a Faucet service that aims to enable anyone to gain assets(Erg, Token) needed for test most beta Ergo Projects in Mainnet or Testnet network.

How to add any assets to faucet?

Create a issue and fill params (assets) according to below example:

name = "WT_ERG"
erg = "1000000" // How much erg should be in each box?
// What token (id) and how much of it should be in each box?
00c5c3d5641206d570374c3b03fb1e6a67c19f4495bd97a48a7243a739ca3ad7 = "100000"

ErgoFaucet address: 9h3DjWYXLriAn5cox3CeCFGxngTY3JQpy9RwZwP4x1xYAjeSN1G

Setup Back-End Side

Prerequisite

OpenJDK 8+

Download and install the appropriate OpenJDK binaries.

sbt 1.2.7

Install sbt 1.2.7 (manual)

ErgoFaucet Front-End Side

Get the latest ergo-faucet-ui

$ git submodule update --init

Build the ergo-faucet-ui (instructions)

move the ergo-faucet-ui/build into ergo-faucet/public

$ mv ergo-faucet-ui/build ergo-faucet/public

Installation

Build ergo-faucet

$ cd ergo-faucet
$ sbt assembly

Set the configs and update the keys. An example is available in ergo-faucet/conf/application.conf.

Run the ergo-faucet

$ java -Dconfig.file=path/to/config -jar ergo-faucet-<ERGO_FAUCET_VERSION>.jar