TheWaWaR / razor

Zig run in ckb-vm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Razor

Razor Dota2

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.

TODO

  • 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
  • Fuzz testing
  • Code coverage use kcov
  • Profile with ckb-debugger
  • Debug with ckb-debugger and gdb
  • A tutorial to help user quick start

About

Zig run in ckb-vm


Languages

Language:Zig 80.8%Language:C 7.5%Language:Rust 7.3%Language:Makefile 4.3%Language:Assembly 0.1%