Crates.io | muta-std |
lib.rs | muta-std |
version | 0.1.0 |
source | src |
created_at | 2020-08-01 07:47:01.26925 |
updated_at | 2020-08-01 07:47:01.26925 |
description | std library for huobi-chain riscv contract. |
homepage | |
repository | https://github.com/huwenchao/muta-std |
max_upload_size | |
id | 271879 |
size | 19,011 |
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