SatsAndSports's avatar
SatsAndSports
npub1zthq...xm56
Into bitcoin, specifically cashu. When I'm not working in the fiat mines, I'm into cycling and camping
SatsAndSports's avatar
SatsAndSports 2 months ago
Anybody extending Cashu so that my wallet doesn't share a Bolt11 invoice with the mint, but instead just shares a path computed by the wallet? I don't want the mint to know what is being paid, but the Bolt11 invoice shares a lot of info with the mint Bolt12 is kinda relevant, but I don't think there's any way for me to take someone else's Bolt11 and then convert it to a Bolt12 by adding my own blinded hops
SatsAndSports's avatar
SatsAndSports 2 months ago
Steve Keen is a great economist Like me, he's (post-)Keynesian. I've listened to many great discussions involving him. Like the MMT folks, he understands how fiat money works, especially credit cycles and crashes. They understand economics better than many Bitcoiners But he still hasn't learned about the difficulty adjustment So bullish In a much older interview, he implied that the energy needed by Bitcoin is proportional to the number of transactions If he learned that this is false (i.e. the difficulty adjustment), we could all benefit from his intellect! Hyperbitcoinization is going to be fascinating and dramatic, and will require people who are able to analyse the interaction between fiat and credit and Bitcoin Steve Keen and @Lyn Alden would be my dream team for that analysis A clip I saw just today on X, which inspired me to post this: (this old interview is where, I think, he first discussed bitcoin:
SatsAndSports's avatar
SatsAndSports 2 months ago
The source for Claude Code was accidentally released Now we have proof that smaller codebases are always the best ๐Ÿ˜€ #OpenCode4EVER image
SatsAndSports's avatar
SatsAndSports 2 months ago
My next step in the cashu spilman channel will be a 'client proxy' and a 'server proxy'. The server proxy will sit in front of typical services like Nostr relays or Blossom, but they will enforce payment and will raise 402 errors if the payment is missing Similarly, the client proxy will run on your device to insert the payment into the request before it's send to the server Blossom seems like a good place to start, to charge for uploading; I checked a few details about the protocol today, BUD-02 allows to upload to one server (the server proxy) where the server proxy will 'redirect' the client to the *real* Blossom server for future reading, and I think that typical Nostr clients will 'do the right thing' when they are behind the proxy It should be easy for us to extend the functionality of this 'server proxy' over time. Nostr and Blossom today, but it could wrap other things in future
SatsAndSports's avatar
SatsAndSports 2 months ago
A tiny Cashu Spilman channel update; I should make these more often: While the server side (i.e. payment receiver) code is in a reasonable state for now, in terms of flexibility and a clear state machine, I'm now catching up with a similar approach on the client side Just today, I'm adding an 'Opening' state to the client, just before 'Open'. The client opens a channel by creating a 'funding token' with the mint, a token which is in a 2-of-2 multisig very similar to a Lightning channel. If the swap (or melt) which creates that fails (or *appears* to fail, from the client's point of view), then the client should probably try again or use NUT-09 to get the response. So I'm implementing and testing that now The code is now a library which depends on the CDK, i.e. no longer a (disorganized!) fork of the CDK:
SatsAndSports's avatar
SatsAndSports 2 months ago
Having fun setting up slightly better containerization of my dev environment Using 'bwrap' (bubblewrap) so the my dev user has very little awareness of the rest of the machine. For example, it can't see all the processes that are running (just it's own processes) Next, I'll set up a proxy on localhost to forward my LLM requests, so that I don't need to share my API key with this dev user. Eventually, I'll extend that proxy to process Cashu channel payments, to pay myself bitcoin and stress test that system. I haven't tried them yet, but apparently 'cage' and 'weston' are good ways to allow that dev user to open a window on the display of my normal user I wish I'd done this earlier, and I hope somebody hasn't already hacked me by getting my clanker to run exploit code! (I'm kinda tempted to get a new laptop, to be very strict about what runs on it, and from there reset all my important passwords)
SatsAndSports's avatar
SatsAndSports 2 months ago
Thanks to AI, I'm starting loads of new projects. I guess that's the new "open lots of browser tabs that you never close" Here are my tmux/byobu tabs. image
SatsAndSports's avatar
SatsAndSports 2 months ago
Just implemented a small Cashu mint, in order to have a mint to be used in the integration tests Maybe that seems like overkill, but I guess this is the world we live in now ๐Ÿ˜€ image
SatsAndSports's avatar
SatsAndSports 3 months ago
Just started reading The Sovereign Individual This childish sentence, in the preface, makes me think this might be no better than the pleb slop in The Bitcoin Standard image and the first page of the first chapter isn't any better: image
SatsAndSports's avatar
SatsAndSports 3 months ago
If you already know something about has Cashu Spilman Channels work, then you might find this useful if you want some details to help you integrate it into your server I have an 'integration kit' for each of four languages (Rust, Go, Python, TypeScript) where you can start receiving payments by just specifying a config yaml file and a few dozen lines of code Still more to do to tidy it up, especially on the client side, but the server side is more complete now (pending real-world feedback which could change everything of course ๐Ÿ˜€)
SatsAndSports's avatar
SatsAndSports 3 months ago
The only correct instruction from the clanker in this video. Stop using VS Code and instead use ...: image
SatsAndSports's avatar
SatsAndSports 3 months ago
Anyone working on a file storage system based on Merkle trees, paid via bitcoin? So I pay your (blossom?) server a monthly fee to store my data, where I know the Merkle root of the data. [I'll describe mutable data below] Every day, I ping your server for one randomly-selected (portion of a) file. You return the requested data, along with the Merkle proof that it's the correct data If any data is missing, I can then publicize this fact, and challenge you publicly (The data is encrypted of course, with a key that I never release to anyone, hence I don't mind publicly proving that the server has lost the ciphertext) I pay multiple servers to host the same data, and my client will automatically copy data to new servers (paying them, of course) when one server fails If I want to make a modification to one part of the data, then I simply send the new data to the storage server(s) and we update the Merkle root. The server signs the new root, committing to store it, and I sign a message which releases the old root [When I say "Merkle root", I probably really mean using something like git's tree of file hashes] #AskNostr ( @hzrd149 )
SatsAndSports's avatar
SatsAndSports 3 months ago
I told my agent to write some code "without side effects" and it thought that it was neither allowed to write nor read from the database. It felt funny to remind it that "no side effects" means it has permission to read, just not write. The point I'm making is that coding models can still be pretty dumb sometimes, even stuff that I would consider extremely obvious. GPT-5.2 Codex (via OpenCode)
SatsAndSports's avatar
SatsAndSports 3 months ago
When I run a PWA (e.g. cashu.me) on Android with Orbot (the tool which wraps your chosen apps into a Tor connection), is it sufficient to configure Orbot to wrap the corresponding browser (Firefox or Chrome, ...)? I ask because Orbot lists all the apps and allows to toggle Tor on and off, but none of the PWAs are on the list. I guess my broader question is: what's a good way to get Tor Cashu support on Android? Either natively in the app, or via Orbot? @Cashu #AskNostr
SatsAndSports's avatar
SatsAndSports 3 months ago
Dennis Porter has made an announcement. Bottom is in! Seriously though, I like the definition of "cryptocurrency" in this Bill in Indiana, especially the last line which rejects stablecoins image I'm not sure if it includes developer protections A couple of days ago, I banned myself from interacting with X. I'm just allowed to read/follow/block. Anyway, here is how I found this:
โ†‘