nostr-pow: A little npm Node module for finding Nostr event nonces.

On my Mac mini 3.2GHz 6-Core i7 I’m getting about 10 megahashes/second. Curious to see what others are getting 🤔

https://github.com/bmewj/nostr-pow

Reply to this note

Please Login to reply.

Discussion

What is this about? A benchmark?

It’s a Nostr proof-of-work generator library. You just pass in an event and a target difficulty and it returns the event with a nonce tag that produces an event id with your desired difficulty. That’s all, really.

I was just experimenting with how to get the computation to be as fast as possible. It’s a little weird compared to regular PoW in that the nonce is in plaintext, not binary

Very cool:

#[0]

How can I zap?