Socket
Socket
Sign inDemoInstall

async-web3

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-web3

Async Web3 library


Maintainers
1

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc