Skip to content

Ethereum smart contracts interface on top of web3py

License

Notifications You must be signed in to change notification settings

origliante/ethcc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ethcc

Ethereum smart contracts interface on top of web3py

In example.py you can find a definition for a flag map smart contract where you have two methods, updateFlagCoords and flagIdToCoords. Those two methods are said to accept and return an array of two ints, and in the model you can see how that is handled, so by defining an encode method and a decode method: those two will be automatically picked up - if defined - by the contract interface (ethcc/contract_interface.py).

TODO:

  • add contract creation
  • add logging
  • add tests

About

Ethereum smart contracts interface on top of web3py

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages