ssv-keys-go

command module
v0.0.0-...-28d388b Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

ssv-keys-go

ETH SSV Key's Golang implementation

Library and CLI to work with the ETH keystore file:

  1. Parse the private key using the keystore password
  2. Use the private key to get shares for operators
  3. Build the payload for the transaction

For SSV, please see:doc.ssv.network

For the TypeScript version, please refer to the official:ssv-keys

If you want to pledge ETH by SSV on ChainupCloud, please see:ChainUpCloud Ethereum2

Run

Generate the CLI command tool: ssv-key

./cli-init.sh

ssv-key --help

% ./ssv-key --help

https://github.com/duktig666/ssv-keys-go

Usage:
   [flags]
   [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  shares      ssv keystore shares
  version     Get version info

Flags:
  -c, --config string   config file (default is config/config.yaml) (default "config/config.yaml")
  -h, --help            help for this command

Use " [command] --help" for more information about a command.

Execute the command of the chip result of the keystore

./ssv-key shares --keystore <YOUR KEYSTORE-m_XXX.json> --password <YOUR PASSWORD>  --output ./temp/output/shares.json

./ssv-key shares --keystore ./temp/input/keystore-m_12381_3600_0_0_0-1657004059.json --password xxx --output ./temp/output/shares2.json

Enter four Operatorid and OperatorKey in order

set operators and operator-ids. count:4
……

TODO

  • Optimize the parameters of CLI
  • Input and output file and folder optimization

Authors

Support

License

Apache-2.0 license

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
common

Jump to

Keyboard shortcuts

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