mirror of
https://github.com/FlipsideCrypto/web3.py.git
synced 2026-02-06 10:56:47 +00:00
- add entry.py
This commit is contained in:
parent
b3e689c091
commit
5efc3775ff
12
entry.py
Normal file
12
entry.py
Normal 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)
|
||||
Loading…
Reference in New Issue
Block a user