From aa459e3b84cc4c5d908f3781c9253848c18640c3 Mon Sep 17 00:00:00 2001 From: Gab Virebent Date: Sat, 20 Jun 2026 01:07:45 +0000 Subject: Initial public release: Nym-native anonymous submission system End-to-end verified pipeline (browser -> HTTP relay -> Nym mixnet -> reader). Client-side X25519+HKDF+AES-GCM-256, no-log blind relay, AGPL-3.0. --- scripts/fetch-nym-binaries.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 scripts/fetch-nym-binaries.sh (limited to 'scripts/fetch-nym-binaries.sh') diff --git a/scripts/fetch-nym-binaries.sh b/scripts/fetch-nym-binaries.sh new file mode 100755 index 0000000..ff8f7b6 --- /dev/null +++ b/scripts/fetch-nym-binaries.sh @@ -0,0 +1,27 @@ +#!/usr/bin/env bash +# Fetch the nym-client binary required for the embedded build. +# The binary is not committed to keep the repository small. +# +# Target: nym-client v1.1.76 (linux/amd64), the version NymDrop is tested with. +set -euo pipefail + +VERSION="v1.1.76" +URL="https://github.com/nymtech/nym/releases/download/nym-binaries-${VERSION}/nym-client" +DEST_DIRS=( + "cmd/nymdrop/bin" + "cmd/nymdrop-reader/bin" +) + +root="$(cd "$(dirname "$0")/.." && pwd)" +tmp="$(mktemp)" +echo "Downloading nym-client ${VERSION} ..." +curl -fL "$URL" -o "$tmp" +chmod +x "$tmp" + +for d in "${DEST_DIRS[@]}"; do + mkdir -p "$root/$d" + cp "$tmp" "$root/$d/nym-client-linux-amd64" + echo " installed -> $d/nym-client-linux-amd64" +done +rm -f "$tmp" +echo "Done. You can now run: go build ./cmd/nymdrop/ && go build ./cmd/nymdrop-reader/" -- cgit v1.2.3