Skip to content

Commit 76b74d0

Browse files
timqianholgerd77
andauthored
Fix broken code path in client readme (#3209)
* Fix broken code path in client readme * Fix npm command --------- Co-authored-by: Holger Drewes <[email protected]>
1 parent 1b035d0 commit 76b74d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/client/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Here are some use cases:
3232
- Sync the main Ethereum networks (`mainnet` (experimental), `sepolia`, `holesky`, ...)
3333
- Set up your own local development networks (PoS with consensus client / PoA Clique / PoW with CPU miner)
3434
- Run a network with your own custom [EthereumJS VM](../vm)
35-
- Analyze what's in the Ethereum `mainnet` [transaction pool (mempool)](./lib/sync/txpool.ts)
35+
- Analyze what's in the Ethereum `mainnet` [transaction pool (mempool)](./src/sync/txpool.ts)
3636

3737
The client has an extremely modular design by building upon central other libraries in the EthereumJS monorepo ([VM](../vm), [Merkle Patricia Tree](../trie), [Blockchain](../blockchain), [Block](../block), [tx](../tx), [devp2p](../devp2p) and [Common](../common)) and is therefore extremely well suited for a deep dive into Ethereum protocol development.
3838

@@ -61,7 +61,7 @@ The client can also be easily installed and built from source:
6161
1. Clone the EthereumJS monorepo with `git clone https://github.com/ethereumjs/ethereumjs-monorepo.git`
6262
2. Run `npm i` from the root folder to install dependencies and build
6363
3. Now the client can be run from the `packages/client` folder with `npm run client:start`
64-
4. Run `npm client:start -- --help` for help on the CLI parameters
64+
4. Run `npm run client:start -- --help` for help on the CLI parameters
6565

6666
### Docker
6767

@@ -328,7 +328,7 @@ ethereumjs --rpc --maxPeers=0
328328
```
329329
330330
Currently only a small subset of `RPC` methods are implemented.(\*) You can have a look at the
331-
[./lib/rpc/modules/](./lib/rpc/modules) source folder or the tracking issue
331+
[./src/rpc/modules/](./src/rpc/modules) source folder or the tracking issue
332332
[#1114](https://github.com/ethereumjs/ethereumjs-monorepo/issues/1114) for an overview.
333333
334334
(*) Side note: implementing RPC methods is actually an extremely thankful task for a first-time
@@ -419,7 +419,7 @@ For an overview on the design goals which served as a guideline on design decisi
419419
420420
### Client Customization
421421
422-
To get a start on customizing the client and using it programmatically see the code from [./bin/cli.ts](./bin/cli.ts) to get an idea of how an [EthereumClient](./lib/client.ts) instance is invoked programmatically.
422+
To get a start on customizing the client and using it programmatically see the code from [./bin/cli.ts](./bin/cli.ts) to get an idea of how an [EthereumClient](./src/client.ts) instance is invoked programmatically.
423423
424424
We would love to hear feedback from you on what you are planning and exchange on ideas how a programmatic exposure of the client API can be achieved more systematically and useful for third-party development use.
425425

0 commit comments

Comments
 (0)