unisat-wallet / extension

The first open-source browser extension wallet for Bitcoin NFTs
Other
804 stars 306 forks source link

Add support for the bitcoin lighting network to UniSat wallet #194

Open MoritzKa opened 1 month ago

MoritzKa commented 1 month ago

UniSat could support the bitcoin lightning network by using the open nwc.dev protocol.

The Alby Extension (getalby.com) already let's users connect their own wallets via NWC.

There is now a NWC HTTP API to communicate payment requests with other wallets over relays here. The API translates the async nature of the lightning network and the NWC protocol into a default synchronous HTTP request. Or it notifies your application through webhooks. So it makes it a lot easier to implement the app-side of NWC and let Umbrel, Start9, Alby and Mutiny users connect to your app. The only thing that needs to be done is to create the JSON payload and encrypt it correctly. :slightly_smiling_face:

GGG888GGG commented 1 month ago

@huanniangstudio @abangZ