This is an opinionated web3 library.
- async as the first citizen.
- websocket support as the first citizen.
- it supports
eth_subscribe()andeth_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}")
- 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:
- install
poetry - under this folder, run
poetry install - then run
poetry shell - start the development
- run
poetry run pytest - send PR
Metadata
Release files for async-web3 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| async-web3-0.3.1.tar.gz | 9.8 kB | Without provenance | Details for async-web3-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| async_web3-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for async_web3-0.3.1-py3-none-any.whl |
Total release size: 21.2 kB
Release files / async-web3-0.3.1.tar.gz
| Download URL | async-web3-0.3.1.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd9703c777663a9cf7cc09162cb11f331e766f02cad41503a40d133e7478294b
|
|
BLAKE2b-256 checksum How to use checksums |
a3d0416d7d51c853963aaaf2659e25d96ae1eb3afad6312f9b35d7df43029e54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.6 CPython/3.9.5 Linux/5.4.0-1047-azure
|
Release files / async_web3-0.3.1-py3-none-any.whl
| Download URL | async_web3-0.3.1-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89368dfaabcf6cddcb9038a19a13a9bda512a43cc29aeba841251775707403de
|
|
BLAKE2b-256 checksum How to use checksums |
535f5186913dd8b1c59a2b1a68c878775b6f88ee07c2c40a2450f587aedddbc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.6 CPython/3.9.5 Linux/5.4.0-1047-azure
|
Security for async-web3 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.