Guide provider demos

Visual preview of a HackMD note. Publishing and API editing require a HackMD token.

Web3 Deployment Guide

Demo Author ยท Updated September 28, 2026

This example shows how a public Markdown guide can combine deployment steps with a readable code block.

Deployment instructions

Connection check

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)

Once the connection succeeds, continue with the deployment workflow shown by the service.