package
0.3.3
Repository: https://github.com/bloxapp/eth2-key-manager.git
Documentation: pkg.go.dev

# README

Eth Key Manager CLI

This is the CLI for using KeyVault functionality through command line interface.

Files structure

main.go includes all packages that contain CLI commands.

  • ./cmd contains commands and its handlers.
  • ./util contains utilities related to CLI commands.

How to build

Execute the following commands from the root of the repo:

Mac:

$ go build -o keyvault-cli ./cli

Windows: build win cli on mac machine

  1. brew install mingw-w64
$ brew install mingw-w64
  1. build bin
$ env CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ GOOS=windows GOARCH=amd64 go build -o keyvault-cli.exe ./cli

Commands

  • Create validator(s) included making deposits:
    $ keyvault-cli validator create \
      --wallet-private-key=<eth1-wallet-private-key> \
      --wallet-addr=<eth1-wallet-address> \
      --seeds-count=<seeds-count> \
      --validators-per-seed=<number-of-validators-per-seed>
    
    There is a doc how to get a private key in MetaMask.

# Packages

No description provided by the author
No description provided by the author