Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/xujiandong/ckb-js-vm-old
- Owner: XuJiandong
- Created: 2023-09-11T05:43:08.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-10T06:11:22.000Z (about 1 year ago)
- Last Synced: 2023-10-12T20:28:23.815Z (about 1 year ago)
- Language: C
- Size: 1010 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/).