Skip to content

Commit 2034a83

Browse files
authored
Merge pull request #109 from ssvlabs/chore/replace-bloxapp-to-ssvlabs
Replaced all bloxapp instances to ssvlabs
2 parents e6bc06b + 8b9f7c9 commit 2034a83

File tree

93 files changed

+214
-286
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+214
-286
lines changed

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
632632
the "copyright" line and a pointer to where the full notice is found.
633633

634634
<one line to give the program's name and a brief idea of what it does.>
635-
Copyright (C) 2019 Blox.io
635+
Copyright (C) 2019 ssvlabs.io
636636

637637
This program is free software: you can redistribute it and/or modify
638638
it under the terms of the GNU General Public License as published by
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
652652
If the program does terminal interaction, make it output a short
653653
notice like this when it starts in an interactive mode:
654654

655-
<program> Copyright (C) 2019 Blox.io
655+
<program> Copyright (C) 2019 ssvlabs.io
656656
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657657
This is free software, and you are welcome to redistribute it
658658
under certain conditions; type `show c' for details.

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
# Blox Eth Key Manager
1+
# Eth Key Manager
22

3-
<!-- [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fbloxapp%2Feth2-key-manager.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fbloxapp%2Feth2-key-manager?ref=badge_shield) -->
4-
5-
Blox Eth Key Manager is a library wrapping all major functionality an eth 2.0 validator will need:
6-
- [Multi storage implementations](https://github.com/bloxapp/eth2-key-manager/tree/master/stores)
7-
- [Signer](https://github.com/bloxapp/eth2-key-manager/tree/master/validator_signer)
8-
- [Slashing protection](https://github.com/bloxapp/eth2-key-manager/tree/master/slashing_protection)
9-
- [HD wallet](https://github.com/bloxapp/eth2-key-manager/tree/master/wallet_hd) (EIP-2333,2334,2335 compliant)
3+
Eth Key Manager is a library wrapping all major functionality an eth 2.0 validator will need:
4+
- [Multi storage implementations](https://github.com/ssvlabs/eth2-key-manager/tree/master/stores)
5+
- [Signer](https://github.com/ssvlabs/eth2-key-manager/tree/master/validator_signer)
6+
- [Slashing protection](https://github.com/ssvlabs/eth2-key-manager/tree/master/slashing_protection)
7+
- [HD wallet](https://github.com/ssvlabs/eth2-key-manager/tree/master/wallet_hd) (EIP-2333,2334,2335 compliant)
108
- Tests
119

1210
### Installation
1311

1412
```sh
15-
go get github.com/bloxapp/eth2-key-manager
13+
go get github.com/ssvlabs/eth2-key-manager
1614
```
1715

1816
### Security and Architecture

cli/cmd/config/currentepoch.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package seed
33
import (
44
"github.com/spf13/cobra"
55

6-
rootcmd "github.com/bloxapp/eth2-key-manager/cli/cmd"
7-
"github.com/bloxapp/eth2-key-manager/cli/cmd/config/handler"
6+
rootcmd "github.com/ssvlabs/eth2-key-manager/cli/cmd"
7+
"github.com/ssvlabs/eth2-key-manager/cli/cmd/config/handler"
88
)
99

1010
// currentEpochCmd represents the command to get the current epoch.

cli/cmd/config/currentslot.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package seed
33
import (
44
"github.com/spf13/cobra"
55

6-
rootcmd "github.com/bloxapp/eth2-key-manager/cli/cmd"
7-
"github.com/bloxapp/eth2-key-manager/cli/cmd/config/handler"
6+
rootcmd "github.com/ssvlabs/eth2-key-manager/cli/cmd"
7+
"github.com/ssvlabs/eth2-key-manager/cli/cmd/config/handler"
88
)
99

1010
// currentSlotCmd represents the command to get the current slot.

cli/cmd/config/handler/handler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55

66
"github.com/spf13/cobra"
77

8-
"github.com/bloxapp/eth2-key-manager/cli/util/printer"
9-
"github.com/bloxapp/eth2-key-manager/core"
8+
"github.com/ssvlabs/eth2-key-manager/cli/util/printer"
9+
"github.com/ssvlabs/eth2-key-manager/core"
1010
)
1111

1212
// Config contains handler functions of the CLI commands related to key-vault config.

cli/cmd/config/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package seed
33
import (
44
"github.com/spf13/cobra"
55

6-
keyvaultcmd "github.com/bloxapp/eth2-key-manager/cli/cmd"
6+
keyvaultcmd "github.com/ssvlabs/eth2-key-manager/cli/cmd"
77
)
88

99
// Command represents the key-vault seed related command.

cli/cmd/flags.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"github.com/pkg/errors"
77
"github.com/spf13/cobra"
88

9-
"github.com/bloxapp/eth2-key-manager/cli/util/cliflag"
10-
"github.com/bloxapp/eth2-key-manager/core"
9+
"github.com/ssvlabs/eth2-key-manager/cli/util/cliflag"
10+
"github.com/ssvlabs/eth2-key-manager/core"
1111
)
1212

1313
// ResponseType represents the network.

cli/cmd/mnemonic/generate.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package mnemonic
33
import (
44
"github.com/spf13/cobra"
55

6-
rootcmd "github.com/bloxapp/eth2-key-manager/cli/cmd"
7-
"github.com/bloxapp/eth2-key-manager/cli/cmd/mnemonic/handler"
6+
rootcmd "github.com/ssvlabs/eth2-key-manager/cli/cmd"
7+
"github.com/ssvlabs/eth2-key-manager/cli/cmd/mnemonic/handler"
88
)
99

1010
// generateCmd represents the generate mnemonic command.

cli/cmd/mnemonic/generate_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66

77
"github.com/stretchr/testify/require"
88

9-
"github.com/bloxapp/eth2-key-manager/cli/cmd"
10-
"github.com/bloxapp/eth2-key-manager/cli/util/printer"
9+
"github.com/ssvlabs/eth2-key-manager/cli/cmd"
10+
"github.com/ssvlabs/eth2-key-manager/cli/util/printer"
1111
)
1212

1313
func TestMnemonicGenerate(t *testing.T) {

cli/cmd/mnemonic/handler/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package handler
22

33
import (
4-
"github.com/bloxapp/eth2-key-manager/cli/util/printer"
4+
"github.com/ssvlabs/eth2-key-manager/cli/util/printer"
55
)
66

77
// Mnemonic contains handler functions of the CLI commands related to key-vault mnemonic.

cli/cmd/mnemonic/handler/handler_generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package handler
22

33
import (
4-
"github.com/bloxapp/eth2-key-manager/core"
4+
"github.com/ssvlabs/eth2-key-manager/core"
55

66
"github.com/pkg/errors"
77
"github.com/spf13/cobra"

cli/cmd/mnemonic/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package mnemonic
33
import (
44
"github.com/spf13/cobra"
55

6-
keyvaultcmd "github.com/bloxapp/eth2-key-manager/cli/cmd"
6+
keyvaultcmd "github.com/ssvlabs/eth2-key-manager/cli/cmd"
77
)
88

99
// Command represents the key-vault mnemonic related command.

cli/cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
"github.com/spf13/cobra"
88

9-
"github.com/bloxapp/eth2-key-manager/cli/util/printer"
9+
"github.com/ssvlabs/eth2-key-manager/cli/util/printer"
1010
)
1111

1212
// ResultPrinter is the printer used to print command results and errors.

cli/cmd/seed/flag/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package flag
33
import (
44
"github.com/spf13/cobra"
55

6-
"github.com/bloxapp/eth2-key-manager/cli/util/cliflag"
6+
"github.com/ssvlabs/eth2-key-manager/cli/util/cliflag"
77
)
88

99
// Flag names.

cli/cmd/seed/generate.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package seed
33
import (
44
"github.com/spf13/cobra"
55

6-
rootcmd "github.com/bloxapp/eth2-key-manager/cli/cmd"
7-
"github.com/bloxapp/eth2-key-manager/cli/cmd/seed/flag"
8-
"github.com/bloxapp/eth2-key-manager/cli/cmd/seed/handler"
6+
rootcmd "github.com/ssvlabs/eth2-key-manager/cli/cmd"
7+
"github.com/ssvlabs/eth2-key-manager/cli/cmd/seed/flag"
8+
"github.com/ssvlabs/eth2-key-manager/cli/cmd/seed/handler"
99
)
1010

1111
// generateCmd represents the generate seed command.

cli/cmd/seed/generate_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66

77
"github.com/stretchr/testify/require"
88

9-
"github.com/bloxapp/eth2-key-manager/cli/cmd"
10-
"github.com/bloxapp/eth2-key-manager/cli/util/printer"
9+
"github.com/ssvlabs/eth2-key-manager/cli/cmd"
10+
"github.com/ssvlabs/eth2-key-manager/cli/util/printer"
1111
)
1212

1313
func TestSeedGenerate(t *testing.T) {

cli/cmd/seed/handler/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package handler
22

33
import (
4-
"github.com/bloxapp/eth2-key-manager/cli/util/printer"
4+
"github.com/ssvlabs/eth2-key-manager/cli/util/printer"
55
)
66

77
// Seed contains handler functions of the CLI commands related to key-vault seed.

cli/cmd/seed/handler/handler_generate.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"github.com/pkg/errors"
77
"github.com/spf13/cobra"
88

9-
"github.com/bloxapp/eth2-key-manager/cli/cmd/seed/flag"
10-
"github.com/bloxapp/eth2-key-manager/core"
9+
"github.com/ssvlabs/eth2-key-manager/cli/cmd/seed/flag"
10+
"github.com/ssvlabs/eth2-key-manager/core"
1111
)
1212

1313
// Generate generates a new key-vault seed and prints it.

cli/cmd/seed/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package seed
33
import (
44
"github.com/spf13/cobra"
55

6-
keyvaultcmd "github.com/bloxapp/eth2-key-manager/cli/cmd"
6+
keyvaultcmd "github.com/ssvlabs/eth2-key-manager/cli/cmd"
77
)
88

99
// Command represents the key-vault seed related command.

cli/cmd/wallet/cmd/account/create.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package account
33
import (
44
"github.com/spf13/cobra"
55

6-
rootcmd "github.com/bloxapp/eth2-key-manager/cli/cmd"
7-
"github.com/bloxapp/eth2-key-manager/cli/cmd/wallet/cmd/account/flag"
8-
"github.com/bloxapp/eth2-key-manager/cli/cmd/wallet/cmd/account/handler"
6+
rootcmd "github.com/ssvlabs/eth2-key-manager/cli/cmd"
7+
"github.com/ssvlabs/eth2-key-manager/cli/cmd/wallet/cmd/account/flag"
8+
"github.com/ssvlabs/eth2-key-manager/cli/cmd/wallet/cmd/account/handler"
99
)
1010

1111
// createCmd represents the create account command.

cli/cmd/wallet/cmd/account/create_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66

77
"github.com/stretchr/testify/require"
88

9-
"github.com/bloxapp/eth2-key-manager/cli/cmd"
10-
"github.com/bloxapp/eth2-key-manager/cli/util/printer"
9+
"github.com/ssvlabs/eth2-key-manager/cli/cmd"
10+
"github.com/ssvlabs/eth2-key-manager/cli/util/printer"
1111
)
1212

1313
func TestAccountCreate(t *testing.T) {

cli/cmd/wallet/cmd/account/credentials.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package account
33
import (
44
"github.com/spf13/cobra"
55

6-
rootcmd "github.com/bloxapp/eth2-key-manager/cli/cmd"
7-
"github.com/bloxapp/eth2-key-manager/cli/cmd/wallet/cmd/account/flag"
8-
"github.com/bloxapp/eth2-key-manager/cli/cmd/wallet/cmd/account/handler"
6+
rootcmd "github.com/ssvlabs/eth2-key-manager/cli/cmd"
7+
"github.com/ssvlabs/eth2-key-manager/cli/cmd/wallet/cmd/account/flag"
8+
"github.com/ssvlabs/eth2-key-manager/cli/cmd/wallet/cmd/account/handler"
99
)
1010

1111
// credentialsCmd represents the credentials account command.

cli/cmd/wallet/cmd/account/credentials_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66

77
"github.com/stretchr/testify/require"
88

9-
"github.com/bloxapp/eth2-key-manager/cli/cmd"
10-
"github.com/bloxapp/eth2-key-manager/cli/util/printer"
9+
"github.com/ssvlabs/eth2-key-manager/cli/cmd"
10+
"github.com/ssvlabs/eth2-key-manager/cli/util/printer"
1111
)
1212

1313
func TestAccountCredentials(t *testing.T) {

cli/cmd/wallet/cmd/account/deposit-data.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package account
33
import (
44
"github.com/spf13/cobra"
55

6-
rootcmd "github.com/bloxapp/eth2-key-manager/cli/cmd"
7-
"github.com/bloxapp/eth2-key-manager/cli/cmd/wallet/cmd/account/flag"
8-
"github.com/bloxapp/eth2-key-manager/cli/cmd/wallet/cmd/account/handler"
6+
rootcmd "github.com/ssvlabs/eth2-key-manager/cli/cmd"
7+
"github.com/ssvlabs/eth2-key-manager/cli/cmd/wallet/cmd/account/flag"
8+
"github.com/ssvlabs/eth2-key-manager/cli/cmd/wallet/cmd/account/handler"
99
)
1010

1111
// depositDataCmd represents the deposit-data account command.

cli/cmd/wallet/cmd/account/deposit-data_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66

77
"github.com/stretchr/testify/require"
88

9-
"github.com/bloxapp/eth2-key-manager/cli/cmd"
10-
"github.com/bloxapp/eth2-key-manager/cli/util/printer"
9+
"github.com/ssvlabs/eth2-key-manager/cli/cmd"
10+
"github.com/ssvlabs/eth2-key-manager/cli/util/printer"
1111
)
1212

1313
func TestAccountDepositData(t *testing.T) {

cli/cmd/wallet/cmd/account/flag/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
"github.com/spf13/cobra"
88

9-
"github.com/bloxapp/eth2-key-manager/cli/util/cliflag"
9+
"github.com/ssvlabs/eth2-key-manager/cli/util/cliflag"
1010
)
1111

1212
// Flag names.

cli/cmd/wallet/cmd/account/flag/credentials.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99
"github.com/pkg/errors"
1010
"github.com/spf13/cobra"
1111

12-
rootcmd "github.com/bloxapp/eth2-key-manager/cli/cmd"
13-
"github.com/bloxapp/eth2-key-manager/cli/util/cliflag"
14-
"github.com/bloxapp/eth2-key-manager/core"
12+
rootcmd "github.com/ssvlabs/eth2-key-manager/cli/cmd"
13+
"github.com/ssvlabs/eth2-key-manager/cli/util/cliflag"
14+
"github.com/ssvlabs/eth2-key-manager/core"
1515
)
1616

1717
// Flag names.

cli/cmd/wallet/cmd/account/flag/deposit-data.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package flag
33
import (
44
"github.com/spf13/cobra"
55

6-
"github.com/bloxapp/eth2-key-manager/cli/util/cliflag"
6+
"github.com/ssvlabs/eth2-key-manager/cli/util/cliflag"
77
)
88

99
// Flag names.

cli/cmd/wallet/cmd/account/flag/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package flag
33
import (
44
"github.com/spf13/cobra"
55

6-
"github.com/bloxapp/eth2-key-manager/cli/util/cliflag"
6+
"github.com/ssvlabs/eth2-key-manager/cli/util/cliflag"
77
)
88

99
// Flag names.

cli/cmd/wallet/cmd/account/flag/voluntary_exit.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"github.com/pkg/errors"
99
"github.com/spf13/cobra"
1010

11-
"github.com/bloxapp/eth2-key-manager/cli/util/cliflag"
12-
"github.com/bloxapp/eth2-key-manager/core"
11+
"github.com/ssvlabs/eth2-key-manager/cli/util/cliflag"
12+
"github.com/ssvlabs/eth2-key-manager/core"
1313
)
1414

1515
// Flag names.

cli/cmd/wallet/cmd/account/handler/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package handler
22

33
import (
4-
"github.com/bloxapp/eth2-key-manager/cli/util/printer"
4+
"github.com/ssvlabs/eth2-key-manager/cli/util/printer"
55
)
66

77
// Account contains handler functions of the CLI commands related to wallet account.

cli/cmd/wallet/cmd/account/handler/handler_create.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import (
88
"github.com/pkg/errors"
99
"github.com/spf13/cobra"
1010

11-
eth2keymanager "github.com/bloxapp/eth2-key-manager"
12-
rootcmd "github.com/bloxapp/eth2-key-manager/cli/cmd"
13-
"github.com/bloxapp/eth2-key-manager/cli/cmd/wallet/cmd/account/flag"
14-
"github.com/bloxapp/eth2-key-manager/core"
15-
"github.com/bloxapp/eth2-key-manager/stores/inmemory"
11+
eth2keymanager "github.com/ssvlabs/eth2-key-manager"
12+
rootcmd "github.com/ssvlabs/eth2-key-manager/cli/cmd"
13+
"github.com/ssvlabs/eth2-key-manager/cli/cmd/wallet/cmd/account/flag"
14+
"github.com/ssvlabs/eth2-key-manager/core"
15+
"github.com/ssvlabs/eth2-key-manager/stores/inmemory"
1616
)
1717

1818
// CreateAccountFlagValues keeps all collected values for seed and seedless modes

cli/cmd/wallet/cmd/account/handler/handler_credentials.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ import (
1111
types "github.com/wealdtech/go-eth2-types/v2"
1212
util "github.com/wealdtech/go-eth2-util"
1313

14-
eth2keymanager "github.com/bloxapp/eth2-key-manager"
15-
rootcmd "github.com/bloxapp/eth2-key-manager/cli/cmd"
16-
"github.com/bloxapp/eth2-key-manager/cli/cmd/wallet/cmd/account/flag"
17-
"github.com/bloxapp/eth2-key-manager/core"
18-
"github.com/bloxapp/eth2-key-manager/signer"
19-
"github.com/bloxapp/eth2-key-manager/stores/inmemory"
14+
eth2keymanager "github.com/ssvlabs/eth2-key-manager"
15+
rootcmd "github.com/ssvlabs/eth2-key-manager/cli/cmd"
16+
"github.com/ssvlabs/eth2-key-manager/cli/cmd/wallet/cmd/account/flag"
17+
"github.com/ssvlabs/eth2-key-manager/core"
18+
"github.com/ssvlabs/eth2-key-manager/signer"
19+
"github.com/ssvlabs/eth2-key-manager/stores/inmemory"
2020
)
2121

2222
// CredentialsFlagValues keeps all collected values for seed

0 commit comments

Comments
 (0)