Create virtual environment (required once):
python3 -m venv .venv
Activate virtual environment (required every time a new terminal opened):
source .venv/bin/activate
Install dependencies (required once):
pip install -r requirements.txt
Provide .env
file:
cp .env.example .env
RPC server url may be taken at chainlist.
Connect to the chain and show some params:
python src/chain.py
Show wallet balance:
python src/wallet.py
Show transaction status:
python src/txn.py
- Web3.0 на Python, часть 1: основы (Russian)