Usage requires Python 3.6+
Clone the repository and navigate into the project directory. Make a Python 3 virtual environment and activate it via
python3 -m venv venv
source venv/bin/activate
or to explicitly install Python 3.6 via
virtualenv -p /usr/local/bin/python3.6 venv
source venv/bin/activate
Then install the requirements via
pip install -r requirements.txt
The template may be compiled as follows
python3 compile.py
This will compile your template to genki_smart_contract.avm
In neo-python prompt:
import contract ../NeoHackathon/genki_smart_contract.avm 0702 05 True False
In neo-python prompt:
testinvoke {contract_hash} deploy []
In neo-python prompt:
testinvoke {contract_hash} circulation []
testinvoke {contract_hash} token_sold []