#!/bin/bash set -e errexit DIR="$HOME" mkdir -p $DIR # Move into the repo directory cd $DIR ## Clone the oracle-feeder repo. git clone git@github.com:persistenceOne/oracle-feeder.git # Move into the oracle feeder directory cd $DIR/oracle-feeder # Checkout specific branch and build the binary git checkout tikaryan/add-mock-provider && go install # initialize oracle-feeder configuration touch $DIR/oracle-feeder/config.toml # setup price-feeder configuration tee $DIR/oracle-feeder/config.toml < /dev/null