#riscv #muta #huobi-chain

nightly muta-std

std library for huobi-chain riscv contract

1 unstable release

0.1.0 Aug 1, 2020

#2 in #muta

MIT license

18KB
445 lines

muta-std

Crates.io

This library contains serveral modules that help you write huobi-chain riscv contract with Rust.

This project is highly inspired by ckb-std.

Usage

Check tests to learn how to use.

Modules

  • syscalls module: defines huobi-chain riscv syscalls
  • high_level module: defines high level APIs
  • debug! macro: a println! like macro helps debugging
  • entry! macro: defines contract entry point
  • default_alloc! and libc_alloc! macro: defines global allocator for no-std rust

Dependencies

~195KB