Skip to content

Instantly share code, notes, and snippets.

@lcfr-eth
Last active April 30, 2022 08:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lcfr-eth/bce19583faf56c871d28ee50948efaf5 to your computer and use it in GitHub Desktop.
Save lcfr-eth/bce19583faf56c871d28ee50948efaf5 to your computer and use it in GitHub Desktop.
from web3 import Web3, HTTPProvider
w3 = Web3(HTTPProvider("https://mainnet.infura.io/v3/yourkey"))
for name in open("./list").readlines():
w3.ens.address(name.strip()+".eth")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment