Pyautoblockchain

Latest version: v0.5

Safety actively analyzes 682229 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.5

* New `init` command.
* New `pab run [-e/--envs]` option to load .env* files.
* Renamed `--keyfile` to `--keyfiles` to allow multiple accounts.
* New optional `PyAutoBlockchain[ui]` extension to install [PABUI](https://github.com/manuelpepe/PABUI).
* New config loading from ENVVARS/.env file for sensitive data (Personal 0xAddress, RPC, SMTP).
* Removed `edit-config` command.
* Removed deprecated functions from `pab.utils`.
* Multiple accounts.
* Load accounts from ENVVARS named `PAB_PK<index>`. `index` will be the index in `BaseStrategy.accounts`.
* Strategy API Change: Changed `BaseStrategy._transact(func, args)` to `BaseStrategy.transact(acc, func, args) -> web3.types.TxReceipt`. First parameter should be an Account from `BaseStrategy.accounts`. Now returns `web3.types.TxReceipt`.
* Strategy API Change: Removed `BaseStrategy.blockchain.read_contract`, now use `BaseStrategy.contracts.get`
* Strategy API Change: New property `BaseStrategy.contracts`.
* Strategy API Change: New property `BaseStrategy.accounts`.
* RTD documentation at [https://pyautoblockchain.readthedocs.io/](https://pyautoblockchain.readthedocs.io/)
* Renamed `pab.queue` to `pab.task`. Renamed `QueueLoader` to `TaskFileParser`.
* Removed `Queue` in favor of `TaskList`.

0.4

* Fix `edit-config` command.
* Removed eager config loading.
* New `-j/--json` parameter in `list-strategies` to export strategy data in JSON format for PABUI or other tools.

0.3.4

* Usage without private keys, if you are going to use read-only abis.

0.3.3

* Removed MANIFEST.in in favor of `package_data`

0.3.2

* Correctly fix defaults config file

0.3.1

* Fix exception "config.defaults.json not found" (renamed to config.sample.json)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.