'use client'; import { useEffect, useState } from 'react'; /** Verification commands with this site's real address filled in. */ export function VerifyCommands() { const [origin, setOrigin] = useState('https://'); useEffect(() => setOrigin(window.location.origin), []); return (
{`# 1. every file matches what this site was built from
curl -s ${origin}/source/SHA256SUMS | sha256sum -c

# 2. or with Node
node scripts/verify-source.mjs ${origin}

# 3. run the tests and rebuild the contract
npm ci && npm test
npm run compile:contracts   # artifact.json must not change`}
); }