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.
 
 

28 lines
875 B

#!/bin/bash
# Fetch pubkey
pubkey=$(./printkey.py pub)
# Start KMD
echo "[KMD] : Starting KMD"
komodod -notary -pubkey=$pubkey > /dev/null 2>&1 &
# Start assets
if [[ $(./assetchains) = "finished" ]]; then
echo "Started Assetchains"
else
echo "Starting Assetchains Failed: help human!"
exit
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 our auto generated coins file to the iguana coins dir
chmod +x "$chain"_7776
mv "$chain"_7776 iguana/coins
echo "[$chain] : $(./validateaddress.sh $chain)"
done
echo "Building Iguana"
./build_iguana
echo "Finished: Please check ALL your chains are synced before running start_iguana.sh"