Hi stackers! ⚡️
I wanted to bring the excitement of Japanese "Gashapon" (capsule toy vending machines) to the Bitcoin ecosystem, so I built this web app: **Bitcoin Ordinals Gashapon**.
🌐 Play here: https://ck121212195.github.io/Gacha/
What is it?
In Japan, Gashapon machines are everywhere. You put in a coin, twist the handle, and get a random toy in a capsule. The thrill of not knowing what you'll get is super fun.
I recreated this experience using Bitcoin Ordinals and the Lightning Network!
### ✨ How it works
1. **Choose a collection:** Pick popular ones like NodeMonkes, Bitcoin Puppets, or type in a custom slug from Gamma.io.
2. **Twist the handle:** I made the **first 5 spins completely FREE** so anyone can test the UI and animations!
3. **Pay-What-You-Want:** After 5 free spins, a slider appears. You can set any amount between 300 and 10,000 sats, pay the LN invoice (powered by LNbits), and spin again.
4. **Pop the capsule:** A real, random on-chain digital artifact from that collection pops out! You can instantly verify the inscription on ordinals.com.
### 🛠 Tech Stack
* Frontend: Vanilla JS, Tailwind CSS, Canvas Confetti
* Payments: LNbits API
* Data: Ordinals Wallet API / Ordinals.com
I would love for you to try out the 5 free spins and let me know what you think of the animations and the UI/UX! Feedback is highly appreciated. 🙏
🔗 GitHub Repo: https://github.com/CK121212195/Gacha
Added a button to share images on Twitter.
Please give it a try.
Wow, that's cool!
We've enhanced the functionality to add specified ordinals collections from [custom slug]. Please give it a try!
Thanks for checking it out and for the support! Glad you like the vibe. More features and experiments coming soon! ⚡