chore(readme): add context and improve formatting

This commit is contained in:
Nasir Hossain 2025-08-12 09:25:48 +06:00
parent cf92ba85cd
commit 382e67b96e
2 changed files with 19 additions and 6 deletions

4
.prettierrc Normal file
View File

@ -0,0 +1,4 @@
{
"printWidth": 80,
"proseWrap": "always"
}

View File

@ -1,12 +1,19 @@
# Betanet Layer Prototype (L1, L2, L3, L5)
**Quick prototype of Betanet layers L1, L2, L3, and L5** implemented as an asyncio simulation.
This is for educational/demo purposes only — **not** production-ready code.
**Quick prototype of Betanet layers L1, L2, L3, and L5** implemented as an
asyncio simulation. This is for educational/demo purposes only — **not**
production-ready code. If you don't now what it's all about, check out the
following links for context:
- [Developers, I need your help. I made a new internet - K0](https://youtu.be/sTzBO_BliZ8)
- [Explaining Betanet - K0](https://youtu.be/L1Hjen1tEas)
- [The Betanet Specification](https://github.com/ravendevteam/betanet)
## Disclaimer
This simulation **does not** use real Ed25519/X25519 cryptography.
Crypto functions are stubbed with hash/HMAC placeholders to keep it simple and dependency-light.
This simulation **does not** use real Ed25519/X25519 cryptography. Crypto
functions are stubbed with hash/HMAC placeholders to keep it simple and
dependency-light.
For better implementations, replace the placeholder crypto in:
@ -35,8 +42,10 @@ with real libraries like:
## Features
- **Path building & validation (L1)** — verifies AS hop signatures before use.
- **HTX transport sessions (L2)** — simulates TLS/QUIC-like outer wrapping with inner encrypted frames.
- **Overlay network (L3)** — publish & retrieve content by CID from connected peers.
- **HTX transport sessions (L2)** — simulates TLS/QUIC-like outer wrapping with
inner encrypted frames.
- **Overlay network (L3)** — publish & retrieve content by CID from connected
peers.
- **Alias ledger (L5)** — map human-readable aliases to self-certifying IDs.
---