x f2aac746cb remove get access from update and deploy functions преди 3 години
..
proof 12b7419c10 example/smart-contract: Cleanup преди 3 години
src f2aac746cb remove get access from update and deploy functions преди 3 години
tests 3c69a9fc04 Merge branch 'master' of github.com:darkrenaissance/darkfi преди 3 години
.gitignore 12b7419c10 example/smart-contract: Cleanup преди 3 години
Cargo.lock 9848a1e5f5 runtime: sled blockchain access преди 3 години
Cargo.toml 9848a1e5f5 runtime: sled blockchain access преди 3 години
Makefile 96b159c00c wasm: Working db_init() преди 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