Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/duktig666/ssv-keys-go
ETH SSV Key's Golang implementation
https://github.com/duktig666/ssv-keys-go
distributed-key ethereum shamir-secret-sharing ssv
Last synced: about 1 month ago
JSON representation
ETH SSV Key's Golang implementation
- Host: GitHub
- URL: https://github.com/duktig666/ssv-keys-go
- Owner: duktig666
- License: apache-2.0
- Created: 2022-12-09T06:05:19.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-23T11:34:14.000Z (over 1 year ago)
- Last Synced: 2024-06-21T17:02:23.850Z (3 months ago)
- Topics: distributed-key, ethereum, shamir-secret-sharing, ssv
- Language: Go
- Homepage:
- Size: 12.7 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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 transactionFor SSV, please see:[doc.ssv.network](https://docs.ssv.network/learn/introduction)
For the TypeScript version, please refer to the official:[ssv-keys](https://github.com/bloxapp/ssv-keys)
If you want to pledge ETH by SSV on ChainupCloud, please see:[ChainUpCloud Ethereum2](https://cloud.chainup.com/app/eth2.0)
## Run
Generate the CLI command tool: ssv-key
```shell
./cli-init.sh
````ssv-key --help`
```shell
% ./ssv-key --helphttps://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 infoFlags:
-c, --config string config file (default is config/config.yaml) (default "config/config.yaml")
-h, --help help for this commandUse " [command] --help" for more information about a command.
```Execute the command of the chip result of the keystore
```shell
./ssv-key shares --keystore --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
```shell
set operators and operator-ids. count:4
……
```## TODO
- [ ] Optimize the parameters of CLI
- [ ] Input and output file and folder optimization## Authors
- [duktig666](https://github.com/duktig666)
## Support
- [ChainUpCloud](https://cloud.chainup.com)
## License
Apache-2.0 license