Add a like/heart button to payments
Description
I think its no hidden fact that like/heart buttons are a great driver of user interaction and I think would be a pretty seamless addition.
My thoughts is that when you connect your wallet, you see an outlined ❤️ and can click it to add to a count. Any user can click to see a list of all wallets that have interacted with this post.
Quick Mockup
wdyt @strath-m ?
Love it @wraeth-eth — as you said it incentivises further interaction with the platform and creates a familiar feel / mental model of similar social environments in the digital world. It will also drive motivation for contributors to add interesting/funny comments and images with their payments. If it's fairly easy to implement from your end I think it's a great idea.
Love. This idea has been floated many times. I think @peripheralist has done some previous thinking about implementation.
Would likes be on-chain? 🤔
Idea (which i think is originally Jango's): do it via payment memos
- Have a special "like" payment memo that includes a transaction ID.
:thumbsup:_txid-0xabc - When someone clicks "like", they have to pay.
- UI renders "like" count based on payments that have the "like" payment memo
I’m not sure we want people to pay to like, would likely cause friction to usage
Yeah I agree with @wraeth-eth about the friction part. Could add more emphasis to the 'like' but I think overall objective would be better to reduce friction. I'm sure there's a way to do it connected to your wallet address without paying gas or anything (similar to Opensea etc favourite/like function).
OpenSea have a database ;)
We could do that...but less cool.
Totally valid point though re: friction. A simple "like" would probably go a long way, even if we need a central DB.
Any initial thoughts on implementation @wraeth-eth ?
Yeah totally - I reckon db with the connected wallet address. Could cache the users ETH address on lookup too but not a necessity
full send
we'd prolly need a db for this. don't think we could use the IPFS cache pattern, since it isn't gonna be reliable with two different updates happening at the same time (i.e. multiple wallets hearting simultaneously)
honestly i'd be down to implement a db for non-critical data like this
idk how i feel about likes here tbh. i think i'd prioritize making them shareable first, ie "look vitalik donated to moondao LINK". just my 2 cents.