An open API service indexing awesome lists of open source software.

https://github.com/libraries/ckb-vm-wasm


https://github.com/libraries/ckb-vm-wasm

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

Build

```sh
$ cargo build
```

Run by pywasm

```sh
$ pip install pywasm

$ python
import pywasm
runtime = pywasm.core.Runtime()
m = runtime.instance_from_file('target/wasm32-unknown-unknown/debug/ckb-vm-wasm.wasm')
print(runtime.invocate(m, '_start', []))
```

Run by wasmer

```sh
$ wget https://github.com/wasmerio/wasmer/releases/download/v4.4.0/wasmer-linux-amd64.tar.gz
$ tar -xvf wasmer-linux-amd64.tar.gz

$ bin/wasmer target/wasm32-unknown-unknown/debug/ckb-vm-wasm.wasm
```