Vexta/contrib/vexta/start-mainnet.sh

14 lines
341 B
Shell
Raw Normal View History

2026-07-15 14:07:28 +00:00
#!/usr/bin/env bash
set -euo pipefail
DATADIR="${VEXTA_DATADIR:-$HOME/.vexta}"
mkdir -p "$DATADIR"
if [ ! -f "$DATADIR/vexta.conf" ]; then
cp "$(dirname "$0")/vexta-mainnet.conf" "$DATADIR/vexta.conf"
echo "Created $DATADIR/vexta.conf"
echo "Edit rpcpassword before using this node publicly."
fi
vextad -datadir="$DATADIR" -daemon