joseabraham / mumbai-matic-faucet-get-tokens

This script automates getting MATIC - POLYGON Mumbai tokens from the Polygon Faucet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GET MATIC - POLYGON FAUCET TOKENS

This script will add fetch MATIC - POLYGON Tokens from the Mumbai Faucet, the faucet graylists every successfull request for 60sec, the script will run and retry to get tokens after the graylist expires and also retry if there's an error in the request as sometimes the faucet returns errors. It gets 0.1 MATIC on every successful request.

USE VENV

virtualenv venv
source venv/bin/activate
pip3 install -r requirements.txt

RUN

python3 faucet_polygon.py

ADD WALLET ADDRESS TO .env FILE

WALLET_ADDRESS="XXXX"

DISCLAIMER

Please don't abuse this script, I use it to automate getting some MATIC tokens in Mumbai for testing purposes. Sometimes the API endpoint returns 403-404 errors.

About

This script automates getting MATIC - POLYGON Mumbai tokens from the Polygon Faucet

License:MIT License


Languages

Language:Python 100.0%