Skip to content

krusalovorg/lp2ln-legacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lp2ln-legacy

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

What is included (v1)

  • crates/lp2ln-core — v1 core.
  • crates/lp2ln-gateway — HTTP/gateway layer for v1.
  • contracts/ — WASM contracts and examples.

Key lp2ln-core v1 characteristics

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, and ChaCha20Poly1305 encryption.
  • Storage: redb for peer info, tokens, keys, metadata, and stats.
  • Contracts: WASM execution via wasmtime.

Workspace

The root Cargo.toml workspace is configured for legacy crates:

  • crates/lp2ln-core
  • crates/lp2ln-gateway

Build

cargo build --workspace

Run

Run gateway (v1):

cargo run -p lp2ln-gateway

Examples for the v1 core are available in crates/lp2ln-core/examples/.

Where the current v2 lives

New architecture, active development, and lp2ln-core-v2:

License

See LICENSE.

About

Legacy first-generation implementation of LP2LN, preserved for historical reference.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors