# 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 ](https://docs.xyxyx.pro/products-and-services/api)and the [Xyxyx Launchpad](https://docs.xyxyx.pro/products-and-services/launchpad).

***

### 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`.
