Developers Forum for XinFin XDC Network

Cover image for veXDC is live on Apothem testnet — come try it
Beny
Beny

Posted on

veXDC is live on Apothem testnet — come try it

Design Diagrams

veXDC is a real-yield vote-escrow for XDC Network. You lock tXDC for 1–104 weeks, receive a soulbound veNFT whose weight decays linearly toward unlock, and earn a pro-rata share of participating dApp revenue each week.

There is no emissions token. Yield is whatever dApps actually commit on-chain. Principal sits in an immutable vault; the only two exits are mature withdraw and early exit at a penalty snapshotted at lock time.

App (Apothem): https://ve.xdcai.tech

Whitepaper & Architecture

https://github.com/0xbeny/xdc-staking-revshare-dapp/blob/main/docs/WHITEPAPER.md

Stake Widget

Dashboard Page

How to sign in

You don’t need a wallet installed. On the app, hit Sign in and either:

  • Enter your email — you’ll get a one-time code (OTP). We create an embedded wallet for you, or
  • Connect MetaMask, Rabby, OKX, or WalletConnect (mobile)

If you use email, you still get an XDC address and can lock / claim like everyone else.

Add Apothem if your wallet doesn’t have it

Skip this if you signed in with email — the embedded wallet is already on Apothem.

Easiest: https://chainlist.org/chain/51Add to MetaMask (works with Rabby / OKX too if they’re the active injected wallet).

Or add it manually:

Field Value
Network name XDC Apothem
RPC URL https://rpc.apothem.network
Chain ID 51 (hex 0x33)
Currency symbol TXDC
Block explorer https://testnet.xdcscan.com

MetaMask / Rabby / OKX: Settings → Networks → Add network → Add a network manually → paste the row above → Save. Then switch the wallet to XDC Apothem before opening the app.

Fallback RPC if the first one is slow: https://erpc.apothem.network

tXDC faucet

  • ≤ 1,000 tXDC: public faucet → https://faucet.apothem.network Paste the address from the app (email users: copy it after Sign in).
  • Need more than 1,000 tXDC for load / multi-position tests: DM me here on xdc.dev (or @zeroxbeny on X) with your Apothem address and I’ll send it.

What to test

  • Lock native tXDC (1 week → max 104 weeks)
  • Extend / keep-at-max, claim, auto-compound if you opt in
  • Mature withdraw and emergency exit (24h cooldown)
  • Email OTP login vs wallet login
  • Anything that feels broken, confusing, or missing

Reply in this thread with bugs, tx hashes, and how you signed in (email / MetaMask / Rabby / OKX / mobile).

Integrating a dApp

If you run a protocol and want to commit a share of fees to lockers, pick a mode and follow the guide:

Mode When to use
A — Push You already know the amount to push
B — FeeSplitter Your fee receiver can be a contract (default)
B2 — Pull Dedicated fee Safe + ERC-20 allowance
B3 — Zodiac Dedicated fee Safe + Safe module
C — Attestor Off-chain / cross-chain revenue

Index: https://github.com/0xbeny/xdc-staking-revshare-dapp/tree/main/docs/adapters

DM me if you want help wiring an adapter on Apothem.

This is testnet only. tXDC has no value. Contracts are pre-audit — treat it as a public dry run, not production.

— Beny (@zeroxbeny)

Discussion (0)