https://github.com/ewasm/ewasm-kernel
[ORPHANE] Javascript implementation of an eWASM VM
https://github.com/ewasm/ewasm-kernel
Last synced: 3 months ago
JSON representation
[ORPHANE] Javascript implementation of an eWASM VM
- Host: GitHub
- URL: https://github.com/ewasm/ewasm-kernel
- Owner: ewasm
- Created: 2017-10-20T20:52:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-10T05:17:48.000Z (about 8 years ago)
- Last Synced: 2025-10-19T15:54:22.636Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 209 KB
- Stars: 23
- Watchers: 11
- Forks: 10
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SYNOPSIS - WIP
[](https://www.npmjs.org/package/ewasm-kernel)
[](https://travis-ci.org/ewasm/ewasm-kernel)
[](https://github.com/feross/standard)
This is a JS prototype of the [eWASM kernal](https://github.com/ethereum/evm2.0-design).
# INSTALL
You need to compile [nodejs](https://github.com/nodejs/node) from master (`9983af03470a89cc925781279be40898efae3f31` is known to be working) to run
~~`npm install ewasm-kernel`~~
clone and run `npm install`
# CLONE
* [mango](https://github.com/axic/mango) `git clone mango://0xf75056c8c84d993434a2f19251df9ea2a8708df0`
* [git-ssb](https://github.com/clehner/git-ssb) `git clone ssb://%ffhV6DU5qTXl7+fER4qztY37+/C2/6dsFALkREjb2MU=.sha256`
* git `git clone https://github.com/ethereumjs/ewasm-kernel.git`
# TESTS
The tests are written in wasm's text format (.wast) which are then compiled into binary format and ran in node.
To run the test you need
* `git submodule update --init --recursive`
* `cd tools/sexpr-wasm-prototype`
* `git checkout origin/binary_0xa`
* `make`
* `cd ../..`
* `npm test`
A subset of tests can be run by modifying the `test` script in `package.json` using the `--files` argument with comma-separated filenames.
# API
todo
# LICENSE
[MPL-2.0](https://tldrlegal.com/license/mozilla-public-license-2.0-(mpl-2))