Skip to content

Commit 5709012

Browse files
remagpiemajecty
authored andcommitted
Use cc as the default network id
1 parent 327f62d commit 5709012

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ yarn global add codechain-keystore-cli
3030
-V, --version output the version number
3131
-t, --account-type <accountType> 'platform' or 'asset'. The type of the key (default: platform)
3232
--keys-path <keysPath> the path to store the keys (default: keystore.db)
33-
--network-id <networkId> the id of the network (use 'tc' for husky, use 'sc' for saluki) (default: tc)
33+
--network-id <networkId> the id of the network (use 'cc' for mainnet, use 'wc' for corgi) (default: cc)
3434
-h, --help output usage information
3535

3636
Commands:
@@ -48,11 +48,11 @@ yarn global add codechain-keystore-cli
4848

4949
cckey list -t asset
5050

51-
cckey delete -t platform --address "tcc..."
51+
cckey delete -t platform --address "ccc..."
5252

5353
cckey import UTC--2018-08-14T06-30-23Z--bbb6685e-7165-819d-0988-fc1a7d2d0523 -t platform --passphrase "satoshi"
5454

55-
cckey export -t platform --address tccqz76va4lh6dwkuwetmfrcgpn852emyq9hvjuksfg --passphrase "satoshi"
55+
cckey export -t platform --address cccq8ah0efv5ckpx6wy5mwva2aklzwsdw027sqfksrr --passphrase "satoshi"
5656

5757
cckey import-raw -t platform a05f81608217738d99da8fd227897b87e8890d3c9159b559c7c8bbd408e5fb6e --passphrase "satoshi"
5858
```

src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ program
4242
)
4343
.option(
4444
"--network-id <networkId>",
45-
"the id of the network (use 'tc' for husky, use 'sc' for saluki)",
46-
"tc"
45+
"the id of the network (use 'cc' for mainnet, use 'wc' for corgi)",
46+
"cc"
4747
);
4848

4949
program
@@ -214,11 +214,11 @@ program.on("--help", () => {
214214
215215
cckey list -t asset
216216
217-
cckey delete -t platform --address "tcc..."
217+
cckey delete -t platform --address "ccc..."
218218
219219
cckey import UTC--2018-08-14T06-30-23Z--bbb6685e-7165-819d-0988-fc1a7d2d0523 -t platform --passphrase "satoshi"
220220
221-
cckey export -t platform --address tccqz76va4lh6dwkuwetmfrcgpn852emyq9hvjuksfg --passphrase "satoshi"
221+
cckey export -t platform --address cccq8ah0efv5ckpx6wy5mwva2aklzwsdw027sqfksrr --passphrase "satoshi"
222222
223223
cckey import-raw -t platform a05f81608217738d99da8fd227897b87e8890d3c9159b559c7c8bbd408e5fb6e --passphrase "satoshi"
224224
`);

0 commit comments

Comments
 (0)