pull down to refresh

Hey all!
Tweets for Sats is a cool little side project I've been building for a couple months. I don't remember where I first heard it, but Lightning could be used as skin in the game to help reduce spam and trolling. I wanted to see if I could apply to concept to Twitter.
You login to the site via LNURL and you can immediately begin tweeting! When you hit the "tweet" button, it grabs an invoice for 100 sats from my personal node. Once the invoice is paid, you can make a tweet! If the tweet is determined to be spam, you lose the deposit and the tweet is removed. After 48 hours, you can reclaim your sats via LNURL Withdrawal.
This project is very bare bones and unpolished. The site is all function, no aesthetic. Certain processes may take a while since it is connecting to my personal node over Tor. Also the site is not very pretty. Basically just a plain text html page with very little css or javascript. I plan to remedy all of this over time. Think of this as a prototype or MVP.
If there are any issues or feedback, just comment on my profile or email me at the address below.
Let me know what you think!
Interesting. Might look deeper into it, when I have time :D
reply
Great little experiment and proof of concept.
reply
super interesting. Will definitely be watching and playing around with it.
reply
This seems like a good experiment on the face of it, I'll be following curiously and may place a few tweets myself.
reply
I had an idea for a feature. You could auction a pinned tweet for a set period of time. For example, every 24 hours you could run an auction, whoever bids the most gets their tweet pinned for the next 24 hours.
reply
Cool idea! I've been trying to think of ways to monetize the site so that I break even on the hosting costs. I'll definitely add this to the list.
reply
Killing the site temporarily to fix a pretty bad bug I found. Will reply to this comment when its fixed.
reply
Okay, sites back up. I believe I fixed the bug.
reply
So for the curious, the site checks to see if each tweet you've made is over 2 days old. If it is, it moves that tweets sats from the pending balance over to available. The bug was that I wasn't marking the tweets I've already accounted for. So it would move the sats from pending over to available over and over again each time you refreshed. So I added a "sats pending" field to the tweet object. The loop checks if "sats pending" is true. If it is, then it moves the balance over then marks it false. This stops the balance from being moved over again and again, draining my node of sats.
reply