Smart-Contract-with-Python
Smart-Contract-with-Python copied to clipboard
Simple python code for deploying & interacting with smart contract
Smart-Contract-Example
Simple python code for deploying & interacting with smart contract.
This is a term project I finished in class. The contract (provided by TA) can be found here.
Dependency
- web3
- solc (see this issue if you have problem installing this)
Content
-
transaction.py
Submit student ID / token / hash (first argument) to the contract
-
deploy.py
Deploy a new contract (hello world) to ethereum testnet