如何通过python在网络etherium上构建智能合约?

时间:2019-11-19 07:19:02

标签: python python-3.x ethereum solidity smartcontracts

我有一个牢固编写的智能合约,我想直接从Python生成此智能合约,并以编程方式自动将其自动放在以太网络上,这有可能吗?如果是这样,怎么办?有什么例子吗?我有一个智能合约的示例:Safe Remote Purchase

1 个答案:

答案 0 :(得分:1)

您可以编写python脚本,然后使用web3.py部署合同或调用其功能。

选中web3.py documentation

此外,提供给this的答案  问题可能对您有用。