Update bitcoin-connect.md

This commit is contained in:
Bitcoin Txoko
2024-10-18 14:29:29 +02:00
committed by GitHub
parent da980eb79b
commit fd399a4c5a
+9 -13
View File
@@ -2,9 +2,7 @@
nostr:nevent1qqs9h5lk24vu4ms9s873d8yvmwzs90h37zn68ck0krj886fe89vgdrcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhszxthwden5te0wfjkccte9eekummjwsh8xmmrd9skctcpzamhxue69uhkzarvv9ejumn0wd68ytnvv9hxgtcpzamhxue69uhhyetvv9ujuurjd9kkzmpwdejhgtcppemhxue69uhkummn9ekx7mp0qythwumn8ghj7un9d3shjtnwdaehgu3wvfskuep0qywhwumn8ghj7mn0wd68ytnzd96xxmmfdejhytnnda3kjctv9uq3zamnwvaz7tmwdaehgu3wwa5kuef0qyfhwumn8ghj7ur4wfcxcetsv9njuetn9uq3yamnwvaz7tmsw4e8qmr9wpskwtn9wv4drcwx nostr:nevent1qqs9h5lk24vu4ms9s873d8yvmwzs90h37zn68ck0krj886fe89vgdrcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhszxthwden5te0wfjkccte9eekummjwsh8xmmrd9skctcpzamhxue69uhkzarvv9ejumn0wd68ytnvv9hxgtcpzamhxue69uhhyetvv9ujuurjd9kkzmpwdejhgtcppemhxue69uhkummn9ekx7mp0qythwumn8ghj7un9d3shjtnwdaehgu3wvfskuep0qywhwumn8ghj7mn0wd68ytnzd96xxmmfdejhytnnda3kjctv9uq3zamnwvaz7tmwdaehgu3wwa5kuef0qyfhwumn8ghj7ur4wfcxcetsv9njuetn9uq3yamnwvaz7tmsw4e8qmr9wpskwtn9wv4drcwx
Bitcoin Connect can connect a number of different types of Lightning wallets, from Nostr Wallet Connect (NWC, [NIP-47](https://github.com/nostr-protocol/nips/blob/master/47.md)) to using your own node. Bitcoin Connect can connect a number of different types of Lightning wallets, from Nostr Wallet Connect (NWC, [NIP-47](https://github.com/nostr-protocol/nips/blob/master/47.md)) to using your own node. Let's try it!
Previously we have covered how to use Nostr Wallet Connect to connect your Mutiny wallet to websites and apps in the [Mutiny Guide], now you can connect your Bitcoin Txoko LNbits wallet to Coracle using Bitcoin Connect for one-tap zaps. Let's try it!
## Create a zap wallet ## Create a zap wallet
@@ -16,24 +14,22 @@ Once you have a wallet ready, find the `API docs` section and make a note of you
![adminkey](https://raw.githubusercontent.com/bitcointxoko/guides/main/images/bitcoin-connect/adminkey.png) ![adminkey](https://raw.githubusercontent.com/bitcointxoko/guides/main/images/bitcoin-connect/adminkey.png)
## Coracle ## noStrudel
A number of web apps, especially in the Nostr ecosystem, have already implemented Bitcoin Connect as a wallet connection method, including [Habla](https://habla.news/), [Snort](https://snort.social/)/[Iris](https://iris.to/) and [Zap.stream](https://zap.stream/), and more are sure to follow. However, as far as I am aware, [Coracle](https://coracle.social/) and [nostrudel](https://nostrudel.ninja/) are the first to allow using Bitcoin Connect with a [LNbits](https://lnbits.com/) wallet. A number of web apps, especially in the Nostr ecosystem, have already implemented Bitcoin Connect as a wallet connection method, including [Habla](https://habla.news/), [Snort](https://snort.social/)/[Iris](https://iris.to/) and [Zap.stream](https://zap.stream/), and more are sure to follow. However, as far as I am aware, [noStrudel](https://nostrudel.ninja/) is the only one to allow using Bitcoin Connect with a [LNbits](https://lnbits.com/) wallet.
If you are unfamiliar with it, Coracle is a top Nostr social client supporting a wide range of NIPs and can be installed as a Progressive Web App (PWA). A killer feature is that it also supports Nostr Connect ([NIP-46](https://github.com/nostr-protocol/nips/blob/master/46.md)), which allows you to sign in using a server that signs events on your behalf like [nsecbunker](https://nsecbunker.com/). This means that, paired with Bitcoin Connect, you can use it without any extensions, for example, on mobile browsers. If you are unfamiliar with it, noStrudel is a Nostr web client for power users with support for a wide range of NIPs and can be installed as a Progressive Web App (PWA). A killer feature is that it also supports Nostr Connect ([NIP-46](https://github.com/nostr-protocol/nips/blob/master/46.md)), which allows you to sign in using a server that signs events on your behalf like [nsecbunker](https://nsecbunker.com/). This means that, paired with Bitcoin Connect, you can use it without any extensions, for example, on mobile browsers.
## Trying Bitcoin Connect ## Trying Bitcoin Connect
1. Navigate to [coracle.social](https://coracle.social) and sign in with your preferred method. 1. Navigate to [nostrudel.ninja](https://nostrudel.ninja) (or [nostrudel.bitcointxoko.com](https://nostrudel.bitcointxoko.com) for our community instance) and sign in with your preferred method.
2. Go to `Settings` and find the `App Settings` section. 2. Go to `Settings` and find the `Lightning` section.
3. Tap on `Connect Wallet` under Bitcoin Connect. 3. Tap on `Connect Wallet`.
4. Choose `LNbits` as your connection method. Note that you can also use NWC, as we covered in the [Mutiny Guide] or a number of other connection methods. 4. Choose `LNbits` as your connection method. Note that you can also use NWC or a number of other connection methods.
5. Enter the *admin key* you have noted down earlier and `https://bitcointxoko.com` as the LNbits URL. Connect the wallet. 5. Enter the *admin key* you have noted down earlier and `https://bitcointxoko.com` as the LNbits URL. Connect the wallet.
6. You should now see your wallet balance. You are now ready to zap! 6. You should now see your wallet balance. You are now ready to zap!
![coracle](https://raw.githubusercontent.com/bitcointxoko/guides/main/images/bitcoin-connect/coracle.png) ![nostrudel]
💡 You can try the same on nostrudel, if you prefer.
## Conclusion ## Conclusion