Xyxyx
  • Overview
  • Introduction
  • Technology
  • Xyxyx Text-Based Tokenization Architecture (XTBTA)
    • Data Architecture
  • Text-Based Tokens (TBTs)
  • Tokenization Models
    • 1x1
      • Specifications
    • A4
      • Specifications
  • Token Standards
    • ERC-721F
      • Parameters
    • ERC-404
      • Parameters
    • ERC-721
      • Parameters
  • Products & Services
    • API
      • Boilerplate
    • Launchpad
      • Using Launchpad
        • Usage Policies
      • Xy
      • Changelog
    • Tokenizer
  • Explorer
  • Protocol
    • XYXYX
      • Architecture
        • XYHASH
      • Tokenomics
      • Xyxyx Issuer Nodes (XINs)
    • Governance
      • Xyxyx Improvement Proposals (XIPs)
      • Treasury Management Proposals (TMPs)
      • Resubmit a proposal
    • Treasury
  • Miscellaneous
    • Ecosystem
    • Addresses
    • Links
    • Brand Assets
Powered by GitBook
On this page
  • Overview
  • Key Features
  • Data Structure
  • Advantages
  • Summary
  1. Xyxyx Text-Based Tokenization Architecture (XTBTA)

Data Architecture

PreviousXyxyx Text-Based Tokenization Architecture (XTBTA)NextText-Based Tokens (TBTs)

Last updated 7 hours ago

Overview

The incorporates a fully on-chain framework for the generation and lifecycle management of.

Instead of relying on IPFS or centralized servers for metadata storage and retrieval, XTBTA stores all relevant information — including the token’s visual representation — entirely within the Ethereum blockchain.

TBTs are visually rendered using SVG (Scalable Vector Graphics), encoded in Base64, and embedded in the smart contract’s metadata delivery. This ensures each token is fully self-contained, tamper-proof, and persistently accessible.


Key Features

Base64-Encoded SVG Outputs

TBTs utilize SVG to represent token visuals in a scalable, resolution-independent manner. These SVG documents are programmatically generated and encoded in Base64. The resulting data is embedded directly into the token’s metadata URI using the data:image/svg+xml;base64 scheme, ensuring that visual rendering does not rely on external resources.


On-Chain Data Delivery

Each TBT implements the tokenURI() function as defined by the ERC-721 standard. However, unlike conventional implementations that return a pointer to external JSON metadata, TBTs contracts return a fully self-contained, Base64-encoded metadata object. This object includes the encoded SVG visual and any relevant descriptive fields — delivered entirely from within the smart contract; without the need for off-chain servers.

As a result, XTBTA ensures that front-ends, indexers, and explorers can interpret and render the token without accessing any external infrastructure.


Data Structure

XTBTA structures text-based tokens data into three SVG elements:

  • <metadata> - Hardcoded 'Built on Xyxyx' as default

  • <desc> - Inserts text content within the SVG file. See

  • <text> - Inserts text content within the SVG output. See

Example

<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"><metadata>Built on Xyxyx<desc>Hello world</desc></metadata><rect width="100%" height="300px" fill="#FFFFFF" border-radius="8px" ry="8px" rx="8px" /><text x="10" y="20" font-size="12px" fill="#000000"><tspan x="10" dy="0" font-family="Arial" font-size="10px">2/19/2025, 2:00:02 AM UTC</tspan></text><g transform="translate(242.000000,290.000000) scale(0.0027,-0.0027)" fill="#000000" stroke="none"></g></svg>
  • <metadata> = Built on Xyxyx

  • <desc> = Hello world

  • <text> = 2/19/2025, 2:00:02 AM UTC


Advantages

Immutability

All metadata, visuals, and descriptive content related to TBTs are embedded in Ethereum’s state at the time of contract deployment or token minting. This guarantees the permanence and non-repudiation of each token’s identity and attributes.


Reliability

By eliminating external storage endpoints, XTBTA avoids common points of failure such as broken links, misconfigured servers, or expired hosting plans. The on-chain-only model substantially reduces operational risk.


Transparency

TBTs are fully observable on-chain. Developers and end users can inspect all token attributes, metadata, and rendering logic directly via smart contract interfaces — enabling frictionless auditing and trustless attesting.


Censorship Resistance

TBTs access and visibility cannot be obstructed by third-party services or centralized infrastructure providers.


Data Longevity

As long as the Ethereum network persists, all TBTs data remains accessible and verifiable, ensuring digital persistence without reliance on third-party hosting or re-indexing services.


Summary

The Xyxyx Text-Based Tokenization Architecture (XTBTA) proposes a fully on-chain framework for the creation and management of Text-Based Tokens (TBTs), eliminating reliance on external metadata storage solutions such as IPFS.

XTBTA ensures that each TBT is immutable, censorship-resistant, and perpetually accessible from Ethereum itself. The result is a fully self-contained, verifiable token model engineered for transparency, resilience, and persistence.

Xyxyx Text-Based Tokenization Architecture (XTBTA)
Text-Based Tokens (TBTs)
Metadata Text
Token Text