> For the complete documentation index, see [llms.txt](https://docs.xyxyx.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xyxyx.pro/xyxyx-text-based-tokenization-architecture-xtbta.md).

# Xyxyx Text-Based Tokenization Architecture (XTBTA)

### Overview

The Xyxyx Text-Based Tokenization Architecture (XTBTA) is a software architecture designed for text-based tokenization.&#x20;

XTBTA serves as the underlying architecture of both the [Xyxyx API ](/products-and-services/api.md)and the [Xyxyx Launchpad](/products-and-services/launchpad.md).

***

### Functionality

**Text Processing**

XTBTA normalizes and encodes input text for EVM compatibility.

***

**SVG Generation**

XTBTA dynamically constructs an SVG document with elements, calculates bounding boxes, and embeds fonts if needed.

***

**Gas Optimization**

XTBTA minifies SVG, applies path simplifications, and explores compressed storage (Base64, gzip) for efficient on-chain persistence.

***

**On-Chain Data Storage**

XTBTA stores the final SVG string inside a Solidity smart contract, eliminating reliance on off-chain dependency (e.g., IPFS, Arweave) for data storage.

***

**Rendering & Retrieval**

Through XTBTA, token data is always retrievable from the EVM itself, being exposed via smart contract methods (`tokenURI`) and directly renderable via `data:image/svg+xml`.
