ckb-script 0.117.0

CKB component to run the type/lock scripts.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <stdint.h>
#include <string.h>

#include "ckb_syscalls.h"

int main() {
  spawn_args_t spgs = {
      .memory_limit = 8,
      .exit_code = NULL,
      .content = NULL,
      .content_length = NULL,
  };
  uint64_t success = ckb_spawn(1, 3, 0, 0, NULL, &spgs);
  if (success == 0) {
    return 1;
  }
  return 0;
}