#vm #unit-tests

cosmwasm-vm

VM bindings to run cosmwams contracts

14 releases (5 breaking)

✓ Uses Rust 2018 edition

new 0.6.3 Jan 15, 2020
0.6.0 Dec 23, 2019
0.5.1 Nov 29, 2019
Download history 15/week @ 2019-10-04 3/week @ 2019-10-11 53/week @ 2019-10-18 99/week @ 2019-10-25 25/week @ 2019-11-01 9/week @ 2019-11-08 24/week @ 2019-11-15 26/week @ 2019-11-22 86/week @ 2019-11-29 70/week @ 2019-12-06 22/week @ 2019-12-13 15/week @ 2019-12-20 52/week @ 2019-12-27 28/week @ 2020-01-03 139/week @ 2020-01-10

209 downloads per month
Used in 2 crates

Apache-2.0

120KB
2.5K SLoC

Cosmwasm VM

This is an abstraction layer around the wasmer VM to expose just what we need to run cosmwasm contracts in a high-level manner. This is intended both for efficient writing of unit tests, as well as a public API to run contracts in eg. go-cosmwasm. As such it includes all glue code needed for typical actions, like fs caching.

Setup

There is a demo file in testdata/contract.wasm - this is a compiled and optimized version of contracts/hackatom run through cosmwasm-opt.

Dependencies

~7.5MB
~154K SLoC