mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 03:51:29 +00:00
28e4a3b7e8
* Add a tool to split a series of mnemonic keys into distinct wallets * split func * keysplit tool * gaz/viz Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
37 lines
1.2 KiB
Python
37 lines
1.2 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_test")
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["main.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/tools/interop/split-keys",
|
|
visibility = ["//visibility:private"],
|
|
deps = [
|
|
"//shared/fileutil:go_default_library",
|
|
"//validator/accounts/wallet:go_default_library",
|
|
"//validator/keymanager:go_default_library",
|
|
"//validator/keymanager/derived:go_default_library",
|
|
"//validator/keymanager/imported:go_default_library",
|
|
"@com_github_tyler_smith_go_bip39//:go_default_library",
|
|
"@com_github_wealdtech_go_eth2_util//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_binary(
|
|
name = "split-keys",
|
|
embed = [":go_default_library"],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["main_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//shared/testutil/require:go_default_library",
|
|
"//validator/accounts/wallet:go_default_library",
|
|
"//validator/keymanager:go_default_library",
|
|
"//validator/keymanager/imported:go_default_library",
|
|
],
|
|
)
|