pull down to refresh
0 sats \ 0 replies \ @02a9caab98 17 Nov 2022 \ parent \ on: Damus Web: Nostr client nostr
You mean a kind 2 message to set a "recommended relay"?
Tried adding it in astral and use the same pubkey in damus web, still loading forever
Pasted pubkey, but seems to be loading forever?
Tried on different browsers, different VMs, with and without nos2x.
Best write-up about why, how, etc: https://github.com/nostr-protocol/nostr/blob/master/README.md
Thanks. Both good points.
I don't know yet if there is demand, or how much demand there is for vanity pubkeys. It's more of an experiment at the moment. I suppose only hardcore users of Nostr are (or may potentially be) interested in this.
About identities, true, relying on a prefix to identify someone can be tricky. But this is not trying to solve identity. Different clients have different ways around it (like checkmark, NIP-05 domain identifiers, etc).
Sorry for the late reply. Seen some issues with lnbits, sometimes the API doesn't return a preimage for the paid invoice. Maybe try with another alby backend, like coinos?
AFAIK escrow (and therefore handling the possible dispute around hodl invoices) involves a 3rd party, is there a way to do it trustlessly?
Yes the PoW provier could get spammed. But the PoW provider has full flexibility on when (and for whom) to start mining.
For example, some could skip mining for "new and unproven" clients, with no reputation.
Others could only mine at higher difficulties for miners they've already had successful trades with, etc.
Still others could mine at a baseline "expensive" rate for new clients, but give cheaper rates to "trusted" clients they've mined for before, who they know will pay.
Lots of things possible :)
It works in a distributed way. Steps are
- User indicates what sort of PoW they want (difficulty, timeframe, amount willing to pay)
- Miner(s) start working
- Miner(s) post blinded PoW
- The invoice preimage unblinds the PoW, so when the Client pays, the PoW is unblinded and usable
Both have risks (user doesnt know if PoW is correct until unblinded, miner doesn't know will get paid until user actually pays). But there is a reputation system in place too.
Goal was to make it fully p2p, no escrow. The website is just a frontend on top of Nostr.
Exactly, its a way to keep out spam from anything that builds on top of Nostr.
That can be the a setting in the chat client to restrict replies, private DMs, etc. Other apps that rely on messaging can use PoW to keep out spam too, like blog comments ( https://damus.io/log/2022-08-02-introducing-damus-log.html ), forums, captchas etc.
Facebook (hah) commnunities where you want to welcome people, but the group admins have no time or interest to deal with bots.
Basically anywhere there is spam, a simple PoW setting (only show above difficulty X) can be effective.
Miners are essentially trying to guess numbers that fit some criteria.
ᴡʜᴇʀᴇ ᴛʜᴇ ᴘᴜᴢᴢʟᴇ ᴍᴀᴛʜ ᴘʀᴏʙʟᴇᴍꜱ ᴀʀᴇ ᴄʀᴇᴀᴛᴇᴅ
A puzzle assumes there is one solution. There are actually endless "solutions" for each new block, they're just very hard to find. In fact, there is no known way to find them other than trial-and-error.
The network hashrate shows you how many hashes (guesses) were done per second in order to "find" a correct answer for the most recent block.
For example now the hashrate is 200 exahashes per second = 200 x 10^18 guesses every second.
ᴡʜᴇʀᴇ ɪꜱ ᴇᴀᴄʜ ʙʟᴏᴄᴋ'ꜱ ᴄᴏʀʀᴇᴄᴛ ᴀɴꜱᴡᴇʀ ɢᴇɴᴇʀᴀᴛᴇᴅ ᴛᴏ ʙᴇ ꜱᴏʟᴠᴇᴅ?
-
There is no one correct answer, there are many.
-
The correct answers are not known in advance, they are "discovered" through mining. What is known in advance is the criteria by which to judge if an answer is correct or not. That criteria changes with every block and even with every attempted guess (via the so-called nonce explained in the comment from @nullcount).