简体   繁体   English

使用 web3.py 将合约部署到 Rinkeby 测试网络

[英]Deploying contract to Rinkeby test network with web3.py

The basic tutorial on web3.py uses Web3.EthereumTesterProvider(). web3.py 的基础教程使用 Web3.EthereumTesterProvider()。 What would be the steps to deploy it to the Rinkeby test network with web3.py?使用 web3.py 将其部署到 Rinkeby 测试网络的步骤是什么? There doesn't seem to be much of a guide on the official page on this matter.官方页面上似乎没有太多关于这个问题的指南。

You can use HTTPProder:您可以使用 HTTPProder:

from web3 import Web3, HTTPProvider

web3 = Web3(HTTProvider(json_rpc_url_to_your_rinkerby_node))

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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