项目作者: six-days

项目描述 :
ethereum oracle service
高级语言: Go
项目地址: git://github.com/six-days/ethereum-oracle-service.git
创建时间: 2020-06-18T02:21:03Z
项目社区:https://github.com/six-days/ethereum-oracle-service

开源协议:Apache License 2.0

下载


ethereum-oracle-service

以太坊Oracle后端服务

《撸一个预言机(Oracle)服务,真香!》系列文章

1、编译

  1. go build

编译完成后查看帮助信息

  1. ./oracle-service -h
  2. oracle_service version: 1.0.0
  3. Usage: oracle_service [-h help] [-v version] [-c config path] [-l log path]

2、配置

配置信息如下:

  1. # 合约地址
  2. OracleContractAddress = ""
  3. # 网络ws地址
  4. NetworkWS = "ws://"
  5. # 调用合约的私钥
  6. PrivateKey = ""

3、运行

  1. ./oracle-service -c ./conf/app.conf -l logs/