3 releases
0.1.4 | Sep 17, 2020 |
---|---|
0.1.3 | Sep 17, 2020 |
0.1.0 | Aug 3, 2020 |
#13 in #fabric
Used in fabric_contract
14KB
195 lines
fabric_contract_macros
This is the the macros crate for...
Fabric Rust Contract-API
"The Fabric Contract API in rust, with Wasm as the compilation target."
A SmartContract is single crate, containing one or more contract sructs, compiled to a Wasm library. In this repo the basic_contract_rs
is an example. This is a simple asset based contract based on the standard vs code extension examples.
End-to-End Getting Started Guide
lib.rs
:
Definitions of the macros used for the Contracts.
There are macros for use with the Contract Structs, and the Transaction Functions
Dependencies
~1.5MB
~35K SLoC