faucet: remove module (#678)

* changelog v0.4.0

* faucet: remove module

* changelog

* codecov
This commit is contained in:
Federico Kunze
2021-01-08 10:25:02 -03:00
committed by GitHub
parent 153478eb69
commit 4a619b1e1b
25 changed files with 66 additions and 974 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ Run a local node and start the REST and JSON-RPC clients {synopsis}
## Automated deployment
Run the local node with faucet enabled:
Run the local node
::: warning
The script below will remove any pre-existing binaries installed. Use the manual deploy if you want
-25
View File
@@ -311,31 +311,6 @@ For more information on seeds and peers, you can the Tendermint [P2P documentati
The final step is to [start the nodes](./run_node.md#start-node). Once enough voting power (+2/3) from the genesis validators is up-and-running, the testnet will start producing blocks.
## Testnet faucet
Once the ethermint daemon is up and running, you can request tokens to your address using the `faucet` module:
```bash
# query your initial balance
ethermintcli q bank balances $(ethermintcli keys show <mykey> -a)
# send a tx to request tokens to your account address
ethermintcli tx faucet request 100aphoton --from <mykey>
# query your balance after the request
ethermintcli q bank balances $(ethermintcli keys show <mykey> -a)
```
You can also check to total amount funded by the faucet and the total supply of the chain via:
```bash
# total amount funded by the faucet
ethermintcli q faucet funded
# total supply
ethermintcli q supply total
```
## Next {hide}
Learn about how to setup a [validator](./validator-setup.md) node on Ethermint {hide}