From 9531405c9bb95c76a541ab02b063ef4ce2fe6e50 Mon Sep 17 00:00:00 2001 From: hailin Date: Mon, 15 Dec 2025 08:20:48 -0800 Subject: [PATCH] =?UTF-8?q?fix(scripts):=20=E4=BF=AE=E5=A4=8D=E7=83=AD?= =?UTF-8?q?=E9=92=B1=E5=8C=85=E5=88=9D=E5=A7=8B=E5=8C=96=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E7=AB=AF=E5=8F=A3=E4=B8=BA3006?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mpc-service 实际运行在 3006 端口,将脚本默认值从 3013 改为 3006 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- backend/scripts/init-hot-wallet.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/scripts/init-hot-wallet.sh b/backend/scripts/init-hot-wallet.sh index 4bdee317..986e6c5d 100644 --- a/backend/scripts/init-hot-wallet.sh +++ b/backend/scripts/init-hot-wallet.sh @@ -6,7 +6,7 @@ # 用途: 创建系统热钱包的 MPC 密钥,用于提现转账 # # 前提条件: -# 1. mpc-service 正在运行 (默认端口 3013) +# 1. mpc-service 正在运行 (默认端口 3006) # 2. mpc-system 正在运行且所有 party 已启动 # 3. jq 已安装 (用于解析 JSON) # 4. curl 已安装 @@ -18,7 +18,7 @@ # -u, --username 热钱包用户名 (默认: system-hot-wallet) # -n, --threshold-n 总 party 数量 (默认: 3) # -t, --threshold-t 签名门限值 (默认: 2) -# -h, --host mpc-service 地址 (默认: http://localhost:3013) +# -h, --host mpc-service 地址 (默认: http://localhost:3006) # -v, --verbose 显示详细调试信息 # --help 显示帮助 # @@ -43,7 +43,7 @@ NC='\033[0m' # No Color USERNAME="system-hot-wallet" THRESHOLD_N=3 THRESHOLD_T=2 -MPC_HOST="http://localhost:3013" +MPC_HOST="http://localhost:3006" VERBOSE=false # 日志函数