Avatar
<old>cypherhoodlum
e17273fbad387f52e0c8102dcfc8d8310e56afb8f4ac4e7653e58c8d5f8abf12
I try to avoid posting from this profile. npub1h00dlum44jnxdjeqms0d9s0l0n0lslv84mcw5420qpu277d8y4mqpv0cnf <-- my main profile
Replying to Avatar calle

Huge milestone: First demo of Nostr Web Services (NWS) bringing TCP to Nostr. With NWS, you can host any existing web application on Nostr without having to use DNS or even announce your public IP to the world, simply by sharing your service's npub (or nprofile).

Try it out the demo yourself. Here is a Cashu test mint running with NWS. Let's use curl to retrieve the mint's information. The request travels from your computer to the public NWS entry relay, then through nostr to the service's NWS exit relay. At the other end is a Cashu mint with HTTPS encryption.

```

curl -s -x socks5h://relay.8333.space:8882 https://nprofile1qqs8a8nk09fhrxylcd42haz8ev4cprhnk5egntvs0whafvaaxpk8plgpzemhxue69uhhyetvv9ujuwpnxvejuumsv93k2g6k9kr/v1/info --insecure | jq

```

I can't stress this enough: THE MINT RUNS BEHIND HTTPS!

The NWS entry relay can't read your traffic. It's encrypted. We can host public entry relays that can be used by anyone.

This means we can plug the entire internet to it 🌐.

Let's plug it into Cashu for now. Nutshell wallet supports socks5 proxies (that's how it uses Tor). By setting the public entry relay as the proxy, the wallet can now connect to a mint's npub/nprofile and communicate with it via NWS.

This is going to be so freaking cool. And it's going to be a lot more useful than just for Cashu. There are still bugs and issues that need to be ironed out but the code is coming out soon. Watch this space.

Are you saying we can provide anonymous web services on Nostr?

Replying to Avatar calle

Huge milestone: First demo of Nostr Web Services (NWS) bringing TCP to Nostr. With NWS, you can host any existing web application on Nostr without having to use DNS or even announce your public IP to the world, simply by sharing your service's npub (or nprofile).

Try it out the demo yourself. Here is a Cashu test mint running with NWS. Let's use curl to retrieve the mint's information. The request travels from your computer to the public NWS entry relay, then through nostr to the service's NWS exit relay. At the other end is a Cashu mint with HTTPS encryption.

```

curl -s -x socks5h://relay.8333.space:8882 https://nprofile1qqs8a8nk09fhrxylcd42haz8ev4cprhnk5egntvs0whafvaaxpk8plgpzemhxue69uhhyetvv9ujuwpnxvejuumsv93k2g6k9kr/v1/info --insecure | jq

```

I can't stress this enough: THE MINT RUNS BEHIND HTTPS!

The NWS entry relay can't read your traffic. It's encrypted. We can host public entry relays that can be used by anyone.

This means we can plug the entire internet to it 🌐.

Let's plug it into Cashu for now. Nutshell wallet supports socks5 proxies (that's how it uses Tor). By setting the public entry relay as the proxy, the wallet can now connect to a mint's npub/nprofile and communicate with it via NWS.

This is going to be so freaking cool. And it's going to be a lot more useful than just for Cashu. There are still bugs and issues that need to be ironed out but the code is coming out soon. Watch this space.

NWS - Nostrich routing

A call to all #Nostr devs building "the other stuff": Stop reserving new custom kinds for parameterized replaceable events unnecessarily.

There's a better alternative by nostr:nprofile1qqsy2ga7trfetvd3j65m3jptqw9k39wtq2mg85xz2w542p5dhg06e5qpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhszxrhwden5te0dehhxarj9enx6apwwa5h5tnzd9az7qgwwaehxw309ahx7uewd3hkctczcs834 detailed in his NIP-116 (Event paths) draft.

https://github.com/mmalmi/nips/blob/2ecaed58e37df13291f5f2a2da3ad434e0850c03/116.md

You can start utilising this easily with the irisdb-hooks library.

https://github.com/irislib/irisdb/tree/8b82c0796810256274720b8aed73fdb7971108ff

#devstr

And what a bitcoin meetup it was

A reminder that HFSP has nothing to do with one's current socioeconomic situation. It's all about squandered potential.

No worries mate, just make sure you have the proper backups (onchain seeds & SCB backup file from the lightning node saved every time you open or close channels)

If the sync is not done in a few days I'd start figuring out how to view the logs on your node. A simple restart might be the solution too in some cases. Just not yet to not lose your current sync progress. Good luck!

Just let it resync. Depending on how long the node was down it can take hours. If your bitcoin node and/or electrum server is not synced it makes sense that the lightning node isn't either. Electrum server always takes more time to get back up again than the bitcoin node. I'm assuming you're running electrum server and LND. Nothing to do but wait patiently.

The co-founder of Airchat among other things. An angel investor.