2026-01-04

I built a system that fines me and sends the money to my wife when I skip the gym

#Essay #Blockchain #Gadget

I have reached the age where I exercise for the sake of my health.
I signed up for chocoZAP, never went, cancelled it — and then signed up again. Repeat.
Growing up, I noticed there is no longer anyone playing the role of a schoolteacher.
Back then I had a body trained to move so as not to get told off, but at nearly thirty there is nobody left to nag me, and not much of the will to hold myself to it either.
So I decided to use the engineering skills I have picked up to build a system that punishes me when I slack off.

Losses loom larger than gains

Prospect theory, apparently.
I wanted to test on myself whether losing money is a stronger motivator than gaining it.
I looked around at the penalty services out there, but I seem to be the only person who wants to design and operate their own penalties, so they were all too rigid. I built my own instead.
And while I was at it, I made my wife the recipient.

What I built

To automate "if I don't go to the gym, send money," I put together a small system using the iPhone Shortcuts app and JPYC.
Since it sends a small amount automatically every day, I decided to use the blockchain ecosystem for this one.

Three simple steps.

  1. Use iPhone Shortcuts to record to a database when I connect to the gym WiFi
  2. Check the database daily, and send JPYC if I never connected
  3. Link the receiving address to a credit card (Nudge) and pay with it

The recording side uses the Shortcuts app that ships with iOS: when I get to the gym, it logs it.

A shortcut that records when it connects to the Anytime Fitness WiFi
A shortcut that records when it connects to the Anytime Fitness WiFi

The database can be anything I can write to and read back, but I am using nostr, a decentralized protocol, as one.

hk logger's ProfileA life log. Muting recommendedsnort.social

For payment I use Nudge, a credit card that can settle in JPYC.
Right now it is tied to my own credit line, so I am effectively treating her; if it goes well I am thinking of tying it to my wife's card too.

Nudge|A credit card for fandom and studentsMore freedom, more fun. Your own personal card, safe even for your first credit card. Applying is easy and it arrives quickly.nudge.cards

Broadcasting the fines to the whole world

A daily check of the database evaluates the condition, and if I slacked off the transfer goes out automatically.

A penalty transaction sent on Polygon
A penalty transaction sent on Polygon

The transactions produced by my own laziness are exposed to the entire world on a blockchain.
They are in here somewhere, so have a look if you have time to kill.

https://polygonscan.com/txs

Where things stand

Thanks to all this I have started lifting and my body is getting bigger, but I am also eating more, so I am probably just getting fat.