Crate aptos_faucet
source · [−]Expand description
This crate provides the Faucet service for creating and funding accounts on the Aptos Network.
THIS SERVICE SHOULD NEVER BE DEPLOYED TO MAINNET.
Launch service
Launch faucet service locally and connect to Testnet:
cargo run --bin aptos-faucet -- -c TESTNET -m <mint-private-key-path> -s http://localhost:8080 -p 8081
Check help doc for options details:
cargo run -p aptos-faucet -- -h
Modules
Structs
Functions
The idea is that this may be happening concurrently. If we end up in such a race, the faucets might attempt to send transactions with the same sequence number, in such an event, one will succeed and the other will hit an unwrap. Eventually all faucets should get online.