3 releases
0.1.4 | Sep 17, 2020 |
---|---|
0.1.3 | Sep 17, 2020 |
0.1.0 | Aug 3, 2020 |
#15 in #fabric
74KB
1.5K
SLoC
fabric_contract_macros
This is the the library 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
:
This is the main crate for providing support for writing Smart Contracts to work with Hyperledger Fabric's Wasm chaincode runtime.
The fabric_contract_macros
crate contains the macros to assist with development of the Smart
Contracts
basic_contract_rs
shows a simple Asset contract.
Dependencies
~3.5–5.5MB
~103K SLoC