x 92b2cd1e02 wasm: add example db usage to example/smart-contract/src/lib.rs 3 سال پیش
..
proof 12b7419c10 example/smart-contract: Cleanup 3 سال پیش
src 92b2cd1e02 wasm: add example db usage to example/smart-contract/src/lib.rs 3 سال پیش
tests 7d233c5bbf runtime: State update apply 3 سال پیش
.gitignore 12b7419c10 example/smart-contract: Cleanup 3 سال پیش
Cargo.lock 867b1bb7a3 example/smart-contract: Update Cargo.lock 3 سال پیش
Cargo.toml 8ae84ad7f9 Add license header to source files. 3 سال پیش
Makefile 12b7419c10 example/smart-contract: Cleanup 3 سال پیش
README.md 5ffdb1beb9 wasm: alloc pages for apply() 3 سال پیش

README.md

Smart contract demo and template

This crate is a reference DarkFI smart contract implementation. All repositories implementing contracts should follow the same layout, as this will allow easy deployments using the commandline utilities.

rustup target add wasm32-unknown-unknown
cd example/smart-contract/
make test