Search code examples
pythonpython-3.xethereumsoliditysmartcontracts

How to build smart-contract in network etherium on solidity via python?


I have a smart contract written in solidity, I want to generate this smart contract directly from Python and place it on the etherium network programmatically, automatically, is it possible ? If so, how? Any examples? An example of a smart contract I have: Safe Remote Purchase


Solution

  • You can write a python script and use web3.py to deploy your contract or call its functions, if that is what you mean.

    Check web3.py documentation

    Also, the answer provided to this question may be useful to you.