2020-01-22 12:32:09 +01:00
2020-01-21 09:52:19 +01:00
2020-01-21 19:26:14 +01:00
2020-01-14 17:19:56 +01:00
2020-01-21 14:13:36 +01:00
2019-04-03 02:23:49 +01:00
2019-11-14 12:04:50 -08:00
2019-04-03 02:23:49 +01:00
2020-01-21 19:26:14 +01:00
2019-06-08 15:04:45 +01:00
2020-01-21 14:13:36 +01:00
2020-01-21 14:13:36 +01:00
2019-04-03 02:23:49 +01:00
2020-01-21 19:27:42 +01:00

Wasm Zone

CircleCI codecov Go Report Card license LoC

This repository hosts Wasmd, the first implementation of a cosmos zone with wasm smart contracts enabled.

This code was forked from the cosmos/gaia repository and the majority of the codebase is the same as gaia.

Note: Requires Go 1.13+

Compatibility: Last merge from cosmos/gaia was d6dfa141e2ae38a1ff9f53fca8078c0822671b95

Quick Start

make install
make test

To set up a single node testnet, look at the deployment documentation.

If you want to deploy a whole cluster, look at the network scripts.

Dockerized

This is just designed for local testing/CI - DO NOT USE IN PRODUCTION

Build: docker build -t wasmd:manual .

Run:

docker volume rm -f wasmd_data

# pick a simple (8 char) passphrase for testing.. you will type it many times
docker run --rm -it \
    --mount type=volume,source=wasmd_data,target=/root \
    wasmd:manual ./setup.sh

# This will start both wasmd and wasmcli rest-server, only wasmcli output is shown on the screen
docker run --rm -it -p 26657:26657 -p 26656:26656 -p 1317:1317 \
    --mount type=volume,source=wasmd_data,target=/root \
    wasmd:manual ./run.sh

# view wasmd logs in another shell
docker run --rm -it \
    --mount type=volume,source=wasmd_data,target=/root,readonly \
    wasmd:manual ./logs.sh
Description
Wasm Zone
Readme 24 MiB
Languages
Go 98.2%
Shell 1%
Makefile 0.6%
Dockerfile 0.2%