A project to help developers writing script in Lua on CKB-VM.
make all-via-docker
There are a lot of tests located in 'tests' folder. Before running, please install ckb-debugger described in CI scripts. Here is a "hello,world" example:
make -C tests/test_cases hello_world
There are 2 ways to use this project:
- Embedded (Recommended)
Use build/libckblua.so
as a dynamic library. See dylib.md for a detailed tutorial on how to use build/libckblua.so
.
- Standalone
Use build/lua-loader
as a script. Require hacking for further requirement.