muta-std

Crates.iomuta-std
lib.rsmuta-std
version0.1.0
sourcesrc
created_at2020-08-01 07:47:01.26925
updated_at2020-08-01 07:47:01.26925
descriptionstd library for huobi-chain riscv contract.
homepage
repositoryhttps://github.com/huwenchao/muta-std
max_upload_size
id271879
size19,011
Wenchao Hu (huwenchao)

documentation

README

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
Commit count: 8

cargo fmt