29 releases (11 breaking)
| 0.14.3 | Jan 11, 2026 |
|---|---|
| 0.14.2 | Dec 5, 2025 |
| 0.14.2-rc.3 | Nov 27, 2025 |
| 0.11.0 | Jun 29, 2025 |
| 0.5.0 | Nov 19, 2024 |
#838 in Magic Beans
Used in 3 crates
265KB
6K
SLoC
CDK Fake LN Backend
Used for testing where quotes are auto filled.
The fake wallet now includes a secondary repayment system that continuously repays any-amount invoices (amount = 0) at random intervals between 30 seconds and 3 minutes to simulate real-world behavior where invoices might get multiple payments. Payments continue to be processed until they are evicted from the queue when the queue reaches its maximum size (default 100 items). This is in addition to the original immediate payment processing which is maintained for all invoice types.
CDK Fake Wallet
ALPHA This library is in early development, the API will change and should be used with caution.
A fake Lightning wallet implementation for the Cashu Development Kit (CDK). This is intended for testing purposes only - quotes are automatically filled without actual Lightning Network interaction.
Installation
Add this to your Cargo.toml:
[dependencies]
cdk-fake-wallet = "*"
Warning
This is for testing purposes only. Do not use in production environments.
License
This project is licensed under the MIT License.
Dependencies
~35–54MB
~743K SLoC