Oddbean new post about | logout
 @calle 👁️⚡👁️ who maintains cashu-ts? Ie. Who should I badger with retarded questions?

Ie, when I instantiate a new CashuWallet, keys are empty, getKeys is private, so how do I initially generate keys? Or am I thinking about this wrong?

How often do keys change? 
 @gandlaf21  is the main mantainer. I can tell you that there are some documentation issues between the website and the code. 

What I'm doing for know is just inspecting the source directly. 
 Yeah, docs on a website are almost always out of date. I been looking at the code too

Would be good to have a very simple reference CLJ implementation that does nothing but the very basic things using cashu-ts 
 Here's a kindof half-baked Cashu wallet implementation I worked on  while in Madeira with cashu-ts https://github.com/zmeyer44/flare/tree/main/app/wallet 
 keys are the pubkeys from the mint. how often they change depends on the mint rotating them. Good practice is to fetch them from the mint after instantiating `CashuMint`, and store them locally. Then use them to instantiate the `CashuWallet`