If you want to create an x2earn app it needs to have the following features:
- Be able to distribute B3TR tokens on the VeChain blockchain
- Be able to submit a proof (in JSON format) of the sustainable action the user was rewarded for
Bonus:
- Allow the user to connect with their wallet to your app
This guide provides instructions for setting up a project within the VeBetter ecosystem. Your app will participate in weekly allocation rounds, receive B3TR tokens at the beginning of each round, and distribute these
Architecture overview of components that could be involved in creating a x2earn app
Use our Test Environment to create a test app running in the VeBetter ecosystem.
{% content-ref url="test-environment.md" %} test-environment.md {% endcontent-ref %}
Get some B3TR tokens on testnet, add a reward distributor then connect a smart contract or a backend and distribute rewards to your users.
{% content-ref url="testnet-b3tr-tokens.md" %} testnet-b3tr-tokens.md {% endcontent-ref %}
{% content-ref url="reward-distribution/" %} reward-distribution {% endcontent-ref %}
Every time you reward a user you also need to specify the reason, the proof of the user's action and the sustainability impact it had.
{% content-ref url="sustainability-proof-and-impacts.md" %} sustainability-proof-and-impacts.md {% endcontent-ref %}
Have doubts? Check our additional resources specifically picked for you to speed up your development.
{% content-ref url="resources.md" %} resources.md {% endcontent-ref %}
When your app is ready submit it to VeBetter and join the movement!
{% content-ref url="submit-your-app.md" %} submit-your-app.md {% endcontent-ref %}
{% content-ref url="rulebook-for-apps.md" %} rulebook-for-apps.md {% endcontent-ref %}
{% hint style="danger" %} Before going live be sure to go through our Security Considerations along the RuleBook. Make sure to apply security measures to your app, avoiding hacks and farmers. {% endhint %}
{% content-ref url="security-considerations.md" %} security-considerations.md {% endcontent-ref %}
