smirkcat / btcserver

btc ltc bch omniserver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BTC系列钱包代理程序

  1. 包含 btc bch ltc
  2. omni-usdt

一、 OMNI-USDT

OMNI 协议的USDT 钱包代理程序

ubuntu 切换镜像源

sudo cp /etc/apt/sources.list /etc/apt/sources.list.back
vim /etc/apt/sources.list
:%s/security.ubuntu/mirrors.aliyun/g
:%s/archive.ubuntu/mirrors.aliyun/g
sudo apt update
编译
cd omniserver
./make.sh
直接启动
./omniserver
# 或者
nohup ./omniserver -c omni.toml  >omni-run.log 2>&1 &
服务方式

服务名为 omnirpc

  1. 安装
sudo ./omniserver install -c omni.toml
  1. 卸载服务
sudo ./omniserver remove
  1. 启动服务
sudo ./omniserver start  # 当前路径下面必须有 omni.toml配置文件
# 或者
sudo systemctl start omnirpc
  1. 停止服务
sudo ./omniserver stop
或者
sudo systemctl stop omnirpc
  1. 服务状态
./omniserver status
或者
systemctl status omnirpc

以上 -c omni.toml 参数可忽略,默认参数

二、BTC BCH LTC

  1. 交易记录转发,不记录
  2. 记录地址,用于归集检测

编译

cd btcserver
./make.sh

直接启动

./btcserver -c [btc|ltc|bch].toml
# 或者
nohup ./btcserver -c [btc|ltc|bch].toml  >[btc|ltc|bch]-run.log 2>&1 &

服务方式

服务名以-s 参数确定 默认btc 则服务名为btcrpc

  1. 安装服务
sudo ./btcserver install -c [btc|ltc|bch].toml -s [btc|ltc|bch]
  1. 卸载服务
sudo ./btcserver remove -s [btc|ltc|bch]
  1. 启动服务
sudo ./btcserver start -s [btc|ltc|bch]
# 或者
sudo systemctl start [btc|ltc|bch]rpc
  1. 停止服务
sudo ./btcserver stop -s [btc|ltc|bch]
或者
sudo systemctl stop [btc|ltc|bch]rpc
  1. 服务状态
./btcserver status -s [btc|ltc|bch]
或者
systemctl status [btc|ltc|bch]rpc

Change Log

About

btc ltc bch omniserver


Languages

Language:Go 98.2%Language:Batchfile 1.0%Language:Shell 0.8%