Why Nostr? What is Njump?
2025-03-23 17:15:04

calvadev⚡️ on Nostr: Finally wrapping up on the Great Refactor of the Shopstr codebase. Not much ...

Finally wrapping up on the Great Refactor of the codebase. Not much functional change apart from more efficient event fetching, so now everything can be fetched at once and displayed up front rather than requiring shoppers to manually "load more" to see older listings, including their own. Biggest thing was abstracting the signer checks for NIP-07, NIP-46, and encrypted nsecs, so implementing new Nostr functionality just requires dropping in a signer object and the respective signing calls are handled on the fly. Passphrase inputs for unencrypting locally stored nsecs are now also capable of being remembered across an existing session, removing the need for constant inputting at each page route.

https://github.com/shopstr-eng/shopstr/commit/d1b726866740b119547632e9c1011812ec780e92

Still a few minor improvements to add here and there, but generally able to focus more on some new merchant tooling and discovery/trust mechanisms! Be on the lookout... 👀

#shopfreely #SovEng 🫡🏴‍☠️
Author Public Key
npub16dhgpql60vmd4mnydjut87vla23a38j689jssaqlqqlzrtqtd0kqex0nkq