Ethereum smart contracts interface on top of web3py
Project description
# 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ethcc-0.1.0.tar.gz
(3.0 kB
view details)
File details
Details for the file ethcc-0.1.0.tar.gz
.
File metadata
- Download URL: ethcc-0.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ca2128ff2ee3c0a1abbffc5344d7b83e4bb48b2e3bd0c2f9e71983bae192194 |
|
MD5 | 48334524c0d5b1eb04bb86cb9aefd0e9 |
|
BLAKE2b-256 | b2becb07fefb11d1a33d5589e672e6d9402cd8cc4ab375fa30bb2aa8b3082ade |