Ewasmint(Ethermint powered by eWASM)
- Check the docs for the original README.
The projects I referred to in order to use ewasm.
- evmc: API to connect to the Ethereum client
- ssvm-evmc: WebAssembly VM for EVMC
- SSVM: WebAssembly Virtual Machine, not necessarily a blockchain It's not a VM for
Building Ewasmint
To build, execute the following commands:
# To prepare go-ethereum, evmc for ewasm vm
make prepare
# Build ewasm library
# get <your/build/folder>/tools/ssvm-evmc/libssvm-evmc.dylib on Mac
git clone https://github.com/second-state/ssvm-evmc.git
cd ssvm-evmc
mkdir -p build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON .. && make
# To build the project and install it in $GOBIN
make install
# To build the binary and put the resulting binary in ./build
make build