How to use Presto with web3.py

  1. Create your rollup (How to Create a Rollup), open it and get the RPC url (What Is RPC)

from web3 import Web3

presto = Web3(
    Web3.HTTPProvider(
        "<L2 RPC URL>"
    )
)

Last updated