Sign inSign up

zignartech/wasp

By zignartech

•Updated over 4 years ago

Image
0

916

zignartech/wasp repository overview

⁠Run

docker network create --driver=bridge shimmer

⁠File goshimmer config.json

Replace with your seed in node and faucet https://github.com/iotaledger/goshimmer/tree/develop/tools/rand-seed⁠ Run => go run main.go Will generate random seeds

{
    "analysis": {
      "client": {
        "serverAddress": "analysisentry-01.devnet.shimmer.iota.cafe:21888"
      },
      "server": {
        "bindAddress": "0.0.0.0:16178"
      },
      "dashboard": {
        "bindAddress": "0.0.0.0:8000",
        "dev": false
      }
    },
    "autoPeering": {
      "entryNodes": [
        "2PV5487xMw5rasGBXXWeqSi4hLz7r19YBt8Y1TGAsQbj@analysisentry-01.devnet.shimmer.iota.cafe:15626",
        "5EDH4uY78EA6wrBkHHAVBWBMDt7EcksRq6pjzipoW15B@entry-devnet.tanglebay.com:14646"
      ],
      "bindAddress": "0.0.0.0:14626"
    },
    "dashboard": {
      "bindAddress": "0.0.0.0:8081",
      "dev": false,
      "basicAuth": {
        "enabled": false,
        "username": "goshimmer",
        "password": "goshimmer"
      }
    },
    "database": {
      "directory": "mainnetdb",
      "inMemory": false
    },
    "drng": {
      "pollen": {
        "instanceId": 1,
        "threshold": 3,
        "distributedPubKey": "",
        "committeeMembers": [
          "AheLpbhRs1XZsRF8t8VBwuyQh9mqPHXQvthV5rsHytDG",
          "FZ28bSTidszUBn8TTCAT9X1nVMwFNnoYBmZ1xfafez2z",
          "GT3UxryW4rA9RN9ojnMGmZgE2wP7psagQxgVdA4B9L1P",
          "4pB5boPvvk2o5MbMySDhqsmC2CtUdXyotPPEpb7YQPD7",
          "64wCsTZpmKjRVHtBKXiFojw7uw3GszumfvC4kHdWsHga"
        ]
      },
      "xTeam": {
        "instanceId": 1339,
        "threshold": 4,
        "distributedPubKey": "",
        "committeeMembers": [
          "GUdTwLDb6t6vZ7X5XzEnjFNDEVPteU7tVQ9nzKLfPjdo",
          "68vNzBFE9HpmWLb2x4599AUUQNuimuhwn3XahTZZYUHt",
          "Dc9n3JxYecaX3gpxVnWb4jS3KVz1K1SgSK1KpV1dzqT1",
          "75g6r4tqGZhrgpDYZyZxVje1Qo54ezFYkCw94ELTLhPs",
          "CN1XLXLHT9hv7fy3qNhpgNMD6uoHFkHtaNNKyNVCKybf",
          "7SmttyqrKMkLo5NPYaiFoHs8LE6s7oCoWCQaZhui8m16",
          "CypSmrHpTe3WQmCw54KP91F5gTmrQEL7EmTX38YStFXx"
        ]
      },
      "custom": {
        "instanceId": 9999,
        "threshold": 3,
        "distributedPubKey": "",
        "committeeMembers": []
      }
    },
    "fpc": {
      "bindAddress": "0.0.0.0:10895"
    },
    "gossip": {
      "bindAddress": "0.0.0.0:14666"
    },
    "logger": {
      "level": "info",
      "disableCaller": false,
      "disableStacktrace": false,
      "encoding": "console",
      "outputPaths": [
        "stdout",
        "goshimmer.log"
      ],
      "disableEvents": true,
      "remotelog": {
        "serverAddress": "metrics-01.devnet.shimmer.iota.cafe:5213"
      }
    },
    "metrics": {
      "local": true,
      "global": false
    },
    "mana": {
      "allowedAccessFilterEnabled": false,
      "allowedAccessPledge": [],
      "allowedConsensusFilterEnabled": false,
      "allowedConsensusPledge": []
    },
    "network": {
      "bindAddress": "0.0.0.0",
      "externalAddress": "auto"
    },
    "node": {
      "seed": "base64:17ijCQp1D3W3eMJ8kG8yH0s6pWluvu+TpC+NYbt9Y6I=",
      "peerDBDirectory": "peerdb",
      "disablePlugins": ["portcheck"],
      "enablePlugins": ["txstream","faucet"]
    },
    "pow": {
      "difficulty": 22,
      "numThreads": 1,
      "timeout": "1m"
    },
    "profiling": {
      "bindAddress": "0.0.0.0:6061"
    },
    "prometheus": {
      "bindAddress": "127.0.0.1:9311"
    },
    "webapi": {
      "bindAddress": "0.0.0.0:8080",
      "basicAuth": {
        "enabled": false,
        "username": "goshimmer",
        "password": "goshimmer"
      },

	"reuse_addresses": false,
	"faucetPowDifficulty": 25,
	"assetRegistryNetwork": "nectar"
    },
    "txstream": {
        "bindAddress": "0.0.0.0:5000"
      },
      "faucet": {
        "seed":"FX5x2jTWGxs3uQRcpuKuZdBxXZv7mqQphGGqUhaLSvJV"
      },
    "broadcast": {
      "bindAddress": "127.0.0.1:5050"
    },
    "networkdelay": {
      "originPublicKey": "9DB3j9cWYSuEEtkvanrzqkzCQMdH1FGv3TawJdVbDxkd"
    }
  }

⁠File wasp config.json

{
  "database": {
    "directory": "waspdb"
  },
  "logger": {
    "level": "debug",
    "disableCaller": false,
    "disableStacktrace": true,
    "encoding": "console",
    "outputPaths": [
      "stdout",
      "wasp.log"
    ],
    "disableEvents": true
  },
  "network": {
    "bindAddress": "0.0.0.0",
    "externalAddress": "auto"
  },
  "node": {
    "disablePlugins": [],
    "enablePlugins": []
  },
  "webapi": {
    "bindAddress": "0.0.0.0:9090"
  },
  "dashboard": {
    "auth": {
      "scheme": "basic",
      "username": "wasp",
      "password": "wasp"
    },
    "bindAddress": "0.0.0.0:7000"
  },
  "peering":{
    "port": 4000,
    "netid": "0.0.0.0:4000"
  },
  "nodeconn": {
    "address": "goshimmer:5000"
  },
  "nanomsg":{
    "port": 5550
  }
}

⁠Docker-compose

version: '3.3'

networks:
  outside:
    external:
      name: shimmer

services:

  goshimmer:
    image: iotaledger/goshimmer:latest
    container_name: goshimmer
    hostname: goshimmer
    stop_grace_period: 2m
    # Mount volumes:
    # make sure to give read/write access to the folder ./mainnetdb (e.g., chmod -R 777 ./mainnetdb)
    # optionally, you can mount a config.json into the container
    volumes:
      - "~/stack-data/goshimmer/db:/tmp/mainnetdb:rw"
      - "~/stack-data/goshimmer/peerdb:/tmp/peerdb:rw"
      - "/etc/localtime:/etc/localtime:ro"
      - ./goshimmer/config.json:/config.json:ro
    ports:
      # AutoPeering
      - "0.0.0.0:14626:14626/udp"
      # Gossip
      - "0.0.0.0:14666:14666/tcp"
      # FPC
      - "0.0.0.0:10895:10895/tcp"
      # HTTP API
      - "0.0.0.0:8080:8080/tcp"
      # Dashboard
      - "0.0.0.0:8081:8081/tcp"
      # pprof profiling
      - "0.0.0.0:6061:6061/tcp"
      # txstream
      - "0.0.0.0:5000:5000/tcp"
    networks:
      - outside

  wasp:
    container_name: wasp
    image: zignartech/wasp:develop
    ports:
      # dashboard
      - "0.0.0.0:7000:7000/tcp"
      # webapi
      - "0.0.0.0:9090:9090/tcp"
      # HTTP API
      - "0.0.0.0:5550:5550/tcp"
      # peering
      - "0.0.0.0:4000:4000/tcp"
    volumes:
      - "./wasp/config.json:/run/config.json"
    depends_on:
      - goshimmer
    networks:
      - outside

Tag summary

Content type

Image

Digest

Size

40.3 MB

Last updated

over 4 years ago

docker pull zignartech/wasp