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.
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
Download and install the appropriate OpenJDK binaries.
Install sbt 1.2.7 (manual)
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
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