| Crates.io | beetswap |
| lib.rs | beetswap |
| version | 0.5.0 |
| created_at | 2024-04-15 13:17:12.152607+00 |
| updated_at | 2025-09-19 11:55:41.843321+00 |
| description | Implementation of bitswap protocol for libp2p |
| homepage | https://www.eiger.co |
| repository | https://github.com/eigerco/beetswap |
| max_upload_size | |
| id | 1209233 |
| size | 290,315 |
Beetswap is a Rust-based implementation of the Bitswap protocol for the libp2p networking stack.
Bitswap is a protocol developed for the exchange of blocks between peers. It plays a critical role in data distribution, ensuring that peers can request and receive the blocks they need from other peers in the network.
Check out the examples.
Beetswap uses multihash-codetable, so hashers can be enabled with the corresponding feature:
# your crate's Cargo.toml
# Say we want CIDs that used blake3 or sha2 or sha3
multihash-codetable = { version = "0.1", features = ["blake3", "sha2", "sha3"] }
Beyond the multihash codetable hashers, other custom hashers can be added, see multihasher for further details.
We welcome contributions! Please fork the repository and submit a pull request.
Beetswap is licensed under the Apache 2.0 License. See the LICENSE file for more details.
We are engineers. We contribute to various ecosystems by building low level implementations and core components.
Contact us at hello@eiger.co Follow us on X/Twitter