VeBetter: Build X2Earn Apps
Integration (JavaScript)
Use the VeBetter JavaScript SDK to securely send B3TR rewards with verifiable proofs and metadata from your backend or smart contract.
JavaScript Version: Distribute B3TR
JavaScript (Backend) is ideal for mobile or web apps with centralized components. It allows you to verify proofs server-side, such as checking timestamps, validating GPS locations, or scoring input data, before triggering onchain distribution.
Your .env
file should contain:
You can check the transaction onchain via: https://explore-testnet.vechain.org/
Join our Telegram