简体   繁体   中英

Deploying contract to Rinkeby test network with web3.py

The basic tutorial on web3.py uses Web3.EthereumTesterProvider(). What would be the steps to deploy it to the Rinkeby test network with web3.py? There doesn't seem to be much of a guide on the official page on this matter.

You can use HTTPProder:

from web3 import Web3, HTTPProvider

web3 = Web3(HTTProvider(json_rpc_url_to_your_rinkerby_node))

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM