Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed dependencies on etherjs and web3js #65

Merged
merged 11 commits into from
Aug 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: '14.x'
node-version: '16.x'

- run: yarn install
- run: yarn add -D esbuild
- run: yarn add -D esbuild@0.14.54
- run: yarn test
- run: yarn lint
- run: yarn build-all
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: '14.x'
node-version: '16.x'

- run: yarn install
- run: yarn add -D esbuild
- run: yarn add -D esbuild@0.14.54
- run: yarn test
- run: yarn lint
- run: yarn build-all
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: '14.x'
node-version: '16.x'

- run: yarn install
- run: yarn add -D esbuild
- run: yarn add -D esbuild@0.14.54
- run: yarn test
- run: yarn lint
- run: yarn build-all
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ lint-and-test:
stage: test
script:
- yarn install
- yarn add -D esbuild
- yarn add -D esbuild@0.14.54
- yarn test
- yarn lint
- yarn build-all
Expand Down
37 changes: 15 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
# SSV Keys

![GitHub](https://img.shields.io/github/license/bloxapp/ssv-keys)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/bloxapp/ssv-keys/Lint%20and%20test)
![GitHub package.json version](https://img.shields.io/github/package-json/v/bloxapp/ssv-keys)
![GitHub](https://img.shields.io/github/license/ssvlabs/ssv-keys)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/ssvlabs/ssv-keys/Lint%20and%20test)
![GitHub package.json version](https://img.shields.io/github/package-json/v/ssvlabs/ssv-keys)

![GitHub commit activity](https://img.shields.io/github/commit-activity/y/bloxapp/ssv-keys)
![GitHub contributors](https://img.shields.io/github/contributors/bloxapp/ssv-keys)
![GitHub last commit](https://img.shields.io/github/last-commit/bloxapp/ssv-keys)
![GitHub commit activity](https://img.shields.io/github/commit-activity/y/ssvlabs/ssv-keys)
![GitHub contributors](https://img.shields.io/github/contributors/ssvlabs/ssv-keys)
![GitHub last commit](https://img.shields.io/github/last-commit/ssvlabs/ssv-keys)

![GitHub package.json dynamic](https://img.shields.io/github/package-json/keywords/bloxapp/ssv-keys)
![GitHub package.json dynamic](https://img.shields.io/github/package-json/author/bloxapp/ssv-keys)
![GitHub package.json dynamic](https://img.shields.io/github/package-json/keywords/ssvlabs/ssv-keys)
![GitHub package.json dynamic](https://img.shields.io/github/package-json/author/ssvlabs/ssv-keys)

![Discord](https://img.shields.io/discord/723834989506068561?style=for-the-badge&label=Ask%20for%20support&logo=discord&logoColor=white)

Important dependencies:

* ![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/bloxapp/ssv-keys/web3?style=social)
* ![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/bloxapp/ssv-keys/bls-eth-wasm?style=social)
* ![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/bloxapp/ssv-keys/bls-signatures?style=social)
* ![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/bloxapp/ssv-keys/eth2-keystore-js?style=social)
* ![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/bloxapp/ssv-keys/ethereumjs-util?style=social)
* ![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/bloxapp/ssv-keys/ethereumjs-wallet?style=social)
* ![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/ssvlabs/ssv-keys/bls-eth-wasm?style=social)
* ![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/ssvlabs/ssv-keys/bls-signatures?style=social)
* ![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/ssvlabs/ssv-keys/eth2-keystore-js?style=social)
* ![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/ssvlabs/ssv-keys/ethereumjs-util?style=social)
* ![GitHub package.json dependency version (prod)](https://img.shields.io/github/package-json/dependency-version/ssvlabs/ssv-keys/ethereumjs-wallet?style=social)

---

Expand All @@ -33,7 +32,7 @@ Library and CLI to work with the ETH keystore file and extract latest validator

If you want to run a compiled version (easier option then CLI)

1. Go to the releases section: https://github.com/bloxapp/ssv-keys/releases
1. Go to the releases section: https://github.com/ssvlabs/ssv-keys/releases
2. Select the latest release for the specific version of the CLI: `vX.Y.Z-v1` - for the first version of the contract, `vX.Y.Z-v2` - for second etc.
Example: `v0.0.1-v1` or `v0.0.1-v2`.
3. Download the native executable for your operating system:
Expand Down Expand Up @@ -64,7 +63,7 @@ You can download it [here](https://nodejs.org/en/download/).
Once you have installed NodeJS, follow instructions:

```bash
git clone https://github.com/bloxapp/ssv-keys.git
git clone https://github.com/ssvlabs/ssv-keys.git
cd ssv-keys
npm install -g yarn
yarn install
Expand Down Expand Up @@ -204,12 +203,6 @@ Build everything
yarn build-all
```

## Authors

* [Dmitri Meshin](https://github.com/meshin-blox)
* [Guy Muroch](https://github.com/guym-blox)
* [Wadym C](https://github.com/vadiminc)

## License

MIT License
4 changes: 2 additions & 2 deletions dist/esbuild/main.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/esbuild/main.js.map

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions dist/tsc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ssv-keys",
"version": "1.1.0",
"version": "1.2.0",
"description": "Tool for splitting a validator key into a predefined threshold of shares via Shamir-Secret-Sharing (SSS), and encrypt them with a set of operator keys.",
"author": "SSV.Network",
"repository": "https://github.com/bloxapp/ssv-keys",
Expand All @@ -17,7 +17,7 @@
"ssv-keys": "./dist/tsc/src/cli.js"
},
"engines": {
"node": ">=12"
"node": ">=16"
},
"scripts": {
"dev:cli": "ts-node src/cli.ts",
Expand Down Expand Up @@ -49,7 +49,7 @@
"@types/semver": "^7.5.0",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"esbuild": "^0.14.38",
"esbuild": "0.14.54",
"esbuild-node-externals": "^1.4.1",
"eslint": "^7.32.0",
"husky": "^7.0.4",
Expand All @@ -76,26 +76,25 @@
"bls-eth-wasm": "^1.0.4",
"bls-signatures": "^0.2.5",
"btoa": "^1.2.1",
"class-validator": "^0.13.2",
"class-validator": "^0.14.1",
"colors": "^1.4.0",
"crypto": "^1.0.1",
"elliptic": "^6.5.7",
"eth2-keystore-js": "^1.0.8",
"ethereumjs-util": "^7.1.5",
"ethereumjs-wallet": "^1.0.1",
"ethers": "^5.7.2",
"events": "^3.3.0",
"figlet": "^1.5.2",
"js-base64": "^3.7.2",
"jsencrypt": "3.2.1",
"minimist": "^1.2.6",
"moment": "^2.29.3",
"node-jsencrypt": "^1.0.0",
"prompts": "https://github.com/meshin-blox/prompts.git",
"prompts": "https://github.com/ssvlabs/prompts.git",
"scrypt-js": "^3.0.1",
"semver": "^7.5.1",
"stream": "^0.0.2",
"underscore": "^1.13.4",
"web3": "1.7.3",
"yargs": "^17.5.1"
},
"licenses": [
Expand Down
1 change: 1 addition & 0 deletions dist/tsc/src/commands/actions/KeySharesAction.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/tsc/src/commands/actions/KeySharesAction.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/tsc/src/lib/KeyShares/KeySharesData/KeySharesPayload.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading