7 releases (breaking)

Uses new Rust 2024

0.6.0 Aug 26, 2025
0.5.0 Aug 23, 2025
0.4.1 Aug 23, 2025
0.3.0 Aug 21, 2025
0.1.0 Aug 19, 2025

#12 in #comet-bft

Download history 438/week @ 2025-08-18 142/week @ 2025-08-25 19/week @ 2025-09-01 1/week @ 2025-09-08 6/week @ 2025-09-29 2/week @ 2025-10-06

331 downloads per month

Apache-2.0

79KB
1.5K SLoC

tmkms-p2p: CometBFT P2P protocol

Crate Docs Apache 2.0 Licensed MSRV

Pure Rust implementation of the Secret Connection transport encryption protocol used by CometBFT for peer-to-peer (P2P) connections.

Used by tmkms for securing connections to CometBFT validators.

About

The Secret Connection protocol uses the following cryptographic algorithms:

  • Identity: Ed25519
  • Key exchange: X25519
  • Packet encryption: ChaCha20Poly1305

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Dependencies

~5–19MB
~203K SLoC