Files
jwinterm f8f9b4424c Fork xmrcheckout for Wownero (WOW)
Minimal changes from upstream xmrcheckout to support Wownero:
- Rate provider: Nonlogs WOW-BTC via Kraken BTC/USD
- Subaddress derivation: Wownero network byte overrides (53/63/54)
- Payment URI scheme: wownero:
- Dockerfile: Wownero binaries from Codeberg
- Display text: Monero→Wownero, XMR→WOW throughout UI
- Default daemon: 192.168.88.235:34568
- Added wownero-logo.svg

File and folder structure kept identical to upstream for easy sync.
2026-03-09 11:08:55 -04:00

43 lines
730 B
Bash

#!/bin/sh
set -e
normalize_address() {
value="$1"
if [ -z "$value" ]; then
return
fi
case "$value" in
http://*)
value="${value#http://}"
;;
https://*)
value="${value#https://}"
;;
esac
value="${value%%/*}"
printf '%s' "$value"
}
args=""
while [ "$#" -gt 0 ]; do
case "$1" in
--daemon-address)
shift
normalized="$(normalize_address "$1")"
args="$args --daemon-address $normalized"
;;
--daemon-address=*)
value="${1#--daemon-address=}"
normalized="$(normalize_address "$value")"
args="$args --daemon-address=$normalized"
;;
*)
args="$args $1"
;;
esac
shift
done
# shellcheck disable=SC2086
exec $args