People fail to understand how important patience is… 100,000 x 1,2^20 = 3,833,760
P2P is beautiful. What the fuck is a Satoshi Test?!
Happy new year πŸ’œ image
What are the things you want to see in a v2 of npub.cash?
Hi nostr, What are your favourite affordable sneakers? - available in EU - maximal bang for the buck
The latest RC of cashu-ts introduces the concept of Factories. A Factory is a function that lets developers take control over how Cashu outputs will be generated by cashu-ts. Consumers can also define a "default" factory that is going to be used for all outputs that are considered "keep" outputs (mints + melt / swap change). This paves the way for much easier state management and WAY less code. In this very simplistic example I show how a simple closure can be used to make sure that all the proofs generated are derived from a seed phrase, while outsourcing the counter management to the factory
- Released cashu-ts v2.2.0-rc3 - Had a massive steak Today was a good day 🫑 image
Today is massive steak day πŸ₯©
πŸ“£ Looking for the bravest of the brave We have just released a new RC of cashu-ts v2.2. This is an experimental canary release, including the output of our revamped build pipeline and the new OutputData / Factory patterns. While the API is non-breaking, these changes are considered experimental and require some field testing. Therefore, we would highly appreciate any brave testers who would go ahead and take the RC for a test ride. What would be most interesting is whether the new build output can be plugged into existing projects without breaking anything. This version includes: New build pipeline (dropped ES5, targeting ES2020) Custom Output Data Output Factories Binary Token En/Decoding Modern P2PK (locktime, refund keys) DX: Migrated to modern TypeScript Changed bundler to vite Changed Testing to vitest Added browser testing using Playwright Thanks to the new build pipeline we will also be offering a standalone build, available for projects that prefer loading cashu-ts from a script tag, rather than using a bundler. This will be released in a couple of hours https://www.npmjs.com/package/@cashu/cashu-ts/v/2.2.0-rc3
The β€žUpdating nutzap-redemption historyβ€œ part of NIP-61 seems to suggestiv that NutZaps can only be claimed into a nutsack wallet. As a kind:7376 event expects to point to a new token event ID. Is that right? Cc @PABLOF7z