What is Nostr?
Egge /
npub1mhc…c226
2025-03-10 15:59:24

Egge on Nostr: I just released the first version of almnd, a npm package for throttled communication ...

I just released the first version of almnd, a npm package for throttled communication with Cashu mints.

Almnd will schedule and reschedule mint calls with appropriate timings and backoffs, making sure that you can talk to mints, without having to worry about spamming them (and getting rate limited).



The first version focuses on minting. Other methods will be added soon(tm). I built this with npub.cash in mind. I think the most appropriate use case is services that have to deal with a lot of pending state over long periods of times. For most wallets I would recommend looking into Cashu's WebSocket protocol.

Library: https://www.npmjs.com/package/almnd
Author Public Key
npub1mhcr4j594hsrnen594d7700n2t03n8gdx83zhxzculk6sh9nhwlq7uc226