Generic cli tooling for the CIC token network
Go to file
William Luke 4f219e3d18
Some checks reported errors
continuous-integration/drone/pr Build encountered an error
continuous-integration/drone/push Build is failing
fix: broken imports
2022-03-01 11:17:17 +03:00
cic fix: broken imports 2022-03-01 11:17:17 +03:00
config fix: broken imports 2022-03-01 11:17:17 +03:00
doc/sphinx Embedded image in readme md 2021-11-30 10:54:13 +01:00
tests refactor: switch to poetry, add interactive deployment 2022-03-01 10:01:56 +03:00
.coveragerc refactor: switch to poetry, add interactive deployment 2022-03-01 10:01:56 +03:00
.drone.yml refactor: switch to poetry, add interactive deployment 2022-03-01 10:01:56 +03:00
.gitignore refactor: switch to poetry, add interactive deployment 2022-03-01 10:01:56 +03:00
.pylintrc refactor: switch to poetry, add interactive deployment 2022-03-01 10:01:56 +03:00
CHANGELOG WIP add entrypoint 2021-12-05 08:12:36 +01:00
components.svg Add component diagram symlink 2021-11-30 10:34:46 +01:00
LICENSE Initial commit 2021-10-09 18:50:43 +02:00
MANIFEST.in Add token deployment 2021-10-10 15:37:26 +02:00
poetry.lock refactor: switch to poetry, add interactive deployment 2022-03-01 10:01:56 +03:00
pyproject.toml refactor: switch to poetry, add interactive deployment 2022-03-01 10:01:56 +03:00
README.md refactor: switch to poetry, add interactive deployment 2022-03-01 10:01:56 +03:00

CIC Token Deployment Tool

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

pip install --extra-index-url https://pip.grassrootseconomics.net cic

Usage

Using the wizard

# Local
cic wizard ./somewhere -c ./config/dev-docker

# Production
cic wizard ./somewhere -c ./config/prod

Modular

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

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.

Development

Requirements

Setup

 poetry install

Running the CLI

 poetry run cic -h

Tests

poetry run pytest