Skip to content

ArmaanSoniQG/legacy-wallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Legacy Wallet (ECDSA baseline)

Generate keys

# ECDSA (default)
node wallet.js
# Dilithium‑5 (post‑quantum)
node wallet.js --alg dilithium

| Test                       | Purpose                                        |
| -------------------------- | ---------------------------------------------- |
| **keygen → sign → verify** | “Happy path”—prove Dilithium works.            |
| **tampering**              | Make sure forged messages fail.                |
| **0-byte / 4 MB**          | Edge-cases: empty string and huge blob.        |
| **save ↔ load**            | File persistence didn’t corrupt keys.          |
| **wrong publicKey**        | Signature can’t be validated with another key. |

### Quantum-Risk Scan

| Metric | Day 3 | Day 9 |
|--------|-------|-------|
| **Risk score** | 30 / 100 | **0 / 100** |
| PQ algorithms detected || Dilithium-5 |
| Legacy ECDSA exposure | High | Mitigated (ECDSA_SHOR weight 0) |

About

Created a dummy wallet here in lieu of actual wallets to be integrated like Metamask, EVM flow.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors