Last updated:
0 purchases
asyncweb3 0.3.1
This is an opinionated web3 library.
async as the first citizen.
websocket support as the first citizen.
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}")
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
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.