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 = 9,
      .exit_code = NULL,
      .content = NULL,
      .content_length = NULL,
  };
  int success = ckb_spawn(1, 3, 0, 0, NULL, &spgs);
  if (success != 6) {
    return 1;
  }
  return 0;
}