diff --git a/VERSION.properties b/VERSION.properties index 8644abcc..84ccff6b 100644 --- a/VERSION.properties +++ b/VERSION.properties @@ -1,2 +1,2 @@ -client.version=1.21.9 +client.version=1.21.10 server.version=1.17.7 diff --git a/deploy/TEST_SERVERS.md b/deploy/TEST_SERVERS.md index a357c116..37b3a833 100644 --- a/deploy/TEST_SERVERS.md +++ b/deploy/TEST_SERVERS.md @@ -51,7 +51,7 @@ ## Deploy -Для UI-деплоя установите `DEPLOY_SOLANA_ENDPOINT` **явно**. Скрипты теперь не содержат API-ключей и завершаются ошибкой, если endpoint не указан. +UI-скрипты используют публичный gateway соответствующего стенда по умолчанию (`https://<стенд>.shineup.me/solana-rpc`). При необходимости endpoint можно переопределить через `DEPLOY_SOLANA_ENDPOINT`. Скрипты не содержат API-ключей. Рекомендуется использовать собственный RPC gateway, например `/solana-rpc` на домене соответствующего стенда (после настройки Caddy по `deploy/SOLANA_RPC_GATEWAY_CADDY_SNIPPET.md`). Так ключ Helius остаётся на сервере и не попадает в клиентский JavaScript. Если gateway не настроен, можно временно использовать публичный Solana devnet RPC с ограничениями по нагрузке. diff --git a/deploy/scripts/test_shineupme_ui.sh b/deploy/scripts/test_shineupme_ui.sh index 152d775a..382bd78c 100755 --- a/deploy/scripts/test_shineupme_ui.sh +++ b/deploy/scripts/test_shineupme_ui.sh @@ -1,12 +1,9 @@ #!/usr/bin/env bash set -euo pipefail -# Use an explicit public RPC gateway URL. Never commit an Helius API key. -if [[ -z "${DEPLOY_SOLANA_ENDPOINT:-}" ]]; then - echo "ERROR: DEPLOY_SOLANA_ENDPOINT is required for test.shineup.me UI deploy." >&2 - echo "Set it to a working public RPC gateway (prefer https://test.shineup.me/solana-rpc)." >&2 - exit 1 -fi +# Use the public RPC gateway by default. An explicit DEPLOY_SOLANA_ENDPOINT +# still overrides it. Never commit an Helius API key. +DEPLOY_SOLANA_ENDPOINT="${DEPLOY_SOLANA_ENDPOINT:-https://test.shineup.me/solana-rpc}" REMOTE_HOST="player@t4.shineup.me" \ REMOTE_UI_DIR="/home/player/t4/UI" \ diff --git a/deploy/scripts/test_t1_ui.sh b/deploy/scripts/test_t1_ui.sh index d487259b..d5f32863 100644 --- a/deploy/scripts/test_t1_ui.sh +++ b/deploy/scripts/test_t1_ui.sh @@ -1,13 +1,9 @@ #!/usr/bin/env bash set -euo pipefail -# Use an explicit public RPC gateway URL. Never commit an Helius API key. -# Recommended: https://t1.shineup.me/solana-rpc (only if the proxy is configured). -if [[ -z "${DEPLOY_SOLANA_ENDPOINT:-}" ]]; then - echo "ERROR: DEPLOY_SOLANA_ENDPOINT is required for t1 UI deploy." >&2 - echo "Set it to a working public RPC gateway (prefer your /solana-rpc proxy)." >&2 - exit 1 -fi +# Use the public RPC gateway by default. An explicit DEPLOY_SOLANA_ENDPOINT +# still overrides it. Never commit an Helius API key. +DEPLOY_SOLANA_ENDPOINT="${DEPLOY_SOLANA_ENDPOINT:-https://t1.shineup.me/solana-rpc}" REMOTE_HOST="player@t1.shineup.me" \ REMOTE_UI_DIR="/home/player/t1/UI" \ diff --git a/deploy/scripts/test_t2_ui.sh b/deploy/scripts/test_t2_ui.sh index bec13586..6b0a094b 100644 --- a/deploy/scripts/test_t2_ui.sh +++ b/deploy/scripts/test_t2_ui.sh @@ -1,13 +1,9 @@ #!/usr/bin/env bash set -euo pipefail -# Use an explicit public RPC gateway URL. Never commit an Helius API key. -# Recommended: https://t2.shineup.me/solana-rpc (only if the proxy is configured). -if [[ -z "${DEPLOY_SOLANA_ENDPOINT:-}" ]]; then - echo "ERROR: DEPLOY_SOLANA_ENDPOINT is required for t2 UI deploy." >&2 - echo "Set it to a working public RPC gateway (prefer your /solana-rpc proxy)." >&2 - exit 1 -fi +# Use the public RPC gateway by default. An explicit DEPLOY_SOLANA_ENDPOINT +# still overrides it. Never commit an Helius API key. +DEPLOY_SOLANA_ENDPOINT="${DEPLOY_SOLANA_ENDPOINT:-https://t2.shineup.me/solana-rpc}" REMOTE_HOST="player@t2.shineup.me" \ REMOTE_UI_DIR="/home/player/t2/UI" \ diff --git a/deploy/scripts/test_t3_ui.sh b/deploy/scripts/test_t3_ui.sh index eb34a647..8f7deb77 100644 --- a/deploy/scripts/test_t3_ui.sh +++ b/deploy/scripts/test_t3_ui.sh @@ -1,13 +1,9 @@ #!/usr/bin/env bash set -euo pipefail -# Use an explicit public RPC gateway URL. Never commit an Helius API key. -# Recommended: https://t3.shineup.me/solana-rpc (only if the proxy is configured). -if [[ -z "${DEPLOY_SOLANA_ENDPOINT:-}" ]]; then - echo "ERROR: DEPLOY_SOLANA_ENDPOINT is required for t3 UI deploy." >&2 - echo "Set it to a working public RPC gateway (prefer your /solana-rpc proxy)." >&2 - exit 1 -fi +# Use the public RPC gateway by default. An explicit DEPLOY_SOLANA_ENDPOINT +# still overrides it. Never commit an Helius API key. +DEPLOY_SOLANA_ENDPOINT="${DEPLOY_SOLANA_ENDPOINT:-https://t3.shineup.me/solana-rpc}" REMOTE_HOST="player@t3.shineup.me" \ REMOTE_UI_DIR="/home/player/t3/UI" \