@offckb/cli 0.2.0-canary-58773d8.0 → 0.2.0-canary-3cf08e5.0
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/dist/util/ckb.d.ts +63 -0
- package/package.json +2 -2
- package/templates/offckb.config.ts +2 -2
package/dist/util/ckb.d.ts
CHANGED
|
@@ -67,6 +67,69 @@ export declare class CKB {
|
|
|
67
67
|
INDEX: string;
|
|
68
68
|
DEP_TYPE: "code";
|
|
69
69
|
};
|
|
70
|
+
XUDT: {
|
|
71
|
+
CODE_HASH: string;
|
|
72
|
+
HASH_TYPE: "data1";
|
|
73
|
+
TX_HASH: string;
|
|
74
|
+
INDEX: string;
|
|
75
|
+
DEP_TYPE: "code";
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
} | {
|
|
79
|
+
PREFIX: string;
|
|
80
|
+
SCRIPTS: {
|
|
81
|
+
SECP256K1_BLAKE160: {
|
|
82
|
+
CODE_HASH: string;
|
|
83
|
+
HASH_TYPE: "type";
|
|
84
|
+
TX_HASH: string;
|
|
85
|
+
INDEX: string;
|
|
86
|
+
DEP_TYPE: "depGroup";
|
|
87
|
+
SHORT_ID: number;
|
|
88
|
+
};
|
|
89
|
+
SECP256K1_BLAKE160_MULTISIG: {
|
|
90
|
+
CODE_HASH: string;
|
|
91
|
+
HASH_TYPE: "type";
|
|
92
|
+
TX_HASH: string;
|
|
93
|
+
INDEX: string;
|
|
94
|
+
DEP_TYPE: "depGroup";
|
|
95
|
+
SHORT_ID: number;
|
|
96
|
+
};
|
|
97
|
+
DAO: {
|
|
98
|
+
CODE_HASH: string;
|
|
99
|
+
HASH_TYPE: "type";
|
|
100
|
+
TX_HASH: string;
|
|
101
|
+
INDEX: string;
|
|
102
|
+
DEP_TYPE: "code";
|
|
103
|
+
};
|
|
104
|
+
SUDT: {
|
|
105
|
+
CODE_HASH: string;
|
|
106
|
+
HASH_TYPE: "type";
|
|
107
|
+
TX_HASH: string;
|
|
108
|
+
INDEX: string;
|
|
109
|
+
DEP_TYPE: "code";
|
|
110
|
+
};
|
|
111
|
+
ANYONE_CAN_PAY: {
|
|
112
|
+
CODE_HASH: string;
|
|
113
|
+
HASH_TYPE: "type";
|
|
114
|
+
TX_HASH: string;
|
|
115
|
+
INDEX: string;
|
|
116
|
+
DEP_TYPE: "depGroup";
|
|
117
|
+
SHORT_ID: number;
|
|
118
|
+
};
|
|
119
|
+
OMNILOCK: {
|
|
120
|
+
CODE_HASH: string;
|
|
121
|
+
HASH_TYPE: "type";
|
|
122
|
+
TX_HASH: string;
|
|
123
|
+
INDEX: string;
|
|
124
|
+
DEP_TYPE: "code";
|
|
125
|
+
};
|
|
126
|
+
XUDT: {
|
|
127
|
+
CODE_HASH: string;
|
|
128
|
+
HASH_TYPE: "type";
|
|
129
|
+
TX_HASH: string;
|
|
130
|
+
INDEX: string;
|
|
131
|
+
DEP_TYPE: "code";
|
|
132
|
+
};
|
|
70
133
|
};
|
|
71
134
|
};
|
|
72
135
|
initializedLumosConfig(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@offckb/cli",
|
|
3
|
-
"version": "0.2.0-canary-
|
|
3
|
+
"version": "0.2.0-canary-3cf08e5.0",
|
|
4
4
|
"description": "ckb development network for your first try",
|
|
5
5
|
"author": "Retric Su <retric@cryptape.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"typescript": "^5.3.3"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@ckb-lumos/lumos": "0.
|
|
63
|
+
"@ckb-lumos/lumos": "0.23.0",
|
|
64
64
|
"@inquirer/prompts": "^4.1.0",
|
|
65
65
|
"adm-zip": "^0.5.10",
|
|
66
66
|
"axios": "^1.6.7",
|
|
@@ -146,10 +146,10 @@ const lumosConfig: config.Config = {
|
|
|
146
146
|
} as config.Config;
|
|
147
147
|
// ---end of devnet lumos config---
|
|
148
148
|
// ---testnet lumos config---
|
|
149
|
-
const testnetLumosConfig: config.Config = { ...config.
|
|
149
|
+
const testnetLumosConfig: config.Config = { ...config.TESTNET, ...{} } as config.Config;
|
|
150
150
|
// ---end of testnet lumos config---
|
|
151
151
|
// ---mainnet lumos config---
|
|
152
|
-
const mainnetLumosConfig: config.Config = { ...config.
|
|
152
|
+
const mainnetLumosConfig: config.Config = { ...config.MAINNET, ...{} } as config.Config;
|
|
153
153
|
// ---end of mainnet lumos config---
|
|
154
154
|
|
|
155
155
|
const offCKBConfig: OffCKBConfig = {
|