This library contains serveral modules that help you write huobi-chain riscv contract with Rust.
This project is highly inspired by ckb-std.
Check tests to learn how to use.
syscalls
module: defines huobi-chain riscv syscallshigh_level
module: defines high level APIsdebug!
macro: a println!
like macro helps debuggingentry!
macro: defines contract entry pointdefault_alloc!
and libc_alloc!
macro: defines global allocator for no-std rust