Boilerplate
Last updated
Last updated
The Xyxyx Tokenization Boilerplate (XTB) is a text-based tokenization boilerplate designed to run on the Xyxyx API.
XTB is a script that streamlines the process of minting a text-based token arbitraged by a #
system via the and a #
system's contract incorporated for the task — where #
can be any existing system.
The script that embodies XTB is structured into three modules:
Data Source Module: The Data Source Module is the module that generates the source text data to become tokenized. The module can be composed by any existing system. The Data Source Module generates text data and sends it as a request to the Central Module (see item 2) to be tokenized by the Tokenization Module (see item 3).
Central Module: The Central Module is the module that receives text data inputs from the Data Source Module and sends it to become tokenized by an on-chain module called the Tokenization Module (see item 3). Fundamentally, the Central Module is incorporated by the Xyxyx API, which processes and forwards the text data received from the Data Source Module in a fully structured manner to become tokenized in the next step of the tokenization process.
Tokenization Module: The Tokenization Module is the module that transforms text data generated from the Data Source Module and parsed by the Central Module into text-based tokens. The Tokenization Module is embodied by an ERC-721F smart contract deployed for this task. Such ERC-721F contract issues the text-based tokens that reflect the source text data requested by the Data Source Module, based on instructions and arguments parsed by the Xyxyx API.
XTB is conceived as an Xyxyx API POC.
We built a simple implementation of the XTB that employs an automated X account as the Data Source Module for embodying the POC. In turn, the X account generates the source text data (i.e., posts) as requests, communicating with the Xyxyx API via the X API.
In short, every post made by the automated X account results, via Xyxyx API, in a request for issuance of a reflective text-based token by an ERC-721F smart contract deployed for the POC. The tokenization process is fully automatized, requiring no human management.
POC Execution
The POC spanned for 10 days, running from February 19th to March 1st, 2025, on Arbitrum One.
During the 10-day execution period, the automated X account posted ten times per day, resulting in the issuance of 100 text-based tokens by the ERC-721F contract upon the conclusion of the POC.
The posts from the automated X account consisted on a timestamp of the current date and time.
Example
2/16/2025, 11:38:48 PM (UTC)
The automated X account used in the POC can be found (@xtb_poc).
See xtb_poc on Xyxyx Explorer .