XPay
Send USDC or Vesting Tokens to any X (Twitter) handle, even if they don't have a wallet yet.
Live on Mainnet
XPay is live and actively processing payments. Use the XPay App to start sending funds.
How it Works
XPay acts as an escrow vault mapping social identities to on-chain funds.
- Sender: Specify an X handle (e.g., @elonmusk) and an amount. The funds are deposited into the XPay Smart Contract.
- Escrow (90/10): The smart contract holds funds. 90% is kept liquid (available immediately), while 10% is automatically vested for 30 days to align incentives.
- Receiver: The owner of the X handle logs in via Twitter OAuth. The app verifies their identity and generates a cryptographic proof.
- Claim: The receiver provides a destination wallet address. The smart contract verifies the proof and releases the funds.
Supported Assets
| Asset | Description | Type |
|---|---|---|
| USDC | Stablecoin (Base Network) | Liquid |
| agtrUSD | Protocol Token. **90% Liquid, 10% Vested.** | LiquidVesting |
Vesting Mechanics
When sending agtrUSD, the protocol automatically applies a vesting schedule to ensure long-term alignment.
- ⏳Duration: 30 Days linear vesting.
- 🔓Unlock: Funds unlock gradually. Receivers can claim unlocked portions at any time.
- 🛡️Security: Vesting schedules are enforced on-chain by the Smart Contract. Not even the sender can revoke them.
Architecture & Security
The XPay system is built on a Transparent Upgradeable Proxy pattern, ensuring the protocol can evolve while maintaining a permanent contract address.
Incentives & Rewards
🎁 Receiver Bonus
Every claim triggers a Random AGTR Bonus for the receiver. The protocol uses on-chain randomness to determine a lucky tip added to the withdrawal.
📢 Sender Bonus
Senders who publish their payment on X (Twitter) are eligible for a Random AGTR Rebate. The backend validates the post and airdrops the reward.
Note: XPay utilizes a relayer to subsidize gas fees for the "Claim" transaction, making the experience completely free for newcomers onboarding to Base.
