The goal of this Software Development Kit was to build accessible abstractions from the Smart Contracts repository as Python Classes that can be easily installed in a server-side environment and allow communication between the Off-Chain applications and Ethereum compatible protocols. The Smart Contract instances are pre-built through Contracts-API, making it easier for a user to connect and perform read/write functionality in other projects.
pip install -i https://test.pypi.org/simple/ smart-contracts-sdk
git clone https://github.com/kimanikelly/contracts-sdk.git
Main project build
pip install build
Install Ganache for local source code testing
npm install ganache --global
Open one terminal and run the command to start the local Ethereum network
sh ganache.sh
Open another terminal and run the command to start the unit tests
pytest
The Off-Chain Class abstraction of Token.sol
The Off-Chain Class abstraction of TTBank.sol