Skip to main content

Simplified Ethereum for Python

Project description

Simpleth (Simplified Ethereum) simplifies the use of Python to interact with a Ganache Ethereum blockchain and its Solidity smart contracts.

Simpleth is a set of five Python facade classes that use the web3.py API to interact with the smart contracts through a Ganache Ethereum client.

Simpleth only supports a portion of the web3.py functionality - the portion that a Python developer uses to interact with contracts.

The aim is to provide Python developers a quick and easy way to:

  • deploy contracts onto the blockchain

  • run transactions in those contracts

  • call functions in those contracts

  • get values for public state variables in those contracts

  • use filters to find events emitted by those contracts

  • get data about the blockchain, contracts, transactions, and events

The intended audience:

  • Python developers who want to:

    • learn to code smart contracts in Solidity

    • play around with Ethereum and smart contracts using the Python interpreter and scripts

    • build proof-of-concept dapps with Python scripts or flask

    • build production dapps using Python in a single-user test environment

    • see a working example of the web3.py API by looking at simpleth internals

  • Solidity developers looking for examples of:

    • basic functions in a smart contract, esp. if just starting out

    • more advanced functions in a smart contract, esp. for use in medium-complexity dapps.

Full documentation at Read the Docs: https://simpleth.readthedocs.io/en/latest/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simpleth-0.1.33.tar.gz (54.5 kB view hashes)

Uploaded Source

Built Distribution

simpleth-0.1.33-py3-none-any.whl (52.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page