Skip to content

A test-token-giving bot frontend to the faucet.

Notifications You must be signed in to change notification settings

DataHighway-DHX/faucet-bot

 
 

Repository files navigation

Faucet Bot For Acala

Environment Required

  1. nodejs
  2. redis
  3. pm2

Setup environmental configuration

cp config.temle.toml config.toml

Make necessary changes for your environment inside the .toml file

Build with docker

docker-compose build

Run with docker

docker-compose up -d

Start with pm2

cd $PROJECT_ROOT

yarn

pm2 start

Discord setup

  1. Create discord bot - https://discord.com/developers/applications/796385212472229920/bot
  2. Enter token in config.toml, section [channel.discord]
  3. Go to OAuth2 section, check 'Bot' scope, check 'Send messages' permission
  4. Take OAuth2 url, open it. Pick a server, invite the bot.
  5. By default, 'faucet' text channel is used, you can change it in config.toml

! Remove Matrix section if you don't use Matrix.

About

A test-token-giving bot frontend to the faucet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 71.5%
  • JavaScript 28.0%
  • Dockerfile 0.5%