diff --git a/components/Layout/Footer.js b/components/Layout/Footer.js index 7b6de477f..f680de54b 100644 --- a/components/Layout/Footer.js +++ b/components/Layout/Footer.js @@ -77,6 +77,7 @@ export default function Footer() { {!xahauNetwork && XRP, XRPL, Ripple} Blackholed address Blacklisted address + Verified domains {!xahauNetwork && ( diff --git a/pages/sitemap.xml.js b/pages/sitemap.xml.js index 917594b93..7e132e78c 100644 --- a/pages/sitemap.xml.js +++ b/pages/sitemap.xml.js @@ -61,6 +61,7 @@ if (network === 'mainnet') { pages.push({ loc: 'xrp-xah-taxes', changefreq: 'monthly', priority: '0.9' }) pages.push({ loc: 'blacklisted-address', changefreq: 'monthly', priority: '0.5' }) pages.push({ loc: 'blackholed-address', changefreq: 'monthly', priority: '0.5' }) + pages.push({ loc: 'verified-domains', changefreq: 'monthly', priority: '0.5' }) pages.push({ loc: 'jobs', changefreq: 'monthly', priority: '0.5' }) } diff --git a/pages/verified-domains.js b/pages/verified-domains.js new file mode 100644 index 000000000..e3e1ca51f --- /dev/null +++ b/pages/verified-domains.js @@ -0,0 +1,187 @@ +import { serverSideTranslations } from 'next-i18next/serverSideTranslations' +import SEO from '../components/SEO' +import { getIsSsrMobile } from '../utils/mobile' +import { network } from '../utils' +import { explorerName, ledgerName, xahauNetwork } from '../utils' +import Link from 'next/link' + +export async function getServerSideProps(context) { + const { locale } = context + return { + props: { + isSsrMobile: getIsSsrMobile(context), + ...(await serverSideTranslations(locale, ['common'])) + } + } +} + +export default function VerifiedDomains() { + return ( + <> + +
+
+ Verified Domains +
+

{explorerName} Domain Verification

+

+ The idea of domain verification is to prove that the same entity operates a particular {explorerName} address + and a particular domain. +

+

+ You may desire to verify your domain in the name of transparency, in order to become a trusted {explorerName}{' '} + service operator. +

+

+ Anyone can set any domain for their {explorerName} address. Therefore, for domain verification, a two-way link + between the domain operator and the address must be established. +

+ +

Domain claims to own an address

+

+ Your web server should serve {xahauNetwork ? 'a' : 'an'} {ledgerName}-ledger.toml file, available at the + following URL: +

+
+          
+            https://{'{'}DOMAIN{'}'}/.well-known/{xahauNetwork ? 'xahau' : 'xrp-ledger'}.toml
+          
+        
+

+ The address you want to verify should be specified under the [[ACCOUNTS]]entry. +

+

+ Example of toml file: +

+

+ + + {xahauNetwork + ? 'https://xahau.xrpl-labs.com/.well-known/xahau.toml' + : 'https://bithomp.com/.well-known/xrp-ledger.toml'} + + +

+

+ {!xahauNetwork && ( + <> + Please read and follow the instructions described in{' '} + + XRPL TOML + + . + + )} +

+

Address claims to be owned by a domain

+

+ To set a domain go to Verified Domains, press set domain and sign in the + transaction. +

+
+ Verified Domains +
+

+ Once the domain is set, you can easily change or delete it anytime you need on your{' '} + Account Page (you need to be signed in). +

+
+ Verified Domains +
+

Verified domains on our website

+

+ On our website you can find the list of all verified domains on {explorerName}. +

+

+ Examples of accounts with verified domains: +

+

+ + {xahauNetwork ? 'rwUAi9ErV3wqgPdPj5qJdhBegJ3SPEvG9Y' : 'rKontEGtDju5MCEJCwtrvTWQQqVAw5juXe'} + +

+

+ + {xahauNetwork ? 'rNqe9wrMJM3D6hwcTtNmYTtfcjbHsHRDSg' : 'rN8FigZNyfEdnve68oPFAeHymsjDaTSN3p'} + +

+

+ + {xahauNetwork ? 'rD74dUPRFNfgnY2NzrxxYRXN4BrfGSN6Mv' : 'rs5wxrBTSErywDDfPs5NY4Zorrca5QMGVd'} + +

+

+ Bithomp {ledgerName} explorer shows verified domains in the “Ledger Data” block as clickable links in a green + colour and a checkmark next to them. +

+
+ Verified Domains +
+

+ Our system re-verifies every verified domain every 24 hours to make sure that we only show checkmark for + currently two-way linked addresses to domains. +

+

+ We recommend you to upload a toml file first and make sure it's valid and then to set a domain on your{' '} + {explorerName} account, in that order your domain will be shown as verified within a minute on our website, + otherwise it can take up to 24 hours to get verified. +

+
+
+ + ) +} diff --git a/public/images/pages/verified-domains/domains-screen.png b/public/images/pages/verified-domains/domains-screen.png new file mode 100644 index 000000000..cfa8a6c26 Binary files /dev/null and b/public/images/pages/verified-domains/domains-screen.png differ diff --git a/public/images/pages/verified-domains/green-checkmark.jpg b/public/images/pages/verified-domains/green-checkmark.jpg new file mode 100644 index 000000000..b06706926 Binary files /dev/null and b/public/images/pages/verified-domains/green-checkmark.jpg differ diff --git a/public/images/xahauexplorer/verified-domains/checkmark-example-screen.png b/public/images/xahauexplorer/verified-domains/checkmark-example-screen.png new file mode 100644 index 000000000..553b07d93 Binary files /dev/null and b/public/images/xahauexplorer/verified-domains/checkmark-example-screen.png differ diff --git a/public/images/xahauexplorer/verified-domains/screen-account-page.png b/public/images/xahauexplorer/verified-domains/screen-account-page.png new file mode 100644 index 000000000..c64029f12 Binary files /dev/null and b/public/images/xahauexplorer/verified-domains/screen-account-page.png differ diff --git a/public/images/xrplexplorer/verified-domains/checkmark-example-screen.png b/public/images/xrplexplorer/verified-domains/checkmark-example-screen.png new file mode 100644 index 000000000..2c57650f0 Binary files /dev/null and b/public/images/xrplexplorer/verified-domains/checkmark-example-screen.png differ diff --git a/public/images/xrplexplorer/verified-domains/screen-account-page.png b/public/images/xrplexplorer/verified-domains/screen-account-page.png new file mode 100644 index 000000000..d9f5cf882 Binary files /dev/null and b/public/images/xrplexplorer/verified-domains/screen-account-page.png differ