Created
July 14, 2018 09:12
-
-
Save janfilips/e99f526ce7f10597119255f68b0c1015 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import json | |
import web3 | |
from web3 import Web3 | |
from solc import compile_source | |
from web3.contract import ConciseContract | |
from web3.providers.rpc import HTTPProvider | |
# web3.py instance | |
w3 = Web3(HTTPProvider('https://ropsten.infura.io')) | |
# set pre-funded account as sender | |
w3.eth.defaultAccount = w3.eth.accounts | |
print(w3.eth.accounts) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment