import React, { useRef, useState } from "react";
import { useThemeHooks } from '@redocly/theme/core/hooks';
import { NavList } from "shared/components/nav-list";
import { Link } from "@redocly/theme/components/Link/Link";
export const frontmatter = {
seo: {
title: "Tokenization",
description:
"Explore the possibilities of tokenization on the XRP Ledger, revolutionizing ownership, transactions, and value exchange with unparalleled efficiency and security.",
},
};
const useCases = [
{
description: "Stablecoin Issuer",
link: "/docs/use-cases/tokenization/stablecoin-issuer/",
},
{
description: "NFT Marketplace",
link: "/docs/use-cases/tokenization/nftoken-marketplace/",
},
{
description: "Authorized Minter",
link: "/docs/use-cases/tokenization/authorized-minter/",
},
{
description: "Digital Artist",
link: "/docs/use-cases/tokenization/digital-artist/",
},
];
const SecurityAdvantageCard = (securityAdvantageContents) => {
const { useTranslate } = useThemeHooks();
const { translate } = useTranslate();
return securityAdvantageContents.map((content) => (
{translate(content.subtitle)}:
{translate(content.description)}
))
}
const securityAdvantages = [
{
id: "trustlines",
title: "Trust Lines & Authorized Trust Lines",
contents: [
{
href: "/docs/concepts/tokens/fungible-tokens/",
subtitle: "Trust Lines",
description: "No spamming of wallets without permission.",
},
{
href: "/docs/concepts/tokens/fungible-tokens/authorized-trust-lines/",
subtitle: "Authorized Trustlines",
description: "Control who can hold your tokens with allowlisting.",
},
],
},
{
id: "freeze-clawbacks",
title: "Freeze & Clawbacks",
contents: [
{
href: "/docs/concepts/tokens/fungible-tokens/",
subtitle: "Freeze",
description: "If you see signs of suspicious activity, you can suspend trading of your token while investigating the issue.",
},
{
href: "/docs/concepts/tokens/fungible-tokens/clawing-back-tokens/",
subtitle: "Clawback",
description: "Recover tokens distributed to accounts in error: for example, reclaim funds sent to an account sanctioned for illegal activity.",
},
],
},
{
id: "ntf-tokens",
title: "Non-transferable Tokens",
contents: [
{
href: "/docs/concepts/tokens/nfts/non-transferable-tokens/",
subtitle: "Transferable flag",
description: "Native support for nontransferable items such as identity tokens, airline credits, and consumer rewards, honored by all on-chain participants.",
},
],
},
{
id: "royalties",
title: "Royalties",
contents: [
{
href: "/docs/references/protocol/data-types/nftoken/#transferfee",
subtitle: "NFT Transfer Fees",
description: "Reliably collect your percentage of the sale price of your tokens.",
},
],
},
];
const stats = [
{
id: "nfts-minted",
stat: "20K",
description: "NFTs minted",
},
{
id: "nft-trading-vol",
stat: "~1000",
description: "NFT trading volume",
},
{
id: "network-speed",
stat: "4",
description: "Seconds to confirmation",
},
{
id: "fee-per-tx",
stat: "$0.001",
description: "Avg fee per NFT tx",
},
];
const projects = [
{
id: "xrpcafe",
label: "XRP cafe",
url: "https://xrp.cafe",
},
{
id: "onXRP",
label: "onXRP",
url: "https://nft.onxrp.com",
},
{
id: "xaman",
label: "Xaman labs",
url: "https://xumm.app",
},
{
id: "amy",
label: "amy.network",
url: "https://token.amy.network",
},
{
id: "sologenic",
label: "Sologenic",
url: "https://sologenic.org/trade",
},
{
id: "carbonland",
label: "Carbonland trust",
url: "https://www.carbonlandtrust.com",
},
{
id: "nautilus",
label: "Nautilus wallet",
url: "https://github.com/nautls/nautilus-wallet",
},
{
id: "evernode",
label: "Evernode",
url: "https://evernode.org",
},
{
id: "raised-in-space",
label: "Raised in space",
url: "https://raisedinspace.com",
},
];
const articles = [
{
time: "NOV 2023",
title: "NFTs and the XRPL: A Marriage of Art and Technology",
url: "https://medium.com/@MariaSolorzano/title-nfts-and-the-xrpl-a-marriage-of-art-and-technology-cf76a0432693",
},
// TODO: Add more articles that aren't focused on price speculation
];
const FeaturedProjects = () => {
const [currentIndex, setCurrentIndex] = useState(0);
const handlePrev = () => {
if (currentIndex > 0) {
setCurrentIndex(currentIndex - 1);
}
};
const handleNext = () => {
if (currentIndex < projects.length - 3) {
setCurrentIndex(currentIndex + 1);
}
};
const ProjectCard = ({ project, index }) => (
{project.label}
);
return (
0 ? "hover-color" : ""
}`}
onClick={handlePrev}
>
);
};
export default function Tokenization() {
const modalRef = useRef(null);
const { useTranslate } = useThemeHooks();
const { translate } = useTranslate();
return (
{translate(
"Work with a variety of tokens supported by the XRP Ledger."
)}
{translate("Tokenization")}
{translate(
"Explore the possibilities of tokenization on the XRP Ledger, revolutionizing ownership, transactions, and value exchange with unparalleled efficiency and security."
)}
{translate(
"Check out the security features you can tap into right from the chain without the hassle of piecing together smart contracts."
)}
{translate("Security advantages")}
{securityAdvantages.map((advantage) => (
{translate(advantage.title)}
{SecurityAdvantageCard(advantage.contents)}
))}
{translate("Stats")}
{stats.map((statElement) => (
{statElement.stat}
{translate(statElement.description)}
))}
{translate("Featured real world projects")}
{translate("Related Articles")}
{articles.map((article, index) => (
))}
{translate("More related articles")}
{translate("November 2023")}
);
}