Last Notes
Ok I see. Soon, I'll extract the in-browser relay as a standalone npm package. You will be able to use it like you want in your project 🙂 I'll also check for implementing negentropy. But remember that in-browser relays from nbox.space are for testing/building without deploy having to deploy a relay yourself on docker or wathever
I can add negentropy in browser and hosted relay, yes, but I'm not sure to understand your need. This in-browser relay is mainly for developers/builders that want a local relay for testing. What did you have in mind exactly? What problem would this solve for you?
🚀 Introducing Nbox.space, a toolkit for Nostr developers and builders.
The fun part: need a relay but don't feel like setting anything up? Just open a tab. A real Nostr relay runs right there in your browser. Live instantly, no server, no signup, reachable by any client through a tunnel. Great for testing and dev.
Nbox.space also gives you:
• forge: an event workbench — hand-craft any event, fire it at your relays, and see exactly how each one responds and what comes back
• hosted relays — spin up your own in seconds
• a relay tester — run a full conformance suite against any relay
…and more to come.
https://nbox.space
🟠 What's new on bips.xyz:
- New design
- Any BIP as raw Markdown → bips.xyz/N.md
- Copy-link button on every page
- "Related" + "Referenced by" rails
- Git commit history
- Better search engine
- Same features for NIPs
→ https://bips.xyz
→ https://nips.nostr.com
Weird, I removed the cache for nips 34. It's now fixed.
Faut quand même être préparé à l'avance 😅 Je suis toujours d'avis que Nostr a un gros problème d'ux...
Comment tu peux te connecter en utilisant Nostr sur une borne publique ? 🤔 Tu as pu essayer ?
It should work with password manager that supports passkeys.
I didn’t know, passkeys on android are stored in google password manager by default.
My implementation is really basic. I use the passkey's signature as Input in HKDF. Not an expert, maybe it's a really bad idea?
The workflow you described with 2 keys looks great, but I'm not sure how it can be deterministic?
I built this lib for this specific use case. I'm building a PWA hot wallet with Ark
Probably possible yes, I don't know.
I would use this library for an everyday wallet with <100$ on it, but not to generate my hardware wallet mnemonic for example
Weird... Maybe @nprofile…dgp0 could help on this?
That's currently the biggest problem with passkeys. A passkey is tied to a domain name. The only thing you can do is back up your mnemonic manually
If the domain name changes to another one, here's a solution: https://otpless.com/docs/knowledge-base/passkey/relateddomain
I hope a better solution will appears in the near future
Well, maybe it works by scanning the QR Code showed on desktop with your iPhone. Not sure about that 😅
You should use a cloud-synced passkey provider. I know Apple and Google provide native cloud backup for passkeys, so you can use the same passkeys between your iPhone and Mac, for example.
But I'd prefer a strong password manager with passkey support, because Apple's passkeys won't work on your Windows/Linux computer...
I'm not a cryptography expert, so if the implementation is flawed or the process isn't secure for reasons I'm unaware of, I'm open to feedback.
#nevent1q…kn90
I'm also having passkeys synchronization issues between desktop and mobile.
What ln address you try to resolve for zaps?
It's neither your actual fingerprint nor a random key - it's more complex. When you create a passkey, your device generates a random private key and stores it in the secure element. Your biometric (fingerprint/face) is just the unlock mechanism for that key, not the key itself.
⚠ So if you delete and re-register a new passkey, you will not be able to restore your old private key!
No, that's not how it works 😄 The private keys are generated using YOUR biometrics on YOUR specific device. You can't scan my face with your phone to access my wallet - the passkey is tied to my device's secure hardware, not just my face.
Just built Passkey39: a library that generates the same crypto private key every time you use your Face ID or Touch ID. No more seed phrases to lose, your biometric authentication becomes your deterministic wallet key through WebAuthn magic.
What do you think? I'm curious if it's a good or bad idea 🤔
👉 https://github.com/dolu89/passkey39
🎯 Live demo: https://passkey39.dolu.dev
(Not published to npm until it's safe to use)
I just published an article about data versioning issue on Nostr
#naddr1qv…vj3v
I am learning how mining pools work by building one
It's a nice challenge, I can learn more about how bitcoin works
I'll retry with the #asknostr this time 😅
#nevent1q…4zft
What's the easiest bitcoin miner software to launch?
It needs to connect to a stratum v1 pool.
CPU miner is fine, it's for a regtest network (yes, I know there is a command to mine blocks in regtest)
I don't know the context of your post, but of course mutex is useful in JS.
If you have an async function inside your function, you could need a mutex
Simple example is spend money, call this function 2 times in a short time and your user could spend money he doesn't have
async function spendMoney(amount) {
const balance = await getBalance()
if (balance > amount)
await spend(amount)
}
https://nips.nostr.com has been running for 1 year, here are the statistics
https://image.nostr.build/8fd7ed955a83e1c3233268ca11c7cc5c1626703e08a1cbe8f01d49e929aa1fff.png
I’ll write this in French, you’re free to translate if you want to understand.
Ça fait maintenant plus plusieurs années que je vais mal mentalement suite à un événement qui s’est produit dans ma vie.
Une des conséquences c’est que je n’ai presque plus aucune motivation pour travailler sur mes projets persos.
J’ai pourtant des idées plein la tête, mais impossible de me lancer.
De temps en temps ça m’arrive d’avoir des petits élans de motivation, mais ça retombe assez vite.
J’ai tenté de rebondir récemment en annonçant que je voulais refaire bips.xyz, j’ai lâché le lendemain.
Je voulais juste le partager. J’ai écrit ça à chaud sans réfléchir.
C’est pour ça que je ne suis absolument plus productif depuis un bon moment.
J’espère revenir vite avec des nouveaux projets à présenter. 🙏
Shadcn components have to be customized 😭
But yes I understand, it was the same with bootstrap
I'm working on the new version of bips.xyz and I want a new design. Does anyone want to join and handle the frontend part?
It will be built with Vue.js and Vite. You're free to use the CSS library. (I like shadcn-vue and tailwind, but it's not mandatory)
Ok! The human mind is fascinating
Ok ahah!
Real question... What about music? You can't have music in your head?
So when you are hungry, you don't say "I'm hungry, i'm going to eat" in your head? 😅
Free relay with events deleted after being requested
https://njump.me/nevent1qqsf2pkwyyz2gx5r0x8sd9wq2meedlvarpgjem5cdllygkpsucleu0cpzemhxue69uhhyetvv9ujuurjd9kkzmpwdejhgqgkwaehxw309aex2mrp0yhxummnw3ezucnpdejqz9rhwden5te0wfjkccte9ejxzmt4wvhxjmczypvmjm0cmz67v6emjk37rws4jag2dmwkn09m5xzh46m99fdjpz74jlhz25p
GM
The current version of https://bips.xyz (and https://nips.nostr.com) was made in just a few hours by reusing some code from the previous version.
I wanted to do it without a database to make it easy for anyone to host without constraints. I think that was a mistake.
I don’t really like this version, and I’m ashamed of it.
I will rebuild it from scratch soon.
🎯 What kind of features would you like to see in the next version?
Here are mine:
- A better search engine
- The ability to easily add more specs, like @nprofile…6tzn's Cashu NUTs
- The ability to see previous versions of the specs
- New design
Fixed some bugs in Ghost relay thanks to @nprofile…uw6r's relay-tester.
Nice tool!
wss://ghost.dolu.dev
try it now
wss://ghost.dolu.dev
try it now
You could probably just forget versioning. If your profile is hosted on a webserver, like on .well-known page, you know it's the latest version. So if your profile is overwritten on some relays by a client, you still can rely on the .well-known version and publish this version.
Do I understand correctly?
I agree, the problem is real. Good spec!
I only disagree on the git part. It's too complicated for non tech people. Also, do I really want to rollback to a previous version? When I want to change something, I just update my profile
I will disallow basic filters in Ghost relay.
Example: You can't use this filter { kinds:[4] } without authors or tags.
(trying ditto on this post btw)
I have a TLS issue with coolify. Certs are not renewed. Also, Coolify doesn't update OS services.
What's the easiest way (low/no maintenance) to deploy web service to a VPS?
I don't want to SSH everytime to deploy a new service.
A new type of relay has just appeared. It deletes events right after they have been 'queried' by a user. Useful for very specific applications where no traces are desired, like shh.com from @npub1zxe…e9y7
https://github.com/Dolu89/ghost-relay
Faut y aller doucement. Comme j'ai dit, c'était bien plus simple sur un port lightning qui est tout vide, les connectiques sont sur les bords 😕
Comme l'a dit @npub1hkl…3u2k c'est sûrment pleins de poussières. Il va falloir gratter avec un petit truc en métal comme une aiguille. J'ai eu le même problème avec un port lightning d'apple, et je dois avouer que c'est bien plus simple à nettoyer que l'usb-c...
(la soufflette n'avait eu aucun effet, c'était trop compact)
What is the location of these servers?
It’s cheap
I was bored, so I tried using Passkeys to generate a Nostr account.
https://nostr-passkeys-demo.vercel.app
It's probably not perfect, and Passkeys require a domain name, so you can't log in, for example, on Primal and Coracle using the same Passkey.
⚠️ It's just an experiment ⚠️
Some progress has been done
https://njump.me/nevent1qqs2cku3flwxu3qu3j42fk7wexe5qlmxxl7j86lmh34rzcd4xyzr0fqzypvmjm0cmz67v6emjk37rws4jag2dmwkn09m5xzh46m99fdjpz74jk9c32c