ckb-debugger 1.1.1

Standalone debugger for Nervos CKB
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Example spawn

syscall spawn is a new interface added since ckb2023.

```sh
$ ckb-debugger --mode fast --tx-file spawn.json --script input.0.lock
```

In order to simplify the writing of tx.json, we designed a simple DSL to assist you in writing tx.json.

```text
{{ data path/to/file }} => replact it by hexdata of path/to/file
{{ hash path/to/file }} => replace it by blake2b of path/to/file
{{ def_type any_type_id_name }} => create a new type_id named any_type_id_name
{{ ref_type any_type_id_name }} => refer to the type_id above
```

Open `spawn.json` to see how we used the DSL.