You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Note: Erigon and Reth do not offer snap sync, but Full Pruning is possible (~2TB for Erigon, ~1.2TB for Reth)
@@ -180,7 +180,7 @@ Developers sign released binaries with their PGP keys so you can cryptographical
180
180
181
181
Another form of verification is to make sure that the hash, a unique cryptographic fingerprint, of the software you downloaded matches the one provided by developers. This is even easier than using PGP, and some clients offer only this option. Just run the hash function on the downloaded software and compare it to the one from the release page. For example:
@@ -216,15 +216,15 @@ Execution and consensus clients communicate via an authenticated endpoint specif
216
216
217
217
This token is generated automatically by the client software, but in some cases, you might need to do it yourself. You can generate it using [OpenSSL](https://www.openssl.org/):
218
218
219
-
```
219
+
```sh
220
220
openssl rand -hex 32 > jwtsecret
221
221
```
222
222
223
223
#### Running an execution client {#running-an-execution-client}
224
224
225
225
This section will guide you through starting execution clients. It only serves as an example of a basic configuration, which will start the client with these settings:
226
226
227
-
- Specifies network to connect to, mainnet in our examples
227
+
- Specifies network to connect to, Mainnet in our examples
228
228
- You can instead choose [one of testnets](/developers/docs/networks/) for preliminary testing of your setup
229
229
- Defines data directory, where all the data including blockchain will be stored
230
230
- Make sure to substitute the path with a real one, e.g. pointing to your external drive
@@ -239,9 +239,9 @@ Please keep in mind that this is just a basic example, all other settings will b
239
239
240
240
##### Running Besu
241
241
242
-
This example starts Besu on mainnet, stores blockchain data in default format at `/data/ethereum`, enables JSON-RPC and Engine RPC for connecting consensus client. Engine API is authenticated with token `jwtsecret` and only calls from `localhost` are allowed.
242
+
This example starts Besu on Mainnet, stores blockchain data in default format at `/data/ethereum`, enables JSON-RPC and Engine RPC for connecting consensus client. Engine API is authenticated with token `jwtsecret` and only calls from `localhost` are allowed.
243
243
244
-
```
244
+
```sh
245
245
besu --network=mainnet \
246
246
--data-path=/data/ethereum \
247
247
--rpc-http-enabled=true \
@@ -253,17 +253,17 @@ besu --network=mainnet \
253
253
254
254
Besu also comes with a launcher option which will ask a series of questions and generate the config file. Run the interactive launcher using:
255
255
256
-
```
256
+
```sh
257
257
besu --Xlauncher
258
258
```
259
259
260
260
[Besu's documentation](https://besu.hyperledger.org/en/latest/HowTo/Get-Started/Starting-node/) contains additional options and configuration details.
261
261
262
262
##### Running Erigon
263
263
264
-
This example starts Erigon on mainnet, stores blockchain data at `/data/ethereum`, enables JSON-RPC, defines which namespaces are allowed and enables authentication for connecting the consensus client which is defined by the `jwtsecret` path.
264
+
This example starts Erigon on Mainnet, stores blockchain data at `/data/ethereum`, enables JSON-RPC, defines which namespaces are allowed and enables authentication for connecting the consensus client which is defined by the `jwtsecret` path.
265
265
266
-
```
266
+
```sh
267
267
erigon --chain mainnet \
268
268
--datadir /data/ethereum \
269
269
--http --http.api=engine,eth,web3,net \
@@ -274,9 +274,9 @@ Erigon by default performs a full sync with 8GB HDD which will result in more th
274
274
275
275
##### Running Geth
276
276
277
-
This example starts Geth on mainnet, stores blockchain data at `/data/ethereum`, enables JSON-RPC and defines which namespaces are allowed. It also enables authentication for connecting consensus client which requires path to `jwtsecret` and also option defining which connections are allowed, in our example only from `localhost`.
277
+
This example starts Geth on Mainnet, stores blockchain data at `/data/ethereum`, enables JSON-RPC and defines which namespaces are allowed. It also enables authentication for connecting consensus client which requires path to `jwtsecret` and also option defining which connections are allowed, in our example only from `localhost`.
278
278
279
-
```
279
+
```sh
280
280
geth --mainnet \
281
281
--datadir "/data/ethereum" \
282
282
--http --authrpc.addr localhost \
@@ -291,7 +291,7 @@ Check [docs for all configuration options](https://geth.ethereum.org/docs/fundam
291
291
292
292
Nethermind offers various [installation options](https://docs.nethermind.io/nethermind/first-steps-with-nethermind/getting-started). The package comes with various binaries, including a Launcher with a guided setup, which will help you to create the configuration interactively. Alternatively, you find Runner which is the executable itself and you can just run it with config flags. JSON-RPC is enabled by default.
293
293
294
-
```
294
+
```sh
295
295
Nethermind.Runner --config mainnet \
296
296
--datadir /data/ethereum \
297
297
--JsonRpc.JwtSecretFile=/path/to/jwtsecret
@@ -324,13 +324,13 @@ If you plan to run a validator, make sure to add a configuration flag specifying
324
324
325
325
When starting a Beacon Node on a testnet, you can save significant syncing time by using a public endpoint for [Checkpoint sync](https://notes.ethereum.org/@launchpad/checkpoint-sync).
326
326
327
-
#### Running a consensus client
327
+
#### Running a consensus client {#running-a-consensus-client}
328
328
329
329
##### Running Lighthouse
330
330
331
331
Before running Lighthouse, learn more on how to install and configure it in [Lighthouse Book](https://lighthouse-book.sigmaprime.io/installation.html).
332
332
333
-
```
333
+
```sh
334
334
lighthouse beacon_node \
335
335
--network mainnet \
336
336
--datadir /data/ethereum \
@@ -343,7 +343,7 @@ lighthouse beacon_node \
343
343
344
344
Install Lodestar software by compiling it or downloading the Docker image. Learn more in [docs](https://chainsafe.github.io/lodestar/) and more comprehensive [setup guide](https://hackmd.io/@philknows/rk5cDvKmK).
345
345
346
-
```
346
+
```sh
347
347
lodestar beacon \
348
348
--rootDir="/data/ethereum" \
349
349
--network=mainnet \
@@ -357,7 +357,7 @@ lodestar beacon \
357
357
Nimbus comes with both consensus and execution clients. It can be run on various devices even with very modest computing power.
358
358
After [installing dependencies and Nimbus itself](https://nimbus.guide/quick-start.html), you can run its consensus client:
359
359
360
-
```
360
+
```sh
361
361
nimbus_beacon_node \
362
362
--network=mainnet \
363
363
--web3-url=http://127.0.0.1:8551 \
@@ -369,7 +369,7 @@ nimbus_beacon_node \
369
369
370
370
Prysm comes with script which allows easy automatic installation. Details can be found in the [Prysm docs](https://docs.prylabs.network/docs/install/install-with-script).
371
371
372
-
```
372
+
```sh
373
373
./prysm.sh beacon-chain \
374
374
--mainnet \
375
375
--datadir /data/ethereum \
@@ -379,7 +379,7 @@ Prysm comes with script which allows easy automatic installation. Details can be
Copy file name to clipboardExpand all lines: public/content/developers/docs/programming-languages/rust/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ Need a more basic primer first? Check out [ethereum.org/learn](/learn/) or [ethe
50
50
-[Ethers_rs](https://github.com/gakonst/ethers-rs)- _Ethereum library and wallet implementation_
51
51
-[SewUp](https://github.com/second-state/SewUp) - _A library to help you build your Ethereum webassembly contract with Rust and just like develop in a common backend_
52
52
-[Substreams](https://github.com/streamingfast/substreams) - _Parallelized blockchain data indexing technology_
53
-
-[Reth](https://github.com/paradigmxyz/reth) Reth (short for Rust Ethereum, pronunciation) is a new Ethereum full-node implementation
53
+
-[Reth](https://github.com/paradigmxyz/reth) Reth (short for Rust Ethereum) is a new Ethereum full-node implementation
54
54
-[Awesome Ethereum Rust](https://github.com/Vid201/awesome-ethereum-rust) - _A curated collection of projects in the Ethereum ecosystem written in Rust_
55
55
56
56
Looking for more resources? Check out [ethereum.org/developers.](/developers/)
0 commit comments