A Truffle-like tool for Python smart contracts
Project description
pyTuft
A Truffle-like tool for managing Python smart contracts on Omne.
Installation
Prerequisites
Make sure you have the following installed:
- Python 3.6+
Installing pyTuft
pip install pyTuft
Configuration
Create a pyTuft_user_config.py
file in your project directory with the following content:
BLOCKCHAIN_URL = 'http://localhost:5000'
DEPLOYER_ADDRESS = '0xYourAddress'
Usage
Compile a Contract
pyTuft compile <contract>
Deploy a Contract
pyTuft deploy <contract>
Execute a Contract
pyTuft execute --contract_id <contract_id> --function_name <function_name> --args <arg1> <arg2>
Byte-compiled / optimized / DLL files
Running Tests
pyTuft test
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyTuft-1.0.0.tar.gz
(3.9 kB
view hashes)
Built Distribution
pyTuft-1.0.0-py3-none-any.whl
(4.6 kB
view hashes)