You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

11 lines
293 B

#!/bin/bash
cd "${BASH_SOURCE%/*}" || exit
cli="komodod"
overide_args="$@"
pubkey=$(cat pubkey.txt)
seed_ip=$(getent hosts zero.kolo.supernet.org | awk '{ print $1 }')
./listassetchainparams | while read args; do
${cli} ${args} ${overide_args} -pubkey=${pubkey} -addnode=${seed_ip} &
done