Skip to main content

CLI tools for interacting with Monad testnet

Project description

Monad Utils Kit 🚀

A lightweight Python toolset for Monad testnet interactions.


✨ Features

  • ✅ Monad address validator
  • 🛰️ RPC endpoint health checker
  • 🧪 Faucet claim simulator (dummy logic)
  • 🧠 Dev-ready structure for more Monad utilities

📦 File: utils.py

def is_valid_monad_address(address):
    return address.startswith("0x") and len(address) == 42

def mock_faucet_checker(address):
    if is_valid_monad_address(address):
        return f"Address {address} is valid. Faucet simulation: OK"
    return f"Invalid address: {address}"

def rpc_health_check(rpc_url):
    import requests
    try:
        res = requests.post(rpc_url, json={"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1})
        if res.status_code == 200:
            return f"✅ RPC working: {rpc_url}"
        else:
            return f"❌ RPC failed with status {res.status_code}"
    except Exception as e:
        return f"❌ Error: {e}"

---

## 🔍 Run Monad Wallet Analyzer Online

Use GitHub Codespaces to run it instantly in your browser (no setup needed):

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&repo=naufelaniq%2Fmonad-utils-kit)

### 🧪 Usage inside Codespaces

After opening in Codespaces:

1. Open the terminal (Ctrl+`)
2. Run the script:
   ```bash
   python fingerprint_rpc.py 0xYourWalletAddress

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

monad_utils_kit-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

monad_utils_kit-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file monad_utils_kit-0.1.0.tar.gz.

File metadata

  • Download URL: monad_utils_kit-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for monad_utils_kit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9c563df182d6a46c9440780670aecacb411a6417eb5b17dc45dad718d0021fef
MD5 4acfa9ba7cef0fba64350d5b92a2105e
BLAKE2b-256 11cbaadfaa652179b3ce97b7392ab821a184951d8f53a630ff0a5955dd791304

See more details on using hashes here.

File details

Details for the file monad_utils_kit-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for monad_utils_kit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a2db5ac11ff6bff85ee5e482b7c1ab8b18788fa045f206e3f9878ecba9d24a6
MD5 b3cff686f25b3f43cde87a946ce61fa0
BLAKE2b-256 17fc6b976956fb4b15a775ee5efbed705c892c94ec1b108d30f882583e57e920

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page