|
4 veckor sedan | |
---|---|---|
.. | ||
src | 4 veckor sedan | |
Cargo.toml | 4 veckor sedan | |
README.md | 4 veckor sedan |
The CDK Fake Wallet is a component of the Cashu Development Kit that provides a simulated Lightning Network backend for testing Cashu mints.
This crate implements the MintPayment
trait with a fake Lightning backend that automatically completes payments without requiring actual Lightning Network transactions. It's designed for development and testing purposes only.
MintPayment
interfaceAdd this to your Cargo.toml
:
[dependencies]
cdk-fake-wallet = "*"
This is for testing purposes only!
The fake wallet should never be used in production environments as it does not perform actual Lightning Network transactions. It simply simulates the payment flow by automatically marking invoices as paid.
This project is licensed under the MIT License.