A Python-based CLI tool for deploying and managing smart contracts on various blockchain platforms like Ethereum, Binance Smart Chain, and Polygon.
This tool streamlines the deployment process and makes it easier for developers to test and manage their contracts.
- Python 3.x
click
eth-account
eth-brownie
eth-utils
web3
-
Clone the repository https://github.com/recorner/Python-Smart-Contract-tool.git
-
Install the required packages pip install -r requirements.txt
python cli.py deploy <contract_name> <private_key> [args...]
Example: python cli.py deploy ethereum my_contract_file 0x1234...5678 arg1 arg2 arg3
python cli.py get_balance
Example: python cli.py get_balance polygon_mumbai 0x1234...5678
- Fork the repository
- Create your feature branch (
git checkout -b feature/my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin feature/my-new-feature
) - Create a new Pull Request
This project is licensed under the MIT License. See the LICENSE file for details.