-
-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4217 from ChainSafe/rc/v0.39.0
v0.39.0
- Loading branch information
Showing
389 changed files
with
3,846 additions
and
3,211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Install with Docker | ||
|
||
The [`chainsafe/lodestar`](https://hub.docker.com/r/chainsafe/lodestar) Docker Hub repository is mantained actively. It contains the `lodestar` CLI preinstalled. | ||
|
||
<!-- prettier-ignore-start --> | ||
!!! info | ||
The Docker Hub image tagged as `chainsafe/lodestar:next` is run on CI every dev commit on our `unstable` branch. | ||
For `stable` releases, the image is tagged as `chainsafe/lodestar:latest`. | ||
<!-- prettier-ignore-end --> | ||
|
||
Ensure you have Docker installed by issuing the command: | ||
|
||
```bash | ||
docker -v | ||
``` | ||
|
||
It should return a non error message such as `Docker version xxxx, build xxxx`. | ||
|
||
Pull, run the image and Lodestar should now be ready to use | ||
|
||
```bash | ||
docker pull chainsafe/lodestar | ||
docker run chainsafe/lodestar --help | ||
``` | ||
<!-- prettier-ignore-start --> | ||
!!! info | ||
Docker is the recommended setup for Lodestar. Use our [comprehensive setup guide](https://hackmd.io/@philknows/rk5cDvKmK) with Docker for detailed instructions. | ||
<!-- prettier-ignore-end --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Install from NPM [not recommended] | ||
|
||
<!-- prettier-ignore-start --> | ||
!!! danger | ||
For mainnet (production) usage, we only recommend installing with docker due to [NPM supply chain attacks](https://hackaday.com/2021/10/22/supply-chain-attack-npm-library-used-by-facebook-and-others-was-compromised/). Until a [safer installation method has been found](https://github.com/ChainSafe/lodestar/issues/3596), do not use this install method except for experimental purposes only. | ||
<!-- prettier-ignore-end --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Install from source | ||
|
||
Make sure to have [Yarn installed](https://classic.yarnpkg.com/en/docs/install). It is also recommended to [install NVM (Node Version Manager)](https://github.com/nvm-sh/nvm) and use v16 of [NodeJS](https://nodejs.org/en/). | ||
|
||
<!-- prettier-ignore-start --> | ||
!!! info | ||
NodeJS versions < 16.x are not supported by Lodestar. We currently recommend running NodeJS 16.x. | ||
<!-- prettier-ignore-end --> | ||
|
||
Clone the repo locally. | ||
|
||
```bash | ||
git clone https://github.com/chainsafe/lodestar.git | ||
``` | ||
|
||
Install across all packages. Lodestar follows a [monorepo](https://github.com/lerna/lerna) structure, so all commands below must be run in the project root. Use the `--ignore-optional` flag to prevent downloading the Ethereum Consensus spec tests. | ||
|
||
```bash | ||
yarn install --ignore-optional | ||
``` | ||
|
||
Build across all packages. | ||
|
||
```bash | ||
yarn run build | ||
``` | ||
|
||
Or if you are using [Lerna](https://lerna.js.org/): | ||
|
||
```bash | ||
lerna bootstrap | ||
``` | ||
|
||
Lodestar should now be ready for use. | ||
|
||
```bash | ||
./lodestar --help | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.