diff --git a/CHANGELOG.md b/CHANGELOG.md index 6be4d8a2..fcb55bbc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ 這份文件將記錄 BDK 專案的變更日誌 All notable changes to BDK project will be documented here. +## [v2.1.1](https://github.com/cathayddt/bdk/releases/tag/v2.1.1) - 2024-02-27 + +### Fixes + +* Network generate with networkInfo + ## [v2.1.0](https://github.com/cathayddt/bdk/releases/tag/v2.1.0) - 2024-02-01 ### Features diff --git a/README.md b/README.md index 7d84ac29..da8195a1 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ ######## ######## ### ### -[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](./LICENSE) [![codeql-analysis](https://github.com/cathayddt/bdk/actions/workflows/codeql.yml/badge.svg)](https://github.com/cathayddt/bdk/actions/workflows/codeql.yml) [![test-report](https://github.com/cathayddt/bdk/actions/workflows/test-report.yml/badge.svg)](https://github.com/cathayddt/bdk/actions/workflows/test-report.yml) [![unit-test](https://github.com/cathayddt/bdk/actions/workflows/unit-test.yml/badge.svg)](https://github.com/cathayddt/bdk/actions/workflows/unit-test.yml) +[![NPM](https://img.shields.io/npm/v/%40cathaybc%2Fbdk?logo=npm)](https://www.npmjs.com/package/@cathaybc/bdk) [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](./LICENSE) [![codeql-analysis](https://github.com/cathayddt/bdk/actions/workflows/codeql.yml/badge.svg)](https://github.com/cathayddt/bdk/actions/workflows/codeql.yml) [![test-report](https://github.com/cathayddt/bdk/actions/workflows/test-report.yml/badge.svg)](https://github.com/cathayddt/bdk/actions/workflows/test-report.yml) [![unit-test](https://github.com/cathayddt/bdk/actions/workflows/unit-test.yml/badge.svg)](https://github.com/cathayddt/bdk/actions/workflows/unit-test.yml) 提供指令快速建立、管理、監控 blockchain,最大的特色是可以使用互動式的問答,讓使用者可以依續性的問答來完成指令所需要的指令,在每個 BDK 指令的後面,加入 `-i` 或是 `--interactive` 的參數,來使用互動式問答 @@ -34,9 +34,9 @@ bdk fabric network create -i | Latest | Stable | | ---------------- | ---------------- | -| [v2.1.0][v2.1.0] | [v2.1.0][v2.1.0] | +| [v2.1.1][v2.1.1] | [v2.1.1][v2.1.1] | -[v2.1.0]: https://github.com/cathayddt/bdk/releases/tag/v2.1.0 +[v2.1.1]: https://github.com/cathayddt/bdk/releases/tag/v2.1.1 [更新內容 (Changelog)](CHANGELOG.md) @@ -52,7 +52,7 @@ bdk fabric network create -i ### 環境 (Prerequisites) -- [npm + nodejs](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) node v16, npm v8 +- [npm + nodejs](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) node v18, npm v9 - [docker](https://docs.docker.com/engine/install) - [docker-compose](https://docs.docker.com/compose/install) >= 1.27 - [docker-desktop(MacOS)](https://www.docker.com/products/docker-desktop/) Need Allow Docker Sockers in Advanced Options @@ -63,12 +63,7 @@ bdk fabric network create -i #### 直接安裝 (Direct Install) ```bash -npm config set @cathayddt:registry=https://npm.pkg.github.com - -# https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token -npm config set //npm.pkg.github.com/:_authToken=[SET-YOUR-TOKEN] - -npm install -g @cathayddt/bdk@latest +npm install -g @cathaybc/bdk@latest # 初始化 (initialize) bdk fabric config init diff --git a/docs/quorum/EXAMPLE.md b/docs/quorum/EXAMPLE.md index cdd35051..a0f85853 100644 --- a/docs/quorum/EXAMPLE.md +++ b/docs/quorum/EXAMPLE.md @@ -24,7 +24,7 @@ bdk hello bdk quorum network create -i ``` -依序輸入 `chain id`(預設為 81712)、`validator` 以及 `member` 的數量,並填入自己的錢包,如無錢包則選擇 `false`,會提供一組公私鑰來作為使用 Quorum 網路的帳號,該組帳號將在創始區塊擁有代幣 +依序輸入 `chain id`(預設為 81712)、`validator` 以及 `member` 的數量,於 `Using bootnode?` 選項選 `false`,並填入自己的錢包,如無錢包則選擇 `false`,會提供一組公私鑰來作為使用 Quorum 網路的帳號,該組帳號將在創始區塊擁有代幣 ## 建立 Blockscout Explorer diff --git a/docs/vhs/bdk-quorum-network-create.gif b/docs/vhs/bdk-quorum-network-create.gif index b857b20e..f55eee3f 100644 Binary files a/docs/vhs/bdk-quorum-network-create.gif and b/docs/vhs/bdk-quorum-network-create.gif differ diff --git a/docs/vhs/bdk-quorum-network-create.tape b/docs/vhs/bdk-quorum-network-create.tape index 2385f26c..20edd03d 100644 --- a/docs/vhs/bdk-quorum-network-create.tape +++ b/docs/vhs/bdk-quorum-network-create.tape @@ -25,5 +25,8 @@ Enter Sleep 3s Enter +Sleep 3s +Enter + # Admire the output for a bit. Sleep 10s \ No newline at end of file diff --git a/package.json b/package.json index 225156f2..e2beb976 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "test:fabric": "nyc npm run test -- --grep Fabric", "test:coverage": "nyc npm run test", "test:json": "NODE_ENV=testing BDK_PATH=$(pwd)/test/bdk BDK_DOCKER_HOST_PATH=$(pwd)/test/bdk mocha --reporter json --require ts-node/register ./test/**/*.test.ts --exit > test-results.json", - "git:changelog": "git-cliff --unreleased --tag v2.1.0 --prepend CHANGELOG.md", + "git:changelog": "git-cliff --unreleased --tag v2.1.1 --prepend CHANGELOG.md", "doc:create": "npx typedoc --readme none --out ./api-docs --packages ." }, "dependencies": {