Tokenizer
Overview
The Xyxyx Tokenizer is the first component included in the xyxyx-web-components
package. It provides a simple and intuitive user interface that simplifies and streamlines the process of contract deployment and token issuance.
The Xyxyx Tokenizer is specifically designed for the 1x1 tokenization model, with the Xyxyxx API underneath.
Features
Supports the integration of 1x1 smart contract deployment & token issuance into any React application, with the Xyxyx API serving as the execution layer behind the scenes
Enables the generation of 1x1 token previews in SVG format
Provides easy error handling and state management for 1x1 contract deployment and token issuance
Intended Use
ERC-721F: You need an already deployed ERC-721F contract. The Xyxyx Tokenizer will be used to streamline the individualized minting of tokens for this contract.
ERC-404: The Xyxyx Tokenizer helps you deploy an ERC-404 smart contract, arbitraging via Tokenizer the token SVG output for the entire token supply.
ERC-721: The process is the same as for ERC-404.
1x1 Props
isDeployAllowed
– Enables or disables contract deployment/token issuance button externallytokenText
– The text content that is stamped in the token SVG outputmetadataText
– The text content that is inserted in the token metadata, stored within its SVG filebackground
– Hexadecimal color for the token output backgroundtextColor
– Hexadecimal color for the token output textfontFamily
– Font-family that is used in the token output textborderRadius
– Border radius that is applied to the token outputlogo
– 1:1 SVG that is displayed on the top left corner of the token outputwatermark
– 1:1 SVG that is displayed in the background of the token output (with 70% opacity)showDeployerAddress
– Option to display wallet addressshowTrademark
– Xyxyx trademark displayed on the token output bottom right corner
ERC-721F Props (Token Mint)
contractAddress
– Existing ERC-721F contract addresstokenId
– Token ID of the token to be mintedmintCost
– Amount required to mint a tokensmartContract
– Token standard (ERC721F
)network
– Blockchain network to mint the tokenwalletPrivateKey
– Deployer private key for authorizing transaction
ERC-404 Props (Smart Contract Deploy)
name
– Token nameticker
– Token tickerdecimals
– Token decimalssupply
– Token total supplysmartContract
– Token standard (ERC404
)network
– Blockchain network to deploy the contractwalletPrivateKey
– Deployer private key for authorizing transaction
ERC-721 Props (Smart Contract Deploy)
name
– Token nameticker
– Token tickersupply
– Token total supplymintPrice
– Token mint pricerestrictToOwner
– Defines if minting is restricted to contract ownersmartContract
– Token standard (ERC721
network
– Blockchain network to deploy the contractwalletPrivateKey
– Deployer private key for authorizing transaction
Usage Example
Below is a basic usage example demonstrating how to integrate the XyxyxTokenizer
component into your React app:
Last updated