Sign inSign up

nodedao/oracle-go

By nodedao

•Updated almost 3 years ago

Golang NodeDAO Oracle daemon

Image
0

634

nodedao/oracle-go repository overview

⁠oracle-go

Golang NodeDAO Oracle daemon

Made by: kinghash⁠

Oracle daemon for NodeDAO decentralized staking service. Collects and reports Beacon Chain states to the NodeDAO contract running on Ethereum execution layer.

For oracle, see: NodeDAO/oracle-go⁠

For oracle contracts, see: NodeDAO/NodeDAO-Protocol⁠

⁠Config File

See the complete configuration file:conf/config-default.yaml⁠

You are advised to modify the configuration:

log:
  level:
    server: debug

eth:
  network: mainnet
  elAddr:
  clAddr:
  privateKey:
⁠Configuration details
AttributeRequiredDefaultDescription
log.level.serverfalseinfolog level
networkfalsemainnetnetwork
clAddrtrueETH consensus layer connection address
elAddrtrueETH execution layer connection address
privateKeytrueOracle member's private key(Make enough ETH to support the GAS of transactions)
⁠Note:
  • Ensure connectivity between the ETH execution layer and the ETH consensus layer nodes for which the executionLayerAddr and beaconNodeAddr parameters are set.
  • Ensure that privateKey's private key is authorized by Oracle member.

⁠Run

⁠Docker

NodeDAO oracle-go docker images⁠

docker pull nodedao/oracle-go:latest
docker run --name nodedao-oracle -v `pwd`/config-dev.yaml:/config/config-dev.yaml -d --restart=always nodedao/oracle-go:latest --config /config/config-dev.yaml

⁠License

2022 kinghash

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License⁠ along with this program. If not, see https://www.gnu.org/licenses/⁠.

Tag summary

Content type

Image

Digest

sha256:cfb35fc9b…

Size

24.8 MB

Last updated

almost 3 years ago

docker pull nodedao/oracle-go:0.2.1