Very basic cashu wallet in Python and Kivy. Just sending and receiving ecash tokens for now. You can receive from different mint, but there's no way to select. But the point is not to create another cashu wallet, there are many good ones, but to be able to communicate with the mint through Reticulum based mesh network (that's why I needed pure Python, because that's how you send LXMF messages now). If interested, give it a star and watch how I develop it: Pull requests welcome.

Replies (32)

That I have written only Python code and nothing else. No GUI, no glue, nothing. Of course there’s a lot of libraries in C (which is a problem for me and the reason why I can’t make it run natively on Mac now).
Got it. It’s early days, but you might be interested in PyScript - a Python distribution that compiles to WASM. I don’t know about Kivy or Wheel, but it looks like your only other dependency is Cashu, which I know uses Pydantic under the hood. Since Pydantic 2.0 is written in Rust, that too should compile to WASM.
PyScript is pretty browser-focused, so it may not be the best for this project… but there are other efforts to make Python compile to WASM, which can “run anywhere”
Yes it is! Another cypherpunk rabbit hole. We're playing with antennas and frequencies, spreading factor, ...
Not sure what Nutshell uses under the hood. The problem is the C dependency for the curve and things like bitarray. Unfortunately cashu Nutshell depends on C extensions.
With buildozer and kivy, you run one command and get an APK. Although I need to make some recipes for two extensions that depend on C code.
Yes. LoRa is a low bandwidth but high range radio. It allows you to cover a city. And its mesh, so it discovers the path through the city by itself. You can also use other links like wifi or an internet connection and it finds way automatically. So you can have for example two houses connected with WiFi and each of them a LoRa node covering different parts of a city and you can send a packet from one side of the city, it is received by one radio, then to another house through WiFi and broadcasted over another radio to the other side of the city. All of this is automatic and pretty dynamic. There's an encrypted messenger that already works, I'm adding communication with the mint and we're ready for the apocalypse.
Dimi's avatar
Dimi 1 year ago
Setting up a new subnet, then I’m ready to run a reticulum node. Few days tops, today if I can 🫡
I've been using Cjdns. It provides (cryptoauthenticated) IP6, so nostr, email, matrix, bitcoin, etc are accessible just by running a node. It runs on layer 2 or UDP. Similar projects are yggdrasil and pinecone.
Yes, it's pretty cool too. Problem is overhead for things like LoRa. Reticulum also provides physical layer firmware for LoRa, so you can flash 20$ device and that will provide you a radio link.
LilyGo 2.1. Around €20 including shipping on AliExpress. The problem is antennas, we’ll see about that :)
Dimi's avatar
Dimi 1 year ago
The worlds shittiest DIY prod subnet is up, backups set, fuck it lets roll. image
Dimi's avatar
Dimi 1 year ago
I have it up and running! I only need to put the finishing touches on