Skip to content

Commit

Permalink
Update docs and bump version to 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Fuerback committed Mar 15, 2024
1 parent d53e7f0 commit 26a898d
Show file tree
Hide file tree
Showing 12 changed files with 44 additions and 44 deletions.
2 changes: 1 addition & 1 deletion chain-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gala-chain/api",
"version": "1.1.2",
"version": "1.1.3",
"description": "Common types, DTOs (Data Transfer Objects), APIs, signatures, and utils for GalaChain.",
"license": "Apache-2.0",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion chain-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $ npm install -g @gala-chain/cli
$ galachain COMMAND
running command...
$ galachain (--version)
@gala-chain/cli/1.1.2 linux-x64 node-v18.17.0
@gala-chain/cli/1.1.3 linux-x64 node-v18.17.0
$ galachain --help [COMMAND]
USAGE
$ galachain COMMAND
Expand Down
12 changes: 6 additions & 6 deletions chain-cli/chaincode-template/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@galachain/product",
"version": "1.1.2",
"version": "1.1.3",
"description": "Product Chaincode",
"main": "lib/src/index.js",
"types": "lib/src/index.d.ts",
Expand All @@ -22,16 +22,16 @@
"update-snapshot": "jest --updateSnapshot"
},
"dependencies": {
"@gala-chain/api": "1.1.2",
"@gala-chain/chaincode": "1.1.2",
"@gala-chain/api": "1.1.3",
"@gala-chain/chaincode": "1.1.3",
"dotenv": "^16.0.1",
"fabric-contract-api": "2.4.2",
"fabric-shim": "2.4.2"
},
"devDependencies": {
"@gala-chain/cli": "1.1.2",
"@gala-chain/client": "1.1.2",
"@gala-chain/test": "1.1.2",
"@gala-chain/cli": "1.1.3",
"@gala-chain/client": "1.1.3",
"@gala-chain/test": "1.1.3",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/axios": "^0.14.0",
"@types/jest": "^29.5.12",
Expand Down
2 changes: 1 addition & 1 deletion chain-cli/oclif.manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.1.2",
"version": "1.1.3",
"commands": {
"connect": {
"id": "connect",
Expand Down
4 changes: 2 additions & 2 deletions chain-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gala-chain/cli",
"version": "1.1.2",
"version": "1.1.3",
"description": "CLI for GalaChain to manage and deploy chaincodes",
"license": "Apache-2.0",
"bin": {
Expand All @@ -14,7 +14,7 @@
"/oclif.manifest.json"
],
"dependencies": {
"@gala-chain/api": "1.1.2",
"@gala-chain/api": "1.1.3",
"@noble/secp256k1": "^1.7.1",
"@oclif/core": "^2",
"@oclif/plugin-help": "^2",
Expand Down
4 changes: 2 additions & 2 deletions chain-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gala-chain/client",
"version": "1.1.2",
"version": "1.1.3",
"description": "GalaChain client library",
"license": "Apache-2.0",
"scripts": {
Expand All @@ -21,7 +21,7 @@
"lib"
],
"dependencies": {
"@gala-chain/api": "1.1.2",
"@gala-chain/api": "1.1.3",
"axios": "^1.6.0",
"jsonschema": "^1.4.1",
"tslib": "^2.6.2",
Expand Down
6 changes: 3 additions & 3 deletions chain-test/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "@gala-chain/test",
"version": "1.1.2",
"version": "1.1.3",
"description": "Unit testing and integration testing for GalaChain",
"license": "Apache-2.0",
"dependencies": {
"@gala-chain/client": "1.1.2",
"@gala-chain/client": "1.1.3",
"nanoid": "^3.3.6",
"tslib": "^2.6.2",
"path": "0.12.7",
"process": "0.11.10",
"@jest/globals": "29.7.0"
},
"peerDependencies": {
"@gala-chain/api": "1.1.2",
"@gala-chain/api": "1.1.3",
"bignumber.js": "*",
"class-transformer": "*",
"elliptic": "*",
Expand Down
4 changes: 2 additions & 2 deletions chaincode/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gala-chain/chaincode",
"version": "1.1.2",
"version": "1.1.3",
"description": "Framework for building chaincodes on GalaChain",
"license": "Apache-2.0",
"type": "commonjs",
Expand All @@ -21,7 +21,7 @@
"test": "jest"
},
"dependencies": {
"@gala-chain/api": "1.1.2",
"@gala-chain/api": "1.1.3",
"fabric-contract-api": "2.4.2",
"fabric-shim": "2.4.2",
"nanoid": "^3.3.6",
Expand Down
14 changes: 7 additions & 7 deletions docs/chaincode-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
> This page describes the future functionality and is subject to change.
Chaincode is published as a Docker image to GalaChain repository.
Once the image is published, it can be deployed to GalaChain testnet or mainnet.
Once the image is published, it can be deployed to GalaChain testnet or sandbox.
In order to publish and deploy chaincode, you need to contact GalaChain support and add provide your secp256k1 public key.

## The process
Expand All @@ -16,7 +16,7 @@ In order to publish and deploy chaincode, you need to contact GalaChain support

2. Build and publish chaincode Docker image.

3. Deploy the chaincode to testnet or mainnet:
3. Deploy the chaincode to testnet or sandbox:
```
galachain [test-]deploy <image-tag>
```
Expand All @@ -40,7 +40,7 @@ Once you have generated secp256k1 key pair, you should send the following data t
* Channel name
* Chaincode name
* List of secp256k1 public keys that are allowed to deploy a chaincode to testnet
* List of secp256k1 public keys that are allowed to deploy a chaincode to mainnet
* List of secp256k1 public keys that are allowed to deploy a chaincode to sandbox

This is an off-line process.
Once you send the data, GalaChain support will ask you about some details, to ensure the data is not corrupted.
Expand Down Expand Up @@ -78,13 +78,13 @@ This command will display:
* Org, channel, chaincode names (from `.galachainrc` file)
* Tags available for deployment (from `.galachainrc` file)
* Information about deployment to testnet (if applicable)
* Information about deployment to mainnet (if applicable)
* Information about deployment to sandbox (if applicable)

```mermaid
sequenceDiagram
Developer ->>+ GalaChain CLI: info
GalaChain CLI ->>+ ServicePortal: /deployment { org, ch, cc, tag }
ServicePortal -->>- GalaChain CLI: mainnet + testnet info
ServicePortal -->>- GalaChain CLI: sandbox + testnet info
GalaChain CLI -->>- Developer: info (org, ch, cc, tag, deployments)
```

Expand All @@ -96,13 +96,13 @@ Deploying to GalaChain testnet:
galachain test-deploy <image-tag>
```

Deploying to GalaChain mainnet:
Deploying to GalaChain sandbox:

```
galachain deploy <image-tag>
```

This command schedules deployment of published chaincode Docker image to GalaChain testnet or mainnet.
This command schedules deployment of published chaincode Docker image to GalaChain testnet or sandbox.
In order to get the information about the current status of deployments, you need to use `galachain info` command.

```mermaid
Expand Down
12 changes: 6 additions & 6 deletions licenses/licenses.csv
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@
"@eslint/[email protected]","@eslint/js","8.55.0","https://github.com/eslint/eslint","ESLint JavaScript language implementation","MIT"
"@fidm/[email protected]","@fidm/asn1","1.0.4","https://github.com/fidm/asn1","ASN.1/DER, PEM for Node.js","MIT"
"@fidm/[email protected]","@fidm/x509","1.2.1","https://github.com/fidm/x509","Pure JavaScript X509 certificate tools for Node.js","MIT"
"@gala-chain/[email protected].2","@gala-chain/api","1.1.2","","Common types, DTOs (Data Transfer Objects), APIs, signatures, and utils for GalaChain.","Apache-2.0"
"@gala-chain/[email protected].2","@gala-chain/chaincode","1.1.2","","Framework for building chaincodes on GalaChain","Apache-2.0"
"@gala-chain/[email protected].2","@gala-chain/cli","1.1.2","","CLI for GalaChain to manage and deploy chaincodes","Apache-2.0"
"@gala-chain/[email protected].2","@gala-chain/client","1.1.2","","GalaChain client library","Apache-2.0"
"@gala-chain/[email protected].2","@gala-chain/sdk","1.1.2","","Welcome to developing with GalaChain! GalaChain SDK is a set of TS tools to help you develop on GalaChain:","UNLICENSED"
"@gala-chain/[email protected].2","@gala-chain/test","1.1.2","","Unit testing and integration testing for GalaChain","Apache-2.0"
"@gala-chain/[email protected].3","@gala-chain/api","1.1.3","","Common types, DTOs (Data Transfer Objects), APIs, signatures, and utils for GalaChain.","Apache-2.0"
"@gala-chain/[email protected].3","@gala-chain/chaincode","1.1.3","","Framework for building chaincodes on GalaChain","Apache-2.0"
"@gala-chain/[email protected].3","@gala-chain/cli","1.1.3","","CLI for GalaChain to manage and deploy chaincodes","Apache-2.0"
"@gala-chain/[email protected].3","@gala-chain/client","1.1.3","","GalaChain client library","Apache-2.0"
"@gala-chain/[email protected].3","@gala-chain/sdk","1.1.3","","Welcome to developing with GalaChain! GalaChain SDK is a set of TS tools to help you develop on GalaChain:","UNLICENSED"
"@gala-chain/[email protected].3","@gala-chain/test","1.1.3","","Unit testing and integration testing for GalaChain","Apache-2.0"
"@gar/[email protected]","@gar/promisify","1.1.3","https://github.com/wraithgar/gar-promisify","Promisify an entire class or object","MIT"
"@grpc/[email protected]","@grpc/grpc-js","1.9.7","https://github.com/grpc/grpc-node/tree/master/packages/grpc-js","gRPC Library for Node - pure JS implementation","Apache-2.0"
"@grpc/[email protected]","@grpc/proto-loader","0.6.13","https://github.com/grpc/grpc-node","gRPC utility library for loading .proto files","Apache-2.0"
Expand Down
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gala-chain/sdk",
"version": "1.1.2",
"version": "1.1.3",
"license": "Apache-2.0",
"scripts": {
"lint": "nx run-many -t lint",
Expand Down

0 comments on commit 26a898d

Please sign in to comment.