Crate diem_faucet
source ·Expand description
This crates provides Faucet service for creating Testnet with simplified on-chain account creation and minting coins.
THIS SERVICE SHOULD NEVER BE DEPLOYED TO MAINNET.
Launch service
Launch faucet service local and connect to Testnet:
cargo run -p diem-faucet -- -a 127.0.0.1 -p 8080 -c TESTNET \
-m <treasury-compliance-private-key-path> -s https://testnet.diem.com/v1
Check help doc for options details:
cargo run -p diem-faucet -- -h
Development
Test with diem-swarm by add -m option:
cargo run -p diem-swarm -- -s -l -n 1 -m