-
Notifications
You must be signed in to change notification settings - Fork 25
paystrings article #644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
paystrings article #644
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,83 @@ | ||
| import { serverSideTranslations } from 'next-i18next/serverSideTranslations' | ||
| import SEO from '../../components/SEO' | ||
| import { getIsSsrMobile } from '../../utils/mobile' | ||
| import { network } from '../../utils' | ||
| import { nativeCurrency, explorerName, xahauNetwork } from '../../utils' | ||
| import Link from 'next/link' | ||
| import Image from 'next/image' | ||
| import Breadcrumbs from '../../components/Breadcrumbs' | ||
|
|
||
| export async function getServerSideProps(context) { | ||
| const { locale } = context | ||
| return { | ||
| props: { | ||
| isSsrMobile: getIsSsrMobile(context), | ||
| ...(await serverSideTranslations(locale, ['common'])) | ||
| } | ||
| } | ||
| } | ||
|
|
||
| export default function Paystrings() { | ||
| return ( | ||
| <> | ||
| <SEO | ||
| title={'PayStrings on' + explorerName} | ||
| description="Learn what PayString on XRPL and Xahau is and how to register yours on Bithomp. Send, receive, deposit, and withdraw XRP easily with a simple PayString name." | ||
|
||
| noindex={network !== 'mainnet'} | ||
| image={{ file: '/images/pages/learn/paystrings/cover', width: 1520, height: 855, allNetworks: true }} | ||
| /> | ||
| <div className="max-w-4xl mx-auto px-4"> | ||
| <Breadcrumbs /> | ||
| <article className="prose sm:prose-lg dark:prose-invert max-w-4xl my-10"> | ||
| <h1 className="text-center"> PayStrings on {explorerName}.</h1> | ||
| <div className="flex justify-center"> | ||
| <figure> | ||
| <Image | ||
| src={'/images/pages/learn/paystrings/cover' + (xahauNetwork ? '-xahau' : '') + '.jpg'} | ||
| alt="Paystrings on XRPL and Xahau" | ||
|
||
| width={1520} | ||
| height={855} | ||
| className="max-w-full h-auto object-contain" | ||
| priority | ||
| /> | ||
| <figcaption>PayStrings on {explorerName}</figcaption> | ||
| </figure> | ||
| </div> | ||
| <p> | ||
| If you’ve ever tried sending crypto, you know how confusing wallet addresses can be — long strings of random | ||
| letters and numbers that are easy to mistype. PayString solves this problem by replacing those complex | ||
| addresses with simple, human-readable names. | ||
| </p> | ||
| <h3>What is Paystring and how it works on {explorerName}</h3> | ||
| <p> | ||
| When someone sends {nativeCurrency} or tokens to your PayString, it automatically routes the payment to your | ||
| linked {explorerName} address. This makes transactions faster, safer, and easier to share. Your PayString | ||
| becomes your universal identity on {explorerName} — the name that connects to your wallet. | ||
| </p> | ||
| <p> | ||
| Instead of sending {nativeCurrency} to a long address, you can use something like{' '} | ||
| <strong>{xahauNetwork ? 'bob$xahauexplorer.com' : 'bob$bithomp.com'}</strong> or{' '} | ||
| <strong>{xahauNetwork ? 'kingkong@xahauexplorer.com' : 'kingkong@bithomp.com'}</strong>. | ||
|
||
| </p> | ||
| <h3>Get your PayString on Bithomp</h3> | ||
| <div className="p-4 my-4 border-l-4 rounded bg-white dark:bg-gray-900 border-[#4BA8B6] shadow-sm"> | ||
| <p className="text-gray-800 dark:text-gray-200"> | ||
| <span role="img" aria-label="lamp"> | ||
| 👉 | ||
| </span>{' '} | ||
| <Link href="/username">Here, you can easily register your PayString (Bithomp username)</Link> | ||
| </p> | ||
| </div> | ||
| <p></p>Once registered, your PayString is linked to your {explorerName} address, allowing you to: | ||
| <ul> | ||
| <li>Receive {nativeCurrency} with a name instead of a long wallet address</li> | ||
| <li>Make deposits and withdrawals on exchanges that support PayString</li> | ||
| </ul> | ||
| <p>Make your {explorerName} payments easy and personal.</p> | ||
| </article> | ||
| </div> | ||
| <br /> | ||
| <br /> | ||
| </> | ||
| ) | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -99,7 +99,8 @@ if (network === 'mainnet') { | |
| { loc: 'learn/xrp-xah-taxes', changefreq: 'monthly', priority: '0.9' }, | ||
| { loc: 'learn/issue-a-token', changefreq: 'monthly', priority: '0.9' }, | ||
| { loc: 'learn/guide-for-token-issuers', changefreq: 'monthly', priority: '0.9' }, | ||
| { loc: 'learn/image-services', changefreq: 'monthly', priority: '0.6' } | ||
| { loc: 'learn/image-services', changefreq: 'monthly', priority: '0.6' }, | ||
| { loc: 'learn/paystrings', changefreq: 'monthly', priority: '0.7' } | ||
|
||
| ) | ||
| } | ||
|
|
||
|
|
@@ -142,7 +143,8 @@ function generateSiteMap(posts) { | |
| 'learn/amm', | ||
| 'learn/issue-a-token', | ||
| 'learn/guide-for-token-issuers', | ||
| 'learn/image-services' | ||
| 'learn/image-services', | ||
| 'learn/paystrings' | ||
| ] | ||
| const oldPages = ['explorer/'] | ||
| const pagesWithoutTranslation = [...noTranslatedPages, ...oldPages] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not use explorerName in titles. (it is already there.)
title="PayStrings"