Testnet faucet extractor (Proof of Concept)
Project description
Faucet Extractor PoC
This project is a Proof of Concept (PoC) for a faucet extractor. It sends a request to a given URL of a faucet and tries to claim a testnet token.
Features
- Sends a request to a specified faucet URL
- Attempts to claim testnet tokens
Requirements
- Python 3.10
requestslibrarypython-dotenvlibrary
Environment Variables
The following environment variables need to be set before using the project:
DISCORD_WEBHOOK_URL(optional) - Discord webhook URL for notificationsERC20_ADDRESSES- Comma-separated list of ERC20 addressesBERA_FAUCET_URL- Bera faucet URLMONAD_FAUCET_URL- Monad faucet URL
Installation
Method 1: Install from PyPI (Recommended)
Install the package directly from PyPI:
pip install faucet-extractor-poc
Method 2: Install from Source
-
Clone the repository:
git clone https://github.com/niagarafinance/faucet-extractor-poc.git
-
Navigate to the project directory:
cd faucet-extractor-poc
-
Install the package in development mode:
pip install -e .
Usage
Before running the project, make sure to set the required environment variables.
export BERA_FAUCET_URL="https://bera-faucet-url.com"
export MONAD_FAUCET_URL="https://monad-faucet-url.com"
To run the project, use the appropriate command:
Using the installed package
faucet-extractor --faucet MON 0x1234567890123456789012345678901234567890
Multiple addresses with faucet type
faucet-extractor --faucet BERA 0xAddress1 0xAddress2 0xAddress3
Using environment variable with faucet
export ERC20_ADDRESSES="0xAddress1,0xAddress2"
faucet-extractor --faucet BERA
Running directly from the source
If you installed from source, you can also run the module directly:
python -m src.faucet_extractor_poc.extract --faucet MON 0x1234567890123456789012345678901234567890
Show help
faucet-extractor --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file faucet_extractor_poc-1.2.2.tar.gz.
File metadata
- Download URL: faucet_extractor_poc-1.2.2.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c3128cf7c98d92d9f8cbb0da785106acac198d3cbb2c0819546f17833d11e86
|
|
| MD5 |
a00209c2dbb727d765cf0b497856f636
|
|
| BLAKE2b-256 |
95b2c310036b18c652bf09248f6a8a131fe53a8d64d4066f73af114b444316f2
|
Provenance
The following attestation bundles were made for faucet_extractor_poc-1.2.2.tar.gz:
Publisher:
python-publish.yml on niagarafinance/faucet-extractor-poc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
faucet_extractor_poc-1.2.2.tar.gz -
Subject digest:
1c3128cf7c98d92d9f8cbb0da785106acac198d3cbb2c0819546f17833d11e86 - Sigstore transparency entry: 185003238
- Sigstore integration time:
-
Permalink:
niagarafinance/faucet-extractor-poc@ffdd02154400b05be5bc292c82b86110c06f8837 -
Branch / Tag:
refs/tags/v1.2.2 - Owner: https://github.com/niagarafinance
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@ffdd02154400b05be5bc292c82b86110c06f8837 -
Trigger Event:
release
-
Statement type:
File details
Details for the file faucet_extractor_poc-1.2.2-py3-none-any.whl.
File metadata
- Download URL: faucet_extractor_poc-1.2.2-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdabfd8235f0720204b74627a7a8dd2e140e0402e7034c3e09585d9037a16161
|
|
| MD5 |
52f7484b2c3621f250e30f4ce60d40e1
|
|
| BLAKE2b-256 |
c46a8b2d0c6f7fd2e5d575ad8cb2e33983d98e54f042b783525707976b428b76
|
Provenance
The following attestation bundles were made for faucet_extractor_poc-1.2.2-py3-none-any.whl:
Publisher:
python-publish.yml on niagarafinance/faucet-extractor-poc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
faucet_extractor_poc-1.2.2-py3-none-any.whl -
Subject digest:
bdabfd8235f0720204b74627a7a8dd2e140e0402e7034c3e09585d9037a16161 - Sigstore transparency entry: 185003245
- Sigstore integration time:
-
Permalink:
niagarafinance/faucet-extractor-poc@ffdd02154400b05be5bc292c82b86110c06f8837 -
Branch / Tag:
refs/tags/v1.2.2 - Owner: https://github.com/niagarafinance
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@ffdd02154400b05be5bc292c82b86110c06f8837 -
Trigger Event:
release
-
Statement type: