#!/bin/bash
read -p "please input Arbiter address: " arbiter_address
read -p "please input Arbiter btc private key: " arbiter_btc_private_key
read -p "please input Arbiter esc private key: " arbiter_esc_private_key
read -p "please set keystore password: " keystore_password
read -p "for staging? true/false: " staging

docker run -d \
    -e ARBITER_BTC_PRIVATE_KEY="$arbiter_btc_private_key" \
    -e ARBITER_ESC_PRIVATE_KEY="$arbiter_esc_private_key" \
    -e ARBITER_ADDRESS="$arbiter_address" \
    -e ARBITER_KEYPASS="$keystore_password" \
    -e STAGING="$staging" \
    mollkeith/arbiter-signer:v0.0.3
