博主推特:https://twitter.com/BtcK241918
在搭建节点之前,首先需要购买VPS来运行节点。节点需要保持24小时不间断运行。我选择了Contabo的主机,价格相对较为经济实惠。您可以通过使用我的推荐链接来购买:
使用一键脚本命令 (感谢推特 @ouyoung11 大哥 写的代码)
wget -O CAT_Protocol.sh "https://raw.githubusercontent.com/ttkklei001/CAT-Protocol/main/CAT%20Protocol.sh" && \
sed -i 's/\r$//' CAT_Protocol.sh && \
chmod +x CAT_Protocol.sh && \
./CAT_Protocol.sh
适用于 MAC 苹果系统的脚本 确保安装curl
curl -o mac-cat-Protocol.txt https://raw.githubusercontent.com/ttkklei001/mac-cat-Protocol/main/mac-cat-Protocol.txt && \
chmod +x mac-cat-Protocol.txt && \
./mac-cat-Protocol.txt
菜单选择1
等待构建 安装完成 可能时间有点长
选择菜单选项2 创建钱包
并保存好你的助记词
将助记词导入到
unisat钱包 导入时使用
`m/44'/0'/0'/0/0` 格式
然后将FB代币发送到你的钱包地址
mint需要等待节点同步完成
然后选择菜单选项3开始mint
这里可以查看区块高度
可以用菜单选项4查看全节点日志
关于节点同步不了,是5432端口被占用了
停止本地 PostgreSQL 服务: 本地 5432
端口已经被占用,您可以尝试停止本地的 PostgreSQL 服务,确保该端口可以被 Docker 容器使用。
停止本地 PostgreSQL 服务的命令:
停止本地 PostgreSQL 服务的命令:
sudo systemctl stop postgresql
启动 tracker-postgres-1
容器: 停止本地 PostgreSQL 服务后,再次启动 tracker-postgres-1
容器:
docker start tracker-postgres-1
验证 tracker-postgres-1
容器状态: 确认容器成功启动并监听 5432
端口:
docker ps -a
重新启动 tracker
容器: 通过重新启动 tracker
容器,让其连接到正确的 PostgreSQL 容器:
docker restart tracker
然后再次查看 tracker
容器的日志,确保数据库连接成功。
查看日志命令
docker logs -f tracker