For the complete documentation index, see llms.txt. This page is also available as Markdown.

Testnet B3TR tokens

There are two ways to obtain B3TR on testnet for development: a public faucet (fastest) or allocation rounds (closer to the real production flow).

B3TR Testnet Faucet

The fastest way to get a small amount of B3TR for development and testing.

Connect your wallet (VeWorld or WalletConnect), click Claim B3TR, and the faucet contract transfers a fixed amount of B3TR to your address. Each address can claim up to a configurable daily limit.

The faucet is meant for development. For larger amounts (e.g. funding a reward distributor for an x2Earn app), use allocation rounds — see below.

Programmatic claim

The faucet is a regular contract; you can call it from any script:

interface IB3TRFaucet {
  function claimTokens() external;
  function canClaim(address user) external view returns (bool);
  function remainingClaimsForToday(address user) external view returns (uint256);
}

Running out / contributing

If the faucet is empty, anyone with B3TR can call fundFaucet(amount) (after approving) to top it up. PRs to the repo are welcome — see vechain/b3tr-testnet-faucet.

Allocation rounds

If you need to distribute rewards from your x2Earn app, you should get B3TR from allocation rounds — that's the same flow your app will use in production.

You can start a new allocation round (in production those are started automatically each Monday and last a week, in testnet you need to manually trigger them, and they last 10 minutes), wait 10 minutes, then distribute the rewards to your app (done automatically in production, but you need to manually trigger on testnet).

You can access those functionalities from the "Admin" tab.

Last updated

Was this helpful?