Skip to content

mention @trb-faucet on twitter with a network & address, then receive test TRB tokens

Notifications You must be signed in to change notification settings

MarvinL96/trb-faucet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trb-faucet

mention @trb-faucet on twitter with a network & address, then receive test TRB tokens

Currently only Polygon Mumbai and Goerli testnets are supported. Check constants.py for specific chain IDs.

Setup

  • install python >= 3.7
  • create a virtualenv python3 -m venv env
  • activate the virtualenv source env/bin/activate
  • install dependencies pip install -r requirements.txt
  • create a twitter app and get the keys
  • copy and rename .env.example to .env and fill in the keys

The account you're using to fund faucet tweet requests must have testnet MATIC, testnet ETH (Goerli), and the special TRB on Goerli (not generated from Playground contract faucet function.

Run

  • python faucet/main.py

TODO

  • need function for checking if funding address has enough funds to send to given address
  • send goerli test eth using transfer, not faucet

About

mention @trb-faucet on twitter with a network & address, then receive test TRB tokens

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.4%
  • Shell 1.6%