cic-cli/doc/sphinx
2021-11-30 08:14:57 +01:00
..
components.dot Add sphinx doc setup 2021-11-30 08:14:57 +01:00
components.svg Add sphinx doc setup 2021-11-30 08:14:57 +01:00
conf.py Add sphinx doc setup 2021-11-30 08:14:57 +01:00
includes.rst Add sphinx doc setup 2021-11-30 08:14:57 +01:00
index.rst Add sphinx doc setup 2021-11-30 08:14:57 +01:00
make.bat Add sphinx doc setup 2021-11-30 08:14:57 +01:00
Makefile Add sphinx doc setup 2021-11-30 08:14:57 +01:00
readme.rst Add sphinx doc setup 2021-11-30 08:14:57 +01:00

CIC token deployment tool
=========================

CIC-CLI provides tooling to generate and publish metadata in relation to token deployments.


To install the project (replacing <VERSION> with the current version: |VERSION|):

.. code-block:: shell

   python setup.py sdist
   pip install --extra-index-url https://pip.grassrootseconomics.net:8433 dist/cic-<VERSION>.tar.gz


Structure of the components
---------------------------

.. image:: components.svg


CIC-CLI is designed to interface any network type backend. The current state of the package contains interface to EVM only. Thus, the examples below are limited to the context of the EVM.


Preparing for EVM token deployment
----------------------------------

.. note::

   Some of the concepts described below assume familiarity with base concepts of the CIC architecture. Please refer to the appropriate documentation for more information.


To initialize a new token deployment for the EVM:

.. code-block:: shell

   cic init --target eth --name <token_name> --symbol <token_symbol> --precision <token_value_precision> <settings_folder>


To automatically fill in settings detected in the network for the EVM:

.. code-block:: shell

   cic ext --registry <contract_registry_address> -d <settings_folder> -i <chain_spec> -p <rpc_endpoint> eth


.. |VERSION| replace:: 0.0.1