Skip to content

Python libs and interfaces for Komodo cryptoconditions consensus modules

License

Notifications You must be signed in to change notification settings

SirSevenG/komodo-cctools-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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/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

TUI for AssetsCC (not much finished)

python3 assets_cc_tui.py

Before execution be sure than daemon for needed AC up.

About

Python libs and interfaces for Komodo cryptoconditions consensus modules

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.7%
  • Shell 2.3%