Categorygithub.com/confio/go-wasm
modulepackage
0.0.0-20190615152900-b224daa71c94
Repository: https://github.com/confio/go-wasm.git
Documentation: pkg.go.dev

# README

How to compile wasm

Requirements

rustup update
rustup default nightly
rustup target add wasm32-unknown-unknown

Compile example wasm

cd examples/greet
sh ./build.sh
ls -l build

Run go tests

From top level, call go test -v .

Cosmos-wasm interface

init or receive

{
    "signer": "hex addr",
    "coins": [{"ticker": "RGN", "value": "100.23"}],
    "msg": {/*your app-specific data*/}
}

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
Read loads a wasm file.
Run will execute the named function on the wasm bytes with the passed arguments.

# Type aliases

No description provided by the author