# 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
- brew install mingw-w64
$ brew install mingw-w64
- 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:
There is a doc how to get a private key in MetaMask.$ 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>