Skip to main content

Interactive console and script runner for working with EVM blockchains.

Project description

fastweb3-console

Interactive console and script runner for working with EVM blockchains.

NOTE: This library is still in early alpha development. Prior to a v1.0.0 (which may never come), expect breaking changes and no backward compatibility between versions.

Installation

You can install the latest release via pip:

pip install fastweb3-console

Or clone the repository for the most up-to-date version:

git clone https://github.com/iamdefinitelyahuman/fastweb3-console.git
cd fastweb3-console
pip install -e .

Usage

Launch the console with:

fw3

The console starts as a normal Python REPL with the main fastweb3-objects entry points already available:

>>> accounts
<Accounts ...>
>>> Chain
<class 'fw3_objects.chain.Chain'>
>>> Contract
<class 'fw3_objects.contract.Contract'>
>>> Transaction
<class 'fw3_objects.transaction.Transaction'>

Users familiar with the Brownie console should feel right at home.

Development

First, install the dev dependencies:

pip install -e ".[dev]"

Run the test suite with:

pytest

Run linting with:

ruff check .

License

This project is licensed under the MIT license.

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

fastweb3_console-0.1.0.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastweb3_console-0.1.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file fastweb3_console-0.1.0.tar.gz.

File metadata

  • Download URL: fastweb3_console-0.1.0.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for fastweb3_console-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1670b78c716b1300af8d2941e4a980a92a754b143f93b09fb28a5343cf480b2b
MD5 9b17ed5acc51a7e2e663560b1419a1a9
BLAKE2b-256 0c037f7cdb7a54d905b99de8af38b0b881aadc934ad6fdf0ab97b4cf1afde48f

See more details on using hashes here.

File details

Details for the file fastweb3_console-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fastweb3_console-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56c0e6069fa67a4e6ab7b941c3ede3bfda3ef38ed790d003b99e85b7bd63014b
MD5 6becd7246c651e5de2e0e00808a9f420
BLAKE2b-256 ce5035d3c0cb6417c4db2ce84783d7fdb582d000e240a79052dc149fc4276939

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page