@ckb-firewall/cli 0.1.0 → 0.1.2
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.
- package/README.md +14 -3
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @ckb-firewall/cli
|
|
2
2
|
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img src="https://raw.githubusercontent.com/digitaldrreamer/ckb-transaction-firewall/main/assets/logo.png" alt="CKB Transaction Firewall" width="100" />
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<img src="https://raw.githubusercontent.com/digitaldrreamer/ckb-transaction-firewall/main/assets/cli-screenshot.png" alt="ckb-firewall CLI" width="720" />
|
|
9
|
+
</p>
|
|
10
|
+
|
|
3
11
|
[](https://www.npmjs.com/package/@ckb-firewall/cli)
|
|
4
12
|

|
|
5
13
|
|
|
@@ -99,10 +107,13 @@ Builds and writes a governance transaction JSON file. Add `--sign` to sign and s
|
|
|
99
107
|
|
|
100
108
|
## Testnet defaults
|
|
101
109
|
|
|
102
|
-
All commands default to the canonical testnet registry cell. See [`
|
|
110
|
+
All commands default to the canonical testnet registry cell. See [`notes/deployments/testnet.registry.json`](https://github.com/digitaldrreamer/ckb-transaction-firewall/blob/main/notes/deployments/testnet.registry.json) for the exact cell outpoint and script identity.
|
|
103
111
|
|
|
104
112
|
## More
|
|
105
113
|
|
|
106
114
|
- [CKB Transaction Firewall](https://github.com/digitaldrreamer/ckb-transaction-firewall) — contracts, TypeScript SDK, Rust SDK, governance docs, testnet deployment
|
|
107
|
-
- [
|
|
108
|
-
- [
|
|
115
|
+
- [Documentation](https://ckb-firewall.drreamer.digital/)
|
|
116
|
+
- [CLI quickstart](https://ckb-firewall.drreamer.digital/getting-started/cli/)
|
|
117
|
+
- [CLI reference](https://ckb-firewall.drreamer.digital/reference/cli/)
|
|
118
|
+
- [Governance](https://ckb-firewall.drreamer.digital/concepts/governance/)
|
|
119
|
+
- [Architecture](https://ckb-firewall.drreamer.digital/concepts/architecture/)
|
package/dist/index.js
CHANGED
|
@@ -24,7 +24,7 @@ function printBanner() {
|
|
|
24
24
|
program
|
|
25
25
|
.name("ckb-firewall")
|
|
26
26
|
.description("Manage the CKB Transaction Firewall blacklist registry")
|
|
27
|
-
.version("0.1.
|
|
27
|
+
.version("0.1.2")
|
|
28
28
|
.addHelpCommand(false);
|
|
29
29
|
// ── inspect ──────────────────────────────────────────────────────────────────
|
|
30
30
|
const inspectDefs = inspectDefaults();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckb-firewall/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "CLI for managing the CKB Transaction Firewall blacklist registry",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
],
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "tsc -p tsconfig.build.json",
|
|
18
|
-
"postbuild": "
|
|
18
|
+
"postbuild": "node -e \"require('fs').chmodSync('dist/index.js', 0o755)\"",
|
|
19
19
|
"prepack": "npm run build",
|
|
20
20
|
"typecheck": "tsc --noEmit",
|
|
21
21
|
"dev": "tsc --watch -p tsconfig.build.json"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@ckb-firewall/sdk": "^0.2.
|
|
24
|
+
"@ckb-firewall/sdk": "^0.2.5",
|
|
25
25
|
"@noble/curves": "^2.2.0",
|
|
26
26
|
"@noble/hashes": "^1.5.0",
|
|
27
27
|
"cfonts": "^3.3.0",
|