operator-sdk

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2023 License: GPL-2.0 Imports: 1 Imported by: 0

README

operator-sdk

Using the operator-sdk to integrate with the NodeDAO protocol.

Made by: HashKing

Config

For more information about the full configuration and its default values, see: conf/config-default.yaml

If you need to use a configuration file to operate, you need to call:

config.InitConfig("<YOUR_CONFIG_FILE.yaml>")
logger.InitLog(config.GlobalConfig.Log.Level, config.GlobalConfig.Log.Format)

config.InitConfig conf/config-default.yaml is loaded by default, specifying that other configuration files will be merged with configurations.

Installation

go get github.com/NodeDAO/operator-sdk

Operator support

Operator integration into Node DAO requires the following:

  1. Accumulated over 32 ETH, register Validator. see: docs/registerValidator
  2. The user initiates unstake, and the operator needs to exit the Validator. see:docs/exitscan

License

2023 HashKing

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 2 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/.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
common
db
Code generated for package config by go-bindata DO NOT EDIT.
Code generated for package config by go-bindata DO NOT EDIT.
liq
example
dao
utils
validator
exitscan
Package exitscan NodeDAO operator exit scan
Package exitscan NodeDAO operator exit scan

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL