Skip to content

Software Development Kit for interacting with Solidity Smart Contracts, aiming to build Off-Chain applications from Ethereum compatible protocols. Built with https://github.com/kimanikelly/contracts-api for accessing Smart Contract Addresses, ABI's, and Bytecode.

Notifications You must be signed in to change notification settings

kimanikelly/contracts-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

contracts-sdk

Python application Publish Python 🐍 distributions 📦 to PyPI and TestPyPI

Summary

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.

Test PyPI Package Installation

pip install -i https://test.pypi.org/simple/ smart-contracts-sdk

Source Code Installation

git clone https://github.com/kimanikelly/contracts-sdk.git

Source Code Dependency Installation

Main project build

pip install build

Install Ganache for local source code testing

npm install ganache --global

Source Code Testing

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

Smart Contract Classes

The Off-Chain Class abstraction of Token.sol

The Off-Chain Class abstraction of TTBank.sol

About

Software Development Kit for interacting with Solidity Smart Contracts, aiming to build Off-Chain applications from Ethereum compatible protocols. Built with https://github.com/kimanikelly/contracts-api for accessing Smart Contract Addresses, ABI's, and Bytecode.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published