Guide provider demos

Visual preview of a GitHub Gist. Creating and updating the real Gist requires a GitHub token.

demo-author / connection_check.pyPublic

Minimal Web3 connection check used by the deployment guide.

connection_check.py
from web3 import Web3

rpc_url = "https://ethereum-rpc.publicnode.com"
web3 = Web3(Web3.HTTPProvider(rpc_url))

print("Connected:", web3.is_connected())
print("Latest block:", web3.eth.block_number)