> For the complete documentation index, see [llms.txt](https://trex20.gitbook.io/trex20/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trex20.gitbook.io/trex20/game-architecture.md).

# Game Architecture

<figure><img src="/files/xzjLcyc96LmaeLmL3Vzd" alt=""><figcaption></figcaption></figure>

* TX20 - TREX20 native token

User deposits TX20 into the TREX Vault directly on the Bitcoin Network via their wallet. Upon deposit, the TREX system initiates verification and writes it on the Transaction ledger with the confirmation, and then the funds are seamlessly transferred into the User's TREX Vault. These deposited funds become readily available for utilization across the TREX ecosystem, facilitating participation in various games with zero gas fees.

Fees incurred within the ecosystem, such as entry fees for tournaments or wagers between players, are collected in TX20 tokens. Consequently, rewards for tournament victories or successful wagers are also disbursed in TX20 tokens. Additionally, top performers on leaderboards receive rewards in TX20 tokens, promoting competitiveness and engagement. TX20 tokens can further be utilized for purchasing game boosters, enhancing the gaming experience. \
\
Should a user opt to withdraw their funds from the game, they can simply request a withdrawal from their TREX Vault. Following verification, transaction gets written on the Transaction Ledger again and the withdrawn funds are promptly transferred directly to the user's wallet.
