Appendix
Developing with ARM chips​
MacOS users with ARM chips may want to test Feather on linux/amd64 instances. In cases like this, you could setup Feather in a cloud VM.
# Create a VM instance in GCP...# Create a GKE cluster in GCP...# SSH into the newly-created instancegcloud compute ssh myuser@myhost# Update/Upgrade packagessudo apt update && sudo apt upgrade# Install golangexport LATEST_GO_VERSION="$(curl --silent https://go.dev/VERSION?m=text)"export GO_TAR_FILE="$LATEST_GO_VERSION.linux-amd64.tar.gz"export GO_DOWNLOAD_URL="https://golang.org/dl/$GO_TAR_FILE"wget $GO_DOWNLOAD_URL -P ~sudo rm -rf /usr/local/gosudo tar -C /usr/local -xzf ~/$GO_TAR_FILErm -f ~/$GO_TAR_FILE# Add go binary to PATHexport GO_BIN="export PATH=$PATH:/usr/local/go/bin"grep -qxF "$GO_BIN" ~/.profile || echo $GO_BIN >>~/.profilesource ~/.profile# Add go installation folder to PATHexport GO_PATH="export PATH=$PATH:$(go env GOPATH)/bin"grep -qxF "$GO_PATH" ~/.profile || echo $GO_PATH >>~/.profilesource ~/.profile# Verify golang is installedgo version# Install make for Makefilessudo apt install make# Build feather binary from sourcegit clone https://github.com/terra-money/feathercd feathergit checkout devcd climake install# Install docker (omitted)# https://docs.docker.com/engine/install/ubuntu/# Allow non-root access to docker# https://docs.docker.com/engine/install/linux-postinstall/sudo groupadd dockersudo usermod -aG docker $USERnewgrp docker# Start docker on VM startup and verify docker is runningsudo systemctl start dockersudo systemctl enable docker.servicesudo systemctl enable containerd.servicesudo systemctl status docker# Install gcloud CLI (omitted)# https://cloud.google.com/sdk/docs/install#deb# Login with an account with access to the GKE clustergcloud init# Install kubectl and required plugins# https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl#gcloudsudo apt-get install kubectlsudo apt-get install google-cloud-sdk-gke-gcloud-auth-plugin# Configure access to clusterexport CLUSTER_NAME="<your cluster name>"export CLUSTER_REGION="<your cluster region>"gcloud container clusters get-credentials $CLUSTER_NAME --region=$CLUSTER_REGION# Import key for feather daemon to sign txsfeather config keys add mykey --recover# Init feather daemon configfeather validator config init --moniker mymoniker# Start feather daemonexport DOCKER_USER="<your docker username>"export DOCKER_PW="<your docker password>"feather validator daemon start --key mykey --docker-registry dockerhub --docker-username $DOCKER_USER --docker-password $DOCKER_PW