Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xujiandong/ckb-js-vm-old

Write scripts in JavaScript on CKB-VM
https://github.com/xujiandong/ckb-js-vm-old

Last synced: about 2 months ago
JSON representation

Write scripts in JavaScript on CKB-VM

Awesome Lists containing this project

README

        

# ckb-js-vm
The objective of this project is to develop scripts in JavaScript for CKB-VM, by
adapting [quickjs](https://bellard.org/quickjs/).

## Build
The clang version 16 is required.

```shell
git submodule update --init
make all
```

## Documents
* [Introduction](./docs/intro.md)
* [CKB Syscall Bindings](./docs/syscalls.md)
* [Simple File System and JavaScript Module](./docs/fs.md)

## Examples

* [Fibonacci Number](./tests/examples/fib.js)
* [Calculate PI](./tests/examples/pi_bigint.js)

More [tests and examples](./tests/).