ckb-contract-std
This library contains serveral modules that could help you write CKB contract with Rust.
- syscall module: defines CKB syscalls functions
- debug macro: a
println!
like macro helps debugging - setup macro: defines contract entry point
Check examples
, docs and this tutorial to learn how to use.
See also ckb-contract-tool which helps you write tests.