| Crates.io | deon_protocol |
| lib.rs | deon_protocol |
| version | 1.3.3 |
| created_at | 2026-01-14 04:32:58.962031+00 |
| updated_at | 2026-01-14 05:18:45.314574+00 |
| description | A secure, hybrid (BLE/Wi-Fi) file transfer protocol with SPAKE2 authentication and ChaCha20-Poly1305 encryption. |
| homepage | |
| repository | https://github.com/brzb0/Deon-Protocol |
| max_upload_size | |
| id | 2042176 |
| size | 83,561 |
Repository: https://github.com/brzb0/Deon-Protocol
A secure, high-performance file transfer and offline value protocol in Rust.
Deon maintains an offline ledger (economy::Ledger) to track "Who has how much". Transactions are signed (Ed25519) and verified locally without internet access.
nonce checked against the local ledger state to prevent double-spending.When connectivity is restored, the SettlementLayer trait facilitates syncing offline transactions to a blockchain (e.g., Solana, Ethereum) for final validation.
From Crates.io:
cargo install deon_protocol
Add as dependency:
cargo add deon_protocol
Or build from source:
git clone https://github.com/brzb0/Deon-Protocol
cd Deon-Protocol/deon_protocol
cargo build --release
Receive Mode:
deon_protocol receive --port 8080 --password "123456"
Send Mode:
deon_protocol send --file "docs.pdf" --address "127.0.0.1:8080" --password "123456"
use deon_protocol::economy::{Transaction, Ledger};
// Offline Transaction
let mut ledger = Ledger::new();
// ... process transactions ...
economy module with Transaction, Ledger, and SettlementLayer structures.