Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/tonymorony/komodo-cctools-python

Python libs and interfaces for Komodo cryptoconditions consensus modules
https://github.com/tonymorony/komodo-cctools-python

Last synced: 3 months ago
JSON representation

Python libs and interfaces for Komodo cryptoconditions consensus modules

Lists

README

        

# 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 dash-auth==1.2.0 qrcode`

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](https://i.imgur.com/hnpYaYG.png)

# 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](https://i.imgur.com/gkcxMGt.png)

# 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](https://i.imgur.com/tfHwRqc.png)

# TUI for GatewaysCC

![alt text](https://i.imgur.com/c8DPfpp.png)

`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/basic-docs/antara/antara-tutorials/gateways-module-tutorial.html#tutorial I advice to read it before you start use this tool to understand the flow.

# TUI for MarmaraCC

`python3 marmara_tui.py`

![alt text](https://i.imgur.com/uonMWHl.png)

# TUI for AssetsCC (not much finished)

`python3 assets_cc_tui.py`

Before execution be sure than daemon for needed AC up.