ElectroTip
Tagline: "Tip anyone instantly with ETN, no middleman, just a link."
Inspiration
I was inspired by the struggles of creators in developing countries—myself included—who face high fees (like 20% on Buy Me a Coffee or Patreon) and barriers like bank account setups or verification paperwork just to receive online tips. Blockchain promised a solution, but many platforms were still slow or costly. Electroneum’s fast, low-cost blockchain caught my eye—why not make tipping as easy as sharing a URL? That’s how ElectroTip was born: a tool to empower anyone, from GitHub coders to OnlyFans creators, to earn directly and instantly.
What it does
ElectroTip is a decentralized tipping platform on Electroneum Testnet. Creators share a URL like https://yourdomain.com/?wallet_id=0xCreatorWallet&user_id=User123, and supporters can send ETN tips directly to their wallet via a simple web interface. No registration, no intermediaries taking cuts—just pure, instant tipping. It features a balance checker to avoid failed transactions and a link generator page so creators can craft URLs effortlessly. Optional server-side callbacks let creators track who tipped them, all secured by Electroneum’s blockchain.
How we built it
I built ElectroTip solo using:
- Smart Contract: Wrote
ElectroTipV4.solin Solidity (v0.8.19), deployed it on Electroneum Testnet via Remix with MetaMask. It handles direct tip transfers. - Front-end: Created
index.htmlwith JavaScript and ethers.js (v5.7.2) to connect MetaMask, send tips. Addedcreator-setup.htmlfor automatic URL creation. - Server (optional): Built
server.jswith Node.js and ethers.js to verify tips via Electroneum RPC. - Hosting: Pushed everything to a public GitHub repo and hosted on GitHub Pages.
Electroneum’s EVM compatibility made integration smooth, and ANKR’s RPC kept it fast.
Challenges we ran into
- RPC Issues: Electroneum Testnet RPC from ANKR was sometimes unstable, causing “Internal JSON-RPC error” until I ensured a fresh endpoint.
- Balance Errors: Users with low ETN couldn’t tip, so I added a balance checker with a faucet link.
- Time Crunch: With hours ticking down, I struggled to verify the contract on the block explorer (unclear if supported) and rushed the link generator—simple but effective.
Accomplishments that we're proud of
- No Middleman: Built a platform that cuts out 20% fees from sites like Ko-fi, delivering 100% of tips (minus tiny gas) to creators.
- Link Generator: Added a user-friendly tool to auto-generate tipping URLs, making it dead simple for creators.
- Fast Demo: Got a working prototype up in a day, leveraging Electroneum’s 5-second finality for instant tips.
- Accessibility: Designed for global use—no bank or paperwork barriers, a win for developing countries.
What we learned
- Electroneum’s Power: Its 5-second finality and low fees are perfect for micro-transactions.
- Blockchain UX: Balance checks are critical—users need clear feedback to avoid errors.
- Rapid Prototyping: Tools like Remix and GitHub Pages make hackathon builds lightning-fast.
- Resilience: Swapping CDNs and debugging RPCs taught me to adapt under pressure.
What's next for ElectroTip
- Custom UI: Let creators personalize their tipping pages.
- Multi-chain: Expand beyond Electroneum to other EVM chains.
- Mobile App: Build a standalone app for easier access.
- Analytics: Add a dashboard for creators to track tips and supporters.
- Build whole platform to compete with Buy Me A Coffee, OnlyFan payment: Build a whole platform for users to manage payments, subscriptions with low-cost (1-2% fee), simple without any complex legal process.
ElectroTip could become the go-to tipping tool for the blockchain era!
Built With
- electroneum
- express.js
- html
- javascript
Log in or sign up for Devpost to join the conversation.