Discord faucet bot for LAva
List of available commands:
- Request coins through the faucet
$request lava@1a5zxevtdwhy4ddj662rl8xqyqsnrdmv7007g32
Transaction status explanation:
✅ - mean bot send transaction to your address
-
Displays the current status of the node where faucet is running
$faucet_status
-
Show faucet address
$faucet_address
-
Show transaction information for a specific transaction ID
$tx_info 5C501EA776F66ADB6A5A3C13D876382FFE431A461E1AA7AD7A19D70C6B765A97
-
Show address balance
$balance lava@1a5zxevtdwhy4ddj662rl8xqyqsnrdmv7007g32
- python3.10+
- Cosmos REST server (default port 1317)
- Cosmos RPC server (default port 26657)
- Run command below
apt update \
&& apt install -y python3-pip python3-venv git tmux \
&& git clone https://github.com/lavanet/lava-discord-faucet.git \
&& cd lava-discord-faucet \
&& python3 -m venv venv \
&& source venv/bin/activate \
&& pip3 install -r requirements.txt
- Create Discord token
- Fill in config.ini
- Fill in .env file (see env.example)
- Invite the bot to your channel
- Start Lava Daemon and sync the node
Start faucet bot
tmux new -s discord_faucet_bot -d cd ~/lava-discord-faucet && source venv/bin/activate && python3 discord_faucet_bot.py
-
If necessary, change the username and the path to the script folder in
discord-faucet-bot.service
-
Start the service
ln -s $HOME/lava-discord-faucet/lava-faucet-bot.service /etc/systemd/system/ \
&& systemctl daemon-reload \
&& systemctl enable lava-faucet-bot.service \
&& systemctl start lava-faucet-bot.service \
&& systemctl status lava-faucet-bot.service