https://github.com/rjected/ethp2p
P2P types for ethereum
https://github.com/rjected/ethp2p
anvil devp2p ethereum ethers evm fastrlp foundry networking p2p rlp rust
Last synced: 16 days ago
JSON representation
P2P types for ethereum
- Host: GitHub
- URL: https://github.com/rjected/ethp2p
- Owner: Rjected
- License: mit
- Created: 2022-06-03T22:37:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-06T04:02:18.000Z (about 2 years ago)
- Last Synced: 2025-03-12T18:44:35.237Z (about 1 month ago)
- Topics: anvil, devp2p, ethereum, ethers, evm, fastrlp, foundry, networking, p2p, rlp, rust
- Language: Rust
- Homepage:
- Size: 280 KB
- Stars: 80
- Watchers: 4
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-web3-tools-and-dapps - ETHP2P - ETHP2P offers tools and formats to manage unprocessed Eth peer-to-peer messages. (dApps directory / Solidity Developer Tools)
README
# ethp2p
[](https://www.dancline.net/ethp2p)
[](https://github.com/rjected/ethp2p/blob/main/LICENSE)
[](https://github.com/rjected/ethp2p/actions/workflows/ci.yml)P2P types and utilities for working with [`eth`](https://github.com/ethereum/devp2p) protocol
messages.`ethp2p` is built on [`anvil`](https://github.com/foundry-rs/foundry/tree/master/anvil) types, and
implements [`fastrlp`](https://github.com/vorot93/fastrlp) traits for RLP encoding and decoding.## ⚠️⚠️ Update:
This has been integrated into [reth](https://github.com/paradigmxyz/reth), use [reth-eth-wire](https://github.com/paradigmxyz/reth/tree/main/crates/net/eth-wire) instead!## Usage
Add this to your `Cargo.toml`:
```toml
[dependencies]
ethp2p = { git = "https://github.com/rjected/ethp2p" }
```*Compiler support: requires rustc 1.62+*