fix(scripts): 修复热钱包初始化脚本默认端口为3006

mpc-service 实际运行在 3006 端口,将脚本默认值从 3013 改为 3006

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-15 08:20:48 -08:00
parent ad22c23656
commit 9531405c9b
1 changed files with 3 additions and 3 deletions

View File

@ -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
# 日志函数