@open-captable-protocol/canton 0.2.251 → 0.2.252

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +13 -0
  2. package/package.json +7 -1
package/README.md CHANGED
@@ -129,6 +129,19 @@ The validator automatically validates both:
129
129
 
130
130
  All 78+ test fixtures pass validation for both input and output data.
131
131
 
132
+ ### LocalNet
133
+
134
+ ```bash
135
+ npm run localnet:start # Start (fast path when artifacts exist)
136
+ npm run localnet:stop # Stop services
137
+ npm run localnet:status # Docker + endpoint status
138
+ npm run localnet:smoke # Endpoint smoke checks
139
+ npm run localnet:verify # Setup + start + smoke + test
140
+ ```
141
+
142
+ `localnet:start` uses a fast startup path when quickstart build artifacts already exist. To force a
143
+ full rebuild start, run `CANTON_LOCALNET_FORCE_FULL_START=true npm run localnet:start`.
144
+
132
145
  ### License
133
146
 
134
147
  MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-captable-protocol/canton",
3
- "version": "0.2.251",
3
+ "version": "0.2.252",
4
4
  "description": "A TypeScript SDK for interacting with the Open CapTable Protocol (OCP) Factory contract on Canton blockchain",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -21,6 +21,12 @@
21
21
  "format:fix": "prettier --write .",
22
22
  "lint": "eslint . --max-warnings=0",
23
23
  "lint:fix": "eslint . --fix --max-warnings=0",
24
+ "localnet:setup": "bash scripts/localnet/localnet-cloud.sh setup",
25
+ "localnet:smoke": "bash scripts/localnet/localnet-cloud.sh smoke",
26
+ "localnet:start": "bash scripts/localnet/localnet-cloud.sh start",
27
+ "localnet:status": "bash scripts/localnet/localnet-cloud.sh status",
28
+ "localnet:stop": "bash scripts/localnet/localnet-cloud.sh stop",
29
+ "localnet:verify": "bash scripts/localnet/localnet-cloud.sh verify",
24
30
  "prepare-release": "ts-node scripts/prepare-release.ts",
25
31
  "script:authorize": "ts-node scripts/authorizeIssuer.ts",
26
32
  "script:create-issuer": "ts-node scripts/createIssuer.ts",