Skip to content

iamdefinitelyahuman/fastweb3-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Interactive console for working with EVM blockchains.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors