- add entry.py

This commit is contained in:
Julius Remigio 2022-11-01 12:28:51 -07:00
parent b3e689c091
commit 5efc3775ff

12
entry.py Normal file
View File

@ -0,0 +1,12 @@
import json
from web3 import EthereumTesterProvider
from web3.main import Web3
from web3.contract import decode_abi
w3 = Web3(None)
with open ('tether.json') as f:
tether = json.load(f)
contract_address = '0xdac17f958d2ee523a2206206994597c13d831ec7'
myContract = w3.eth.contract(address=contract_address, abi=tether)