muta-std 0.1.0

std library for huobi-chain riscv contract.
docs.rs failed to build muta-std-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

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