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. (IPC will be added in the near future)
  3. it supports eth_subscribe() and eth_unsubscribe().
        w3 = AsyncWeb3("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.2.4.tar.gz (9.6 kB view hashes)

Uploaded Source

Built Distribution

async_web3-0.2.4-py3-none-any.whl (10.9 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