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.
You can install the latest release via pip:
pip install fastweb3-consoleOr 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 .Launch the console with:
fw3The 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.
First, install the dev dependencies:
pip install -e ".[dev]"Run the test suite with:
pytestRun linting with:
ruff check .This project is licensed under the MIT license.