Skip to content

Commit

Permalink
version set to 0.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
aayush-rockx committed May 30, 2023
1 parent ac286f8 commit 9188001
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = 0.2.4
VERSION = 0.2.5
GOBASE = $(shell pwd)
GOBIN = $(GOBASE)/build/bin
GOCMD = $(GOBASE)/cmd
Expand Down
8 changes: 4 additions & 4 deletions docs/cli_installation_instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
Downloads
|Version|Link| os|arch|
|-------|----|---|----|
|0.2.4| https://github.com/RockX-SG/rockx-dkg-cli/releases/download/v0.2.4/rockx-dkg-cli.0.2.4.darwin.arm64.tar.gz | darwin| arm64|
|0.2.4| https://github.com/RockX-SG/rockx-dkg-cli/releases/download/v0.2.4/rockx-dkg-cli.0.2.4.linux.amd64.tar.gz | linux| amd64|
|0.2.5| https://github.com/RockX-SG/rockx-dkg-cli/releases/download/v0.2.5/rockx-dkg-cli.0.2.5.darwin.arm64.tar.gz | darwin| arm64|
|0.2.5| https://github.com/RockX-SG/rockx-dkg-cli/releases/download/v0.2.5/rockx-dkg-cli.0.2.5.linux.amd64.tar.gz | linux| amd64|


### Installation (for os: darwin and arch: arm64)

1. Download the latest version of the cli tool from above page

```
wget https://github.com/RockX-SG/rockx-dkg-cli/releases/download/v0.2.4/rockx-dkg-cli.0.2.4.linux.amd64.tar.gz
wget https://github.com/RockX-SG/rockx-dkg-cli/releases/download/v0.2.5/rockx-dkg-cli.0.2.5.linux.amd64.tar.gz
```

2. Extract the cli

```
tar -xzvf rockx-dkg-cli.0.2.4.linux.amd64.tar.gz
tar -xzvf rockx-dkg-cli.0.2.5.linux.amd64.tar.gz
```

3. Move the file to your PATH and Set messenger service address for the cli
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/keyshares.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func sharesToBytes(publicKeys []string, privateKeys []string) string {
arrayEncryptedShares := bytes.Join(toArrayByteSlices(encryptedShares), []byte{})

// public keys hex encoded
pkHex := hex.EncodeToString(arrayPublicKeys)
pkHex := "0x" + hex.EncodeToString(arrayPublicKeys)
// length of the public keys (hex), hex encoded
pkHexLength := fmt.Sprintf("%04x", len(pkHex))

Expand Down

0 comments on commit 9188001

Please sign in to comment.