Inspiration

The creator economy is a multi-billion dollar industry, yet a fundamental piece of it is broken: micropayments. When a fan wants to support a creator with a small tip, traditional payment systems make it impractical. High fixed fees and percentage cuts can consume over 30% of a $1 tip, discouraging the kind of casual, widespread support that many creators rely on.

We were inspired by the core promise of blockchain to solve this. What if we could build a system where sending a dollar costs less than a penny and arrives in seconds, not days? This question led us to the XRP Ledger (XRPL) and the creation of Micro-T.

What it does

Micro-T is a non-custodial web platform that empowers content creators to receive instant, low-fee tips directly from their audience.

Our solution provides two simple user flows:

  1. For Creators: A one-click onboarding experience. A creator provides a username and our platform programmatically generates a new, secure wallet on the XRP Ledger. The creator is given full control of their keys and a unique, shareable tipping page.
  2. For Tippers: A frictionless payment experience. A tipper visits the creator's public page, enters a tip amount, and scans a single QR code with their mobile wallet (like Xaman). The payment is sent directly, peer-to-peer, using RLUSD, a stablecoin pegged 1:1 with the US dollar.

This MVP demonstrates a complete, end-to-end financial transaction that is faster, cheaper, and more transparent than any traditional alternative.

How we built it

Micro-T is a full-stack application built with the XRP Ledger at its core.

  • Tech Stack:

    • Backend: Node.js with Express.js
    • Frontend: React.js
    • XRPL Interaction: The official xrpl.js library for all blockchain operations.
  • Key XRPL Features Implemented:

    • Account Generation: The backend uses xrpl.js to programmatically generate and fund a new wallet on the Testnet.
    • Issued Currencies (RLUSD): We use RLUSD for its stability. The application correctly generates payment requests for this specific token by using its hexadecimal currency code.
    • Trust Lines: We implemented the full user flow for setting a TrustSet transaction, a critical step for enabling an account to receive tokens.
    • JSON Payloads for QR Codes: We generate robust, JSON-based QR code payloads for all wallet interactions, ensuring reliable signing for both complex transactions (TrustSet) and payments (Payment).

Challenges we ran into

Building on the blockchain comes with a unique set of challenges that go beyond traditional web development.

  • The Trust Line Lifecycle: Our biggest challenge was understanding and correctly implementing the Trust Line flow. A payment would fail with the error "recipient does not have a TrustLine," which forced us to build a UI flow to guide the creator to sign a TrustSet transaction for their own new wallet before they could receive tips.

  • QR Code Payload Formats: We discovered that getting a mobile wallet to correctly interpret a QR code is incredibly nuanced. A simple payment URI (xrpl-payment://) failed, while a more explicit JSON payload ({ "tx": ... }) worked. Furthermore, we learned that the payload format for Testnet can differ from the documented API formats for Mainnet, requiring deep, hands-on debugging to find the correct structure.

  • Outdated Documentation & Tooling: The XRPL ecosystem is evolving rapidly. We ran into multiple dead ends trying to use third-party tools and documentation that were outdated, which forced us to build the necessary functionality directly into our own application.

Accomplishments that we're proud of

Despite the challenges, we're incredibly proud of what we've built in such a short time.

  • A Complete, Working dApp: We didn't just build a frontend or a smart contract; we built a full-stack, end-to-end application that successfully executes a real-world financial transaction on a live blockchain.
  • Solving the "Hard Problems": We didn't shy away from the complexities. We successfully tackled the Trust Line problem and the intricacies of QR code generation, which are fundamental hurdles in XRPL development.
  • Debugging a Black Box: When a QR code failed in the mobile wallet, there were no error logs. We learned to diagnose these issues through methodical, iterative testing—changing one variable at a time until we isolated the root cause. This was a huge accomplishment in debugging.
  • A Polished User Experience: We created a clean, intuitive interface that guides users through potentially confusing blockchain concepts, making the technology more accessible.

What we learned

This hackathon was a deep dive into the practical realities of blockchain development.

  • The Trust Line is Everything: We learned that you can't just send tokens on the XRPL. The recipient must establish a Trust Line first. Designing a user flow around this rule is critical.
  • Explicit is Better than Implicit: When interacting with a wallet, a generic payment link is less reliable than a full JSON payload that explicitly defines the transaction you want signed. This was our key to solving the QR code issues.
  • Test, Test, and Test Again: You cannot assume a feature works until you have completed the end-to-end test with a real wallet. Every step of our testing process, from creating a wallet to sending the final tip, uncovered a critical bug that we were able to fix.

What's next for Micro-T

This MVP is a solid foundation, and we're excited about the future possibilities.

  • Mainnet Launch: The next logical step is to deploy the platform on the XRPL Mainnet, allowing creators to receive real value.
  • DID Integration: We plan to integrate Decentralized Identity (DID) to allow creators to verify their social accounts (like Twitter or GitHub) and link them to their XRPL address, building more trust with their audience.
  • Creator Dashboard: A dashboard for creators to view their tipping history, total earnings, and see analytics about their supporters.
  • More Tipping Options: Expanding beyond a single page to include embeddable buttons, browser extensions for tipping on sites like YouTube or Twitch, and a "tip per article" feature for bloggers.

Built With

Share this project:

Updates