buguet-1.0.3
توضیحات
Ethereum debugger
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | buguet-1.0.3 |
| نام | buguet |
| نسخه کتابخانه | 1.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | dr6kl |
| ایمیل نویسنده | dr6kl@protonmail.com |
| آدرس صفحه اصلی | https://github.com/dr6kl/buguet |
| آدرس اینترنتی | https://pypi.org/project/buguet/ |
| مجوز | GPL |
# Buguet
Ethereum Debugger (for smart contracts in Solidity).
### Prerequisites
python3
Ethereum node running in archive mode with debug api. E.g. geth:
```
geth --rpc --rpcapi eth,debug --gcmode archive
```
By default localhost:8545 endpoint is used.
Compiled contracts in format produced by `solc` with `--combined-json` option.
Each contract called in transaction should be compiled with the same solidity
version as it deployed on the blockchain (multiple versions can be used for one transaction).
### Installation
```
pip install buguet
```
### Usage
Basic usage is:
```
buguet contract1.json,contract2.json transaction_id
```
See ```buguet --help``` for all options.
### Commands
```
help (h) Print help
step (s) Step into function
next (n) Next line in current frame
stepout (so) Step out of current function
continue (c) Continue execution
break {file}:{line} Set breakpoint
breakpoints List breakpoints
unbreak {idx} Remove breakpoint
stack Print current stack
mem Print memory
op Print and execute one instruction
{expr} Evaluate expression
```
نیازمندی
| مقدار | نام |
|---|---|
| <5,>=4.7.2 | web3 |
| <2,>=1.0.2 | pysha3 |
| <2,>=1.1.0 | termcolor |
نحوه نصب
نصب پکیج whl buguet-1.0.3:
pip install buguet-1.0.3.whl
نصب پکیج tar.gz buguet-1.0.3:
pip install buguet-1.0.3.tar.gz