Skip to content
Python libs and interfaces for Komodo cryptoconditions consensus modules
Branch: master
Clone or download
Latest commit d62d842 May 19, 2019

README.md

Python tools and libs for Komodo CC modules usage demonstration

These tools creating for demonstration and partial automation of Komodo cryptoconditions modules testing. (RogueCC game, AssetsCC, OraclesCC, GatewaysCC, MarmaraCC, ...)

Developer installation (on Ubuntu 18.04) :

Python3 required for execution:

  • sudo apt-get install python3.6 python3-pip libgnutls28-dev

pip packages needed:

  • pip3 install setuptools wheel slick-bitcoinrpc
  • or pip3 install -r requirements.txt

For prices visualisation you'll also need additonal Dash framework deps:

  • pip3 install dash dash-daq flask pandas

Starting:

Web-app interface for PricesCC

To start web-app just sync REKT0 daemon first and then run:

python3 prices_app_v2.py

By default app will be availiable on port 777 (can be changed in prices_app_v2.py, as well as assetchain name)

alt text

TUI for RogueCC

If you're looking for player 3 in 1 (daemon + game + TUI) multiOS bundle - please check releases of this repo.

python3 rogue_tui.py

alt text

TUI for OraclesCC

Have files uploader/downloader functionality - also there is a AWS branch for AWS certificates uploading demonstration

python3 oracles_cc_tui.py

alt text

TUI for GatewaysCC

alt text

python3 gateways_creation_tui.py

python3 gateways_usage_tui.py

At the moment raw version of manual gateway how-to guide can be found here: https://docs.komodoplatform.com/cc/contracts/gateways/scenarios/tutorial.html I advice to read it before you start use this tool to understand the flow.

TUI for MarmaraCC

python3 marmara_tui.py

alt text

TUI for AssetsCC (not much finished)

python3 assets_cc_tui.py

Before execution be sure than daemon for needed AC up.

You can’t perform that action at this time.