@offckb/cli 0.3.0-rc1 → 0.3.0-rc2
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 +2 -2
- package/dist/cmd/system-scripts.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -160,7 +160,7 @@ You can create a new script project without a frontend. This is useful when you
|
|
|
160
160
|
offckb create <your-project-name> --script
|
|
161
161
|
```
|
|
162
162
|
|
|
163
|
-
Note: you need to have rust/cargo/cargo-generate/clang 16+ installed in your environment to use this command. offckb doesn't do anything really, it just call [ckb-script-template](https://github.com/cryptape/ckb-script-
|
|
163
|
+
Note: you need to have rust/cargo/cargo-generate/clang 16+ installed in your environment to use this command. offckb doesn't do anything really, it just call [ckb-script-template](https://github.com/cryptape/ckb-script-templates) to do all the magic.
|
|
164
164
|
|
|
165
165
|
### Build and Deploy a script
|
|
166
166
|
|
|
@@ -249,7 +249,7 @@ Or you can replace the script with a binary file in your single cell script debu
|
|
|
249
249
|
offckb debug <transaction-hash> --single-script <single-cell-script-option> --bin <path/to/binary/file>
|
|
250
250
|
```
|
|
251
251
|
|
|
252
|
-
All the debug utils are borrowed from [ckb-debugger](https://github.com/nervosnetwork/ckb-debugger).
|
|
252
|
+
All the debug utils are borrowed from [ckb-debugger](https://github.com/nervosnetwork/ckb-standalone-debugger/tree/develop/ckb-debugger).
|
|
253
253
|
|
|
254
254
|
### Generate Moleculec bindings
|
|
255
255
|
|
|
@@ -106,7 +106,7 @@ function systemCellToScriptInfo(cell, depType, depGroup) {
|
|
|
106
106
|
if (depType === 'code') {
|
|
107
107
|
return {
|
|
108
108
|
codeHash: cell.type_hash || cell.data_hash,
|
|
109
|
-
hashType: cell.type_hash ? 'type' : '
|
|
109
|
+
hashType: cell.type_hash ? 'type' : 'data1',
|
|
110
110
|
cellDeps: [
|
|
111
111
|
{
|
|
112
112
|
cellDep: {
|
|
@@ -122,7 +122,7 @@ function systemCellToScriptInfo(cell, depType, depGroup) {
|
|
|
122
122
|
}
|
|
123
123
|
return {
|
|
124
124
|
codeHash: cell.type_hash || cell.data_hash,
|
|
125
|
-
hashType: cell.type_hash ? 'type' : '
|
|
125
|
+
hashType: cell.type_hash ? 'type' : 'data1',
|
|
126
126
|
cellDeps: [
|
|
127
127
|
{
|
|
128
128
|
cellDep: {
|