Razor is a development framework writing in zig for creating smart contract for Nervos' CKB layer 1 blockchain. Razor is designed to provide an out-of-the-box solution that helps Nervos developers accomplish common tasks quickly and painlessly.
- Use ckb syscall
- Use FixedBufferAllocator
- Add all syscalls
- Add all helper function in
ckb-std
- high level syscall
- error types
- common data types (ckb-types/since/...)
- simulator
- dynamic loading
- Choose a better allocator and a heap size
- An example to wrap a relatively complex C library
- secp256k1
- Port anyone can pay type script
- Add test library (
ckb-testtool
) - Add Command line tool to manage the project
- create project
- deploy binary (with migration support)
ckb-debugger
integrationckb-binary-pather
integration
- Fuzz testing
- Code coverage use kcov
- Profile with ckb-debugger
- Debug with ckb-debugger and gdb
- A tutorial to help user quick start