Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arealayer/lightning-lending-poc
Simple Proof of Concept on Lightning lending
https://github.com/arealayer/lightning-lending-poc
bitcoin discreet-log-contract dlc lightning-network nostr
Last synced: 20 days ago
JSON representation
Simple Proof of Concept on Lightning lending
- Host: GitHub
- URL: https://github.com/arealayer/lightning-lending-poc
- Owner: AreaLayer
- License: apache-2.0
- Created: 2023-05-25T12:17:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-31T12:02:15.000Z (about 1 year ago)
- Last Synced: 2024-07-30T19:35:07.067Z (5 months ago)
- Topics: bitcoin, discreet-log-contract, dlc, lightning-network, nostr
- Language: Rust
- Homepage:
- Size: 430 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lightning Lending (PoC)
Simple Proof of Concept on Lightning lending### How Works?
- Alice and Bob enter in a DM or chat channel with his Npub
- After is generated public/private key using DLCs and offer
- Now both decide open channel
- Later can close channel### Run application
**Pay Attention**: The application is still in alpha/PoC, not Beta. Use at your own risk and protocol also is in testnet
Pre requisite
- LDK
- Nostr
- Rust-DLCYou can add toml in your Cargo.toml
```toml
[dependencies]
Lightning-lending = "1.0.1"
```
### Add CargoOr add cargo
```toml
[cargo]
cargo add Lightning-Lending
```### NIP-XXX: Peers Lightning
[Check more](https://github.com/AreaLayer/NIP-xxx/blob/main/NIP/NIP-xxx.md)
### Roadmap
- [x] Released PoC
- [x] Presentation of New NIP
- [x] Testnet
- [x] Run application## Demo video of PoC on Lightning Lending
![Demo video](https://github.com/AreaLayer/Lightning-lending-PoC/blob/main/demo-video/Test5.gif)