Legacy repository with the first version of the LP2LN core: lp2ln-core (v1) and lp2ln-gateway.
This repository preserves the v1 architecture for maintenance and historical reference.
Active development is happening in the second core version (lp2ln-core-v2) in the main repository:
https://github.com/krusalovorg/lp2ln
crates/lp2ln-core— v1 core.crates/lp2ln-gateway— HTTP/gateway layer for v1.contracts/— WASM contracts and examples.
Based on the v1 internals description: https://deepwiki.com/krusalovorg/lp2ln/9.1-lp2ln-core-v1-internals
- Signal-server model: discovery and session coordination via a central signal server.
- Cryptography:
k256(ECDSA/ECDH), shared-secret exchange, andChaCha20Poly1305encryption. - Storage:
redbfor peer info, tokens, keys, metadata, and stats. - Contracts: WASM execution via
wasmtime.
The root Cargo.toml workspace is configured for legacy crates:
crates/lp2ln-corecrates/lp2ln-gateway
cargo build --workspaceRun gateway (v1):
cargo run -p lp2ln-gatewayExamples for the v1 core are available in crates/lp2ln-core/examples/.
New architecture, active development, and lp2ln-core-v2:
See LICENSE.