# WASP installation notes ## Prerequisites VPS with Ubuntu 18.04 GoShimmer node (verify and apply [GoShimmer Docker Changes](#GoShimmer-Docker-installation-changes)) ## Installation Install Go version 1.16.8 (WASP does not build with Go 1.14 in Ubuntu) `sudo snap install go --classic` ## Clone and build WASP `git clone https://github.com/iotaledger/wasp.git` ### Switch to develop branch ``` cd wasp git fetch origin develop git checkout develop ``` ### Build WASP with rocksdb tags `go build -tags rocksdb` ### Build WASP-cli `go build -tags rocksdb ./tools/wasp-cli` ## Start WASP ### Create an empty directory for the node and copy the necessary files ``` cd .. mkdir wasp-node cd wasp-node cp ../wasp/wasp . cp ../wasp/config.json . cp ../wasp/wasp-cli . ``` ### Edit WASP configuration `nano config.json` #### Change the Dashboard password ``` }, "dashboard": { "auth": { "scheme": "basic", "username": "wasp", "password": "PUT A STRONG PASSWORD HERE" }, ``` #### Change the address of the GoShimmer node ``` }, "nodeconn": { "address": "YOURGOSHIMMERIP:5000" }, ``` #### Run WASP `./wasp` ## GoShimmer Docker installation changes ### Add the TXStream plugin port ``` ports: [...] # TXStream plugin - "0.0.0.0:5000:5000/tcp" [...] ``` ### Enable the TXStream plugin ``` [...] --node.enablePlugins=remotelog,networkdelay,spammer,prometheus,txstream [...] ``` ## Connect WASP nodes with each other ### Set up WASP-cli `wasp-cli init`