Skip to main content

Async Web3 library

Project description

This is an opinionated web3 library.

  1. async as the first citizen.
  2. websocket support as the first citizen.
  3. it supports eth_subscribe() and eth_unsubscribe().
        w3 = AsyncWeb3(WebsocketTransport("ws://127.0.0.1:8546"))
        await w3.connect()
        block_stream = await w3.subscribe_block()
        async for new_block in block_stream:
            print(f"got new block: {new_block}")
  1. It has no middleware support.

This library tries to simplify the interaction with the deployed contracts. If you want to deploy a new smart contract, please checkout the awesome brownie tool.

How to Contribute:

  1. install poetry
  2. under this folder, run poetry install
  3. then run poetry shell
  4. start the development
  5. run poetry run pytest
  6. send PR

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

async-web3-0.3.1.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

async_web3-0.3.1-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file async-web3-0.3.1.tar.gz.

File metadata

  • Download URL: async-web3-0.3.1.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.5 Linux/5.4.0-1047-azure

File hashes

Hashes for async-web3-0.3.1.tar.gz
Algorithm Hash digest
SHA256 fd9703c777663a9cf7cc09162cb11f331e766f02cad41503a40d133e7478294b
MD5 5b1c06239e533373122708eb15bc803c
BLAKE2b-256 a3d0416d7d51c853963aaaf2659e25d96ae1eb3afad6312f9b35d7df43029e54

See more details on using hashes here.

File details

Details for the file async_web3-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: async_web3-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.5 Linux/5.4.0-1047-azure

File hashes

Hashes for async_web3-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 89368dfaabcf6cddcb9038a19a13a9bda512a43cc29aeba841251775707403de
MD5 d32738e0c448e7efd6cf48c23885ea94
BLAKE2b-256 535f5186913dd8b1c59a2b1a68c878775b6f88ee07c2c40a2450f587aedddbc3

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