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.65.tar.gz (58.6 kB view details)

Uploaded Source

Built Distribution

simpleth-0.1.65-py3-none-any.whl (56.2 kB view details)

Uploaded Python 3

File details

Details for the file simpleth-0.1.65.tar.gz.

File metadata

  • Download URL: simpleth-0.1.65.tar.gz
  • Upload date:
  • Size: 58.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for simpleth-0.1.65.tar.gz
Algorithm Hash digest
SHA256 98cffe1b9981ffe79e113744317b3127d9eb1fd65c4119caaa7f98f19a4ad2d8
MD5 3a2790fb18021f2ed4cb03806210df2f
BLAKE2b-256 46e61317c95661b1ac387be321c2d7348f0b7b27afa68f276663d875179f2be4

See more details on using hashes here.

File details

Details for the file simpleth-0.1.65-py3-none-any.whl.

File metadata

  • Download URL: simpleth-0.1.65-py3-none-any.whl
  • Upload date:
  • Size: 56.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for simpleth-0.1.65-py3-none-any.whl
Algorithm Hash digest
SHA256 1229995d63469ad4b5dc7691edeada9835aa1acaf98d7a3f954a10eb4c136c39
MD5 8a529aa7a27c757c617ff3b11ed7afd7
BLAKE2b-256 d7cd971ba99caa1e3b3a6821f57c87712e12000148096f68edad5849ce08e2f2

See more details on using hashes here.

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