1
- # ZB Ledger
1
+ # DC Ledger
2
2
3
3
## Overview
4
- ZB Ledger is a public permissioned Ledger which can be used for two main use cases:
4
+ DC Ledger is a public permissioned Ledger which can be used for two main use cases:
5
5
- ZB compliance certification of device models
6
6
- Public key infrastructure (PKI)
7
7
8
- More information about use cases can be found in [ ZB Ledger Overview] ( docs/ZB_Ledger_overview.pdf ) and [ Use Case Diagrams] ( docs/use_cases ) .
8
+ More information about use cases can be found in [ DC Ledger Overview] ( docs/ZB_Ledger_overview.pdf ) and [ Use Case Diagrams] ( docs/use_cases ) .
9
9
10
- ZB Ledger is based on [ Tendermint] ( https://tendermint.com/ ) and [ Cosmos SDK] ( https://cosmos.network/sdk ) .
10
+ DC Ledger is based on [ Tendermint] ( https://tendermint.com/ ) and [ Cosmos SDK] ( https://cosmos.network/sdk ) .
11
11
12
12
#### Main Components
13
13
The ledger consists of
14
14
- A pool of Tendermint-based validator nodes maintaining the ledger.
15
- Every validator node runs ZB Ledger application code (based on Cosmos SDK) implementing the use cases.
15
+ Every validator node runs DC Ledger application code (based on Cosmos SDK) implementing the use cases.
16
16
- The client to be used for interactions with the pool (sending write and read requests).
17
17
The following clients are supported:
18
18
- CLI to communicate with the pool (as a [ light client] ( https://pkg.go.dev/github.com/tendermint/tendermint/lite2?tab=doc ) ).
@@ -21,7 +21,7 @@ The ledger consists of
21
21
(as a [ light client] ( https://pkg.go.dev/github.com/tendermint/tendermint/lite2?tab=doc ) ).
22
22
The REST API is based on the Cosmos SDK. See [ REST Usage] ( #rest-usage ) section for details.
23
23
- Tendermint's Light Client can be used for a direct communication on API level.
24
- There are currently no ZB Ledger specific API libraries for various platforms and languages,
24
+ There are currently no DC Ledger specific API libraries for various platforms and languages,
25
25
but they may be provided in future.
26
26
These libraries can be based on the following Light Client implementations:
27
27
- [ Golang Light Client implementation] ( https://pkg.go.dev/github.com/tendermint/tendermint/lite2?tab=doc )
@@ -35,7 +35,7 @@ The ledger consists of
35
35
- ** for demo purposes only** : can be used for sending write requests from the default (demo) accounts
36
36
37
37
#### Public Permissioned Ledger
38
- ZB Ledger is a public permissioned ledger in the following sense:
38
+ DC Ledger is a public permissioned ledger in the following sense:
39
39
- Anyone can read from the ledger (that's why it's public). See [ How to read from the Ledger] ( docs/transactions.md#how-to-read-from-the-ledger ) .
40
40
- Writes to the ledger are permissioned. See [ How to write to the Ledger] ( docs/transactions.md#how-to-write-to-the-ledger ) for details.
41
41
In order to send write transactions to the ledger you need:
@@ -64,7 +64,7 @@ Sending read requests to the Ledger doesn't require an Account (Ledger is public
64
64
65
65
#### REST Usage
66
66
A REST API server is a CLI run in a REST mode:
67
- ` zblcli rest-server --chain-id <chain_id>` .
67
+ ` dclcli rest-server --chain-id <chain_id>` .
68
68
69
69
Please configure the CLI before using (see [ how-to.md] ( docs/how-to.md#cli-configuration ) ).
70
70
@@ -107,12 +107,12 @@ the following instructions from [how-to.md](docs/how-to.md) can be used for ever
107
107
108
108
#### Build and run the app locally
109
109
- To build and run, follow the [ Cosmos SDK tutorial] ( https://github.com/cosmos/sdk-tutorials/blob/master/nameservice/tutorial/22-build-run.md ) .
110
- Use __ zbld __ , __ zblcli __ instead of __ nsd__ , __ nscli__ .
110
+ Use __ dcld __ , __ dclcli __ instead of __ nsd__ , __ nscli__ .
111
111
- To start localnet using docker-compose run ` make install && make localnet_init && make localnet_start `
112
112
- 4 nodes will be started and will expose their RPC enpoints on ports ` 26657 ` , ` 26659 ` , ` 26661 ` , ` 26662 `
113
113
- To stop localnet run ` make localnet_stop `
114
114
#### Deploy a pool of validator nodes
115
- One can either deploy its own pool of validator nodes or join the ZB Ledger Network
115
+ One can either deploy its own pool of validator nodes or join the DC Ledger Network
116
116
(currently the network is in a Demo mode).
117
117
118
118
Read more about deployment in [ ansible/readme.md] ( ansible/README.md )
@@ -125,7 +125,7 @@ and [Running a Validator Node](docs/running-node.md).
125
125
- [ Device off-ledger certification] ( docs/use_cases/use_cases_device_off_ledger_certification.png )
126
126
- [ Auth] ( docs/use_cases/use_cases_txn_auth.png )
127
127
- [ Validators] ( docs/use_cases/use_cases_add_validator_node.png )
128
- - [ ZB Ledger Overview] ( docs/ZB_Ledger_overview.pdf )
128
+ - [ DC Ledger Overview] ( docs/ZB_Ledger_overview.pdf )
129
129
- [ List of Transactions] ( docs/transactions.md )
130
130
- [ How To Guide] ( docs/how-to.md )
131
131
- [ CLI Help] ( docs/cli-help.md )
0 commit comments