blackjok3r 6 years ago
parent
commit
fa730fef75
  1. 4
      start.sh
  2. 1
      validateaddress.sh

4
start.sh

@ -3,6 +3,7 @@
pubkey=$(./printkey.py pub)
# Start KMD
echo "[KMD] : Starting KMD"
komodod -notary -pubkey=$pubkey > /dev/null 2>&1 &
# Start assets
@ -14,9 +15,10 @@ else
fi
# Validate Address on KMD + AC, will poll deamon until started then check if address is imported, if not import it.
echo "[KMD] : Checking your address and importing it if required."
echo "[KMD] : $(./validateaddress.sh KMD)"
./listassetchains.py | while read chain; do
# Move out auto generated coins file to the iguana coins dir
# Move our auto generated coins file to the iguana coins dir
mv "$chain_7776" iguana/coins
echo "[$chain] : $(./validateaddress.sh $chain)"
done

1
validateaddress.sh

@ -16,6 +16,7 @@ while [[ ${started} -eq 0 ]]; do
outcome=$(echo $?)
if [[ ${outcome} -eq 0 ]]; then
started=1
echo "[$1] : Started"
fi
done

Loading…
Cancel
Save