Rename drone to faucet (#7508)
This commit is contained in:
19
multinode-demo/faucet.sh
Executable file
19
multinode-demo/faucet.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Starts an instance of solana-faucet
|
||||
#
|
||||
here=$(dirname "$0")
|
||||
|
||||
# shellcheck source=multinode-demo/common.sh
|
||||
source "$here"/common.sh
|
||||
|
||||
[[ -f "$SOLANA_CONFIG_DIR"/faucet-keypair.json ]] || {
|
||||
echo "$SOLANA_CONFIG_DIR/faucet-keypair.json not found, create it by running:"
|
||||
echo
|
||||
echo " ${here}/setup.sh"
|
||||
exit 1
|
||||
}
|
||||
|
||||
set -x
|
||||
# shellcheck disable=SC2086 # Don't want to double quote $solana_faucet
|
||||
exec $solana_faucet --keypair "$SOLANA_CONFIG_DIR"/faucet-keypair.json "$@"
|
Reference in New Issue
Block a user