configure-nodes-producer.sh

Home   »   configure-nodes-producer.sh

#!/bin/bash

set -eux

. $HOME/.bashrc

# force definition
RELAY_NODE_ADDRESS=${RELAY_NODE_ADDRESS}

cat > $NODE_HOME/${NODE_CONFIG}-topology.json << EOF 
 {
    "Producers": [
      {
        "addr": "$RELAY_NODE_ADDRESS",
        "port": 6000,
        "valency": 1
      }
    ]
  }
EOF

Leave a Reply

Your email address will not be published. Required fields are marked *