Developers Forum for XinFin XDC Network

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

Posted on • Updated 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/51 → Add 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

How it works (simple)

You lock XDC for a time. Longer lock = stronger claim on that week’s dApp fees.

Think of it like a tip jar that dApps fill. Every week the jar is split among lockers. People who locked more and longer get a bigger slice.

Example 1 — same money, different lock

Three people each put in 1,000,000 XDC. This week the tip jar has $100,000.

Person Lock length Rough share of the jar They get
Alice 1 week tiny (~0.6%) ~$640
Bob 1 year about 1/3 ~$33,000
Carol 2 years (max) about 2/3 ~$66,000

Same deposit. Carol earns more because she locked longer.

Example 2 — you join a big crowd

Lots of people are already locked. You add 100,000 XDC. This week the jar is $1,000,000.

Your lock About what you get
1 week ~$10
1 year ~$500
2 years (max) ~$1,000

Longer lock helps, but if many others are locked too, your slice stays small.

Example 3 — where the money comes from

  1. A dApp (like a DEX) sends some fees into veXDC.
  2. Those fees go into this week’s pot.
  3. After the week, lockers can claim their share.

Important: there is no “print money” token.

If dApps put $0 in the pot that week, everyone earns $0 — even max lockers.

On Apothem you can try a fake fee run from the app (Admin → Simulate revenue), then claim from your position.

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

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 (4)

Collapse
javiergonzalezaraujo profile image
Javier Gonzalez Araujo •

Hi! We have a university demo today for a syndicated-loan dApp
on XDC Apothem (chain ID 51).

The faucet returns “under min gas price”, and the other faucets
we tried have not worked. Could someone send us 1,000 TXDC
or help us find a working faucet?

Address: 0xC494C3dbE10987c22759a8490338737A2bFF081c

Thank you!

Collapse
sean_ profile image
Sean • • Edited on

Hello Javier,

Somehow missed this request for tXDC. I just sent 1000 tXDC to this wallet.

The faucet was down but it's up and running now if you need to request more.

faucet.apothem.network

Collapse
javiergonzalezaraujo profile image
Javier Gonzalez Araujo •

Thank you so much! I’ve confirmed the 1,000 tXDC arrived. This really helps me get my project demo back on track. Really appreciate your help!

Thread Thread
sean_ profile image
Sean •

You're Welcome!