From 429e3e0f994c234fbe72a25a033674975eaf759e Mon Sep 17 00:00:00 2001 From: nolash Date: Tue, 30 Nov 2021 10:47:59 +0100 Subject: [PATCH] Try html readme --- README.html | 169 ++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 2 +- 2 files changed, 170 insertions(+), 1 deletion(-) create mode 100644 README.html diff --git a/README.html b/README.html new file mode 100644 index 0000000..5104b44 --- /dev/null +++ b/README.html @@ -0,0 +1,169 @@ + + + + + + + CIC token deployment tool + + + + +
+

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: 0.0.1):

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

Structure of the components

+

image

+

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

+

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:

+
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:

+
cic ext --registry <contract_registry_address> -d <settings_folder> -i <chain_spec> -p <rpc_endpoint> eth
+ + diff --git a/README.md b/README.md index 31d667e..1736aac 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ pip install --extra-index-url https://pip.grassrootseconomics.net:8433 dist/cic- ## Structure of the components -![image](components.svg) +![image](data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPgo8IS0tIEdlbmVyYXRlZCBieSBncmFwa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bnQtc2l6ZT0iMTQuMDAiPmF0dGFjaG1lbnQ8L3RleHQ+CjwvZz4KPCEtLSBhdHRhY2htZW50JiM0NTsmZ3Q7cHJvb2YgLS0+CjxnIGlkPSJlZGdlOCIgY2xhc3M9ImVkZ2UiPgo8dGl0bGU+YXR0YWNobWVudCYjNDU7Jmd0O3Byb29mPC90aXRsZT4KPHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgZD0iTTM0NS41LC0xNDMuN0MzNDUuNSwtMTM1Ljk4IDM0NS41LC0xMjYuNzEgMzQ1LjUsLTExOC4xMSIvPgo8cG9seWdvbiBmaWxsPSJibGFjayIgc3Ryb2tlPSJibGFjayIgcG9pbnRzPSIzNDksLTExOC4xIDM0NS41LC0xMDguMSAzNDIsLTExOC4xIDM0OSwtMTE4LjEiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=) CIC-CLI is designed to interface any network type backend. The current state of the package contains interface to EVM only. Thus, the examples