Skip to content

fraidev/faucet-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Faucet Bot

hehe, money printer go brrr

Purpose

This is a simple HTTP server to automate acquiring funds on Tezos test nets. With this app in place, it's easy to automate setting up and funding new Tezos wallets, as is done for Deku development.

Implementation

The app is implemented as a NodeJS/Express app that listens to port 3000. It uses the wonderful Taquito library to handle interactions with Tezos.

Deployment

yarn install
yarn start

The app uses the following environmental variables:

  • TEZOS_RPC_URL - the URL of the RPC node to connect through. You can find a list of available public nodes on the Taquito docs
  • TEZOS_SECRET_KEY - a EDSK key representing a Tezos address on the test network.
  • PORT - the port to listen on. Defaults to 3000

Additionally, you can build and run with Docker like so:

docker build . -t faucet-bot
docker run --name faucet-bot \
  --restart always \
  -p 3000:3000
  -e TEZOS_SECRET_KEY \
  -e TEZOS_RPC_URL \
  faucet-bot

About

Automated money hand-outs for Tezos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •