We use Python 3.5.3 on Ubuntu 16.04 with setup below: pip3 install web3==4.7.2 py-solc==3.2.0 python3 -m solc.install v0.4.24 export PATH=”$PATH:$HOME/.py-solc/solc-v0.4.24/bin” The core packages are: web3 : official python interface to interact with Ethereum blockchain py-solc: official python wrapper for solc (solidity compiler). Hence solc needs to be installed (covered in setup above) To compile a solidity… Read More
Compiling, deploying and calling Ethereum smartcontract using Python
Posted on