parazyd f6296bf3f2 smart-contract: Add note about deleting sled trees on failures. %!s(int64=3) %!d(string=hai) anos
..
proof 12b7419c10 example/smart-contract: Cleanup %!s(int64=4) %!d(string=hai) anos
src f6296bf3f2 smart-contract: Add note about deleting sled trees on failures. %!s(int64=3) %!d(string=hai) anos
tests 346a6a5802 wasm: make functions use the same generic underlying call(), and able to return data through env with set_return_data() %!s(int64=3) %!d(string=hai) anos
.gitignore 12b7419c10 example/smart-contract: Cleanup %!s(int64=4) %!d(string=hai) anos
Cargo.lock 9848a1e5f5 runtime: sled blockchain access %!s(int64=3) %!d(string=hai) anos
Cargo.toml 9848a1e5f5 runtime: sled blockchain access %!s(int64=3) %!d(string=hai) anos
Makefile 96b159c00c wasm: Working db_init() %!s(int64=3) %!d(string=hai) anos
README.md 5ffdb1beb9 wasm: alloc pages for apply() %!s(int64=3) %!d(string=hai) anos

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