-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f7aa131
commit e005d26
Showing
9 changed files
with
120 additions
and
9 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
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
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
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,6 +1,6 @@ | ||
# 指令文件 | ||
# Fabric 指令文件 | ||
|
||
[(English version)](COMMANDS-EN.md) | ||
(English version)(Work In Progress) | ||
|
||
## 目錄 | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Quorum 指令文件 | ||
|
||
(English version)(Work In Progress) | ||
|
||
## 目錄 | ||
|
||
- [Network](#network) | ||
- [Explorer](#explorer) | ||
|
||
## Network | ||
|
||
### `bdk quorum network create` | ||
|
||
Description: 產生 Quorum network 所需的相關設定檔案 | ||
|
||
| Options | Type | Description | Required | Default | | ||
| --------------------- | :-----: | ------------------------------ | :------: | ------- | | ||
| --help | boolean | Show help | | | | ||
| --version | boolean | Show version number | | | | ||
| -i, --interactive | boolean | 是否使用 Cathay BDK 互動式問答 | | | | ||
|
||
## Explorer | ||
|
||
### `bdk quorum network delete` | ||
|
||
Description: 刪除現有的 Quorum Network. | ||
|
||
| Options | Type | Description | Required | Default | | ||
| --------------------- | :-----: | ------------------------------ | :------: | ------- | | ||
| --help | boolean | Show help | | | | ||
| --version | boolean | Show version number | | | | ||
|
||
### `bdk quorum explorer create` | ||
|
||
Description: 產生 Quorum Explorer 所需的相關設定檔案 | ||
|
||
| Options | Type | Description | Required | Default | | ||
| --------------------- | :-----: | ------------------------------ | :------: | ------- | | ||
| --help | boolean | Show help | | | | ||
| --version | boolean | Show version number | | | | ||
| -i, --interactive | boolean | 是否使用 Cathay BDK 互動式問答 | | | | ||
|
||
### `bdk quorum explorer delete` | ||
|
||
Description: 刪除現有的 Quorum Explorer. | ||
|
||
| Options | Type | Description | Required | Default | | ||
| --------------------- | :-----: | ------------------------------ | :------: | ------- | | ||
| --help | boolean | Show help | | | | ||
| --version | boolean | Show version number | | | |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# 使用範例 | ||
(English version)(Work In Progress) | ||
|
||
## 目錄 | ||
- [建立 Blockchain network](#建立-blockchain-network) | ||
- [部署 Chaincode](#部署-chaincode) | ||
|
||
## 建立 Blockchain network | ||
|
||
Quorum 無須做過多的前置設定,只需確認 bdk 套件是否安裝完成即可。 | ||
|
||
```bash | ||
bdk hello | ||
``` | ||
|
||
如果指令已順利安裝,你會看到 `You have installed bdk successfully!!!` | ||
|
||
### 建立 Network | ||
|
||
輸入指令,啟動 Quorum 網路互動式介面 | ||
|
||
```bash | ||
bdk quorum network create -i | ||
``` | ||
|
||
依序輸入 chain id (預設為1337)、validator 以及 member 的數量,以及填入自己的錢包,如無填入(選擇 false ),則會提供一組公私鑰來作為使用 Quorum 網路的帳號,該組帳號會在創始區塊擁有代幣。 | ||
|
||
### 建立 Blockscout Explorer | ||
|
||
輸入指令,啟動 Blockscout 區塊鏈瀏覽器 | ||
|
||
```bash | ||
bdk quorum explorer create -i | ||
``` | ||
|
||
輸入 port ,並稍待片刻,即可使用區塊鏈瀏覽器 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,3 +1,6 @@ | ||
sonar.projectKey=bdk-github | ||
sonar.qualitygate.wait=true | ||
sonar.sources=src | ||
sonar.coverage.jacoco.xmlReportPaths=coverage/xunit.xml | ||
sonar.javascript.lcov.reportPaths=coverage/lcov.info | ||
sonar.typescript.tsconfigPath=tsconfig.json |