What is Nostr?
Egge /
npub1mhc…c226
2024-12-09 10:57:16

Egge on Nostr: Cooking some pretty interesting stuff for cashu-ts right now! 🔥 A soon to be ...

Cooking some pretty interesting stuff for cashu-ts right now! 🔥

A soon to be released version will not only enable users to get full control over the outputs generated by a method, it also introduces the concept of "Output Factories" 🏭 🥜

An output factory describes how the library should generate outputs. The best part is, that users can now control the kind of output they want to receive, but still let the library handle splitting, amounts and fees. With a factory you will be able to instantiate a CashuWallet class that will make sure all change outputs that might be created by calling "send" or "mintProofs", will automatically be created using the factory you specified (e.g. locked to you pubkey).

Author Public Key
npub1mhcr4j594hsrnen594d7700n2t03n8gdx83zhxzculk6sh9nhwlq7uc226