forked from genzstaking/csc-docker-pool
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:coincodile/csc-docker
- Loading branch information
Showing
1 changed file
with
66 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,77 @@ | ||
CSC CLI | ||
=================================================================== | ||
|
||
A CLI utility to support a variety of key material operations for different system generations. | ||
Usage documentation can be found at cli/README.md. | ||
CoinEx is committed to product development and service improvement and contributes its | ||
share to the infrastructure of the blockchain world. | ||
CSC is a small part of the development prospect. The CSC CLI is a basic tool to launch | ||
relay node, validator and manage wallets. | ||
|
||
The general synopsis is as follows: | ||
This is a docker version of csc CLI. | ||
|
||
Contribution is welcome. | ||
|
||
## Usage | ||
|
||
To show CSC CLI help: | ||
|
||
.. code-blok:: bash | ||
|
||
docker run --interactive \ | ||
docker run --interactive --rm \ | ||
ghcr.io/coincodile/cetd \ | ||
(Era based commands | Byron specific commands | Miscellaneous commands) | ||
--help | ||
|
||
## Initialize | ||
|
||
to initialization, in terminal type: | ||
|
||
.. code-blok:: bash | ||
|
||
docker run --interactive --rm \ | ||
--volume .:/data \ | ||
ghcr.io/coincodile/cetd \ | ||
--datadir /data \ | ||
init | ||
|
||
This command will create the data directory and keystore directory under /path/your-data-localtion-fold, | ||
and create Genesis Block.If the default --datadir is not specified, it will create .cetd as the data | ||
directory and 'keystore' directory in the current user's home directory. As follows: | ||
|
||
|
||
.. code-blok:: bash | ||
|
||
. | ||
├── cetd | ||
│ ├── chaindata | ||
│ │ ├── 000001.log | ||
│ │ ├── CURRENT | ||
│ │ ├── LOCK | ||
│ │ ├── LOG | ||
│ │ └── MANIFEST-000000 | ||
│ ├── lightchaindata | ||
│ │ ├── 000001.log | ||
│ │ ├── CURRENT | ||
│ │ ├── LOCK | ||
│ │ ├── LOG | ||
│ │ └── MANIFEST-000000 | ||
│ ├── LOCK | ||
│ └── nodekey | ||
└── keystore | ||
|
||
By default, init command is initialized to Mainnet information, and --testnet option is initialized to testnet information. | ||
|
||
## Run | ||
|
||
Startup command: | ||
|
||
.. code-blok:: bash | ||
|
||
docker run --interactive --rm \ | ||
--volume .:/data \ | ||
ghcr.io/coincodile/cetd \ | ||
--datadir /data | ||
|
||
By default, the synchronization mode is fast, which can be changed to full mode with the option --syncmode full. We have | ||
assigned P2P seed Node in cetd by default. You can change and assign trusted Seed Nodes via --bootnodes options. | ||
|
||
|
||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Contents: | ||
|
||
docs/index.rst |