refactor: rename SolaceScanScout to Solace and update related configurations
- Updated branding from "SolaceScanScout" to "Solace" across various files including deployment scripts, API responses, and documentation. - Changed default base URL for Playwright tests and updated security headers to reflect the new branding. - Enhanced README and API documentation to include new authentication endpoints and product access details. This refactor aligns the project branding and improves clarity in the API documentation.
This commit is contained in:
@@ -0,0 +1,134 @@
|
||||
'use client'
|
||||
|
||||
import Link from 'next/link'
|
||||
import { Card } from '@/libs/frontend-ui-primitives'
|
||||
import PageIntro from '@/components/common/PageIntro'
|
||||
import EntityBadge from '@/components/common/EntityBadge'
|
||||
|
||||
export default function GruDocsPage() {
|
||||
return (
|
||||
<div className="container mx-auto px-4 py-6 sm:py-8">
|
||||
<PageIntro
|
||||
eyebrow="Explorer Documentation"
|
||||
title="GRU Guide"
|
||||
description="A user-facing summary of the GRU standards, transport posture, and x402 readiness model, with concrete places to inspect those signals on live token, address, and search pages."
|
||||
actions={[
|
||||
{ href: '/tokens', label: 'Browse tokens' },
|
||||
{ href: '/search?q=cUSDC', label: 'Search cUSDC' },
|
||||
{ href: '/search?q=cUSDT', label: 'Search cUSDT' },
|
||||
]}
|
||||
/>
|
||||
|
||||
<div className="space-y-6">
|
||||
<Card title="What The Explorer Is Showing You">
|
||||
<div className="space-y-4 text-sm text-gray-600 dark:text-gray-400">
|
||||
<p>
|
||||
The explorer now distinguishes between canonical GRU money surfaces on Chain 138 and wrapped transport assets used on public-chain bridge lanes.
|
||||
It also highlights when a token looks ready for x402-style payment flows.
|
||||
</p>
|
||||
<p>
|
||||
You can inspect these signals directly on live examples such as
|
||||
{' '}<Link href="/tokens/0x93E66202A11B1772E55407B32B44e5Cd8eda7f22" className="text-primary-600 hover:underline">cUSDT</Link>,
|
||||
{' '}<Link href="/tokens/0xf22258f57794CC8E06237084b353Ab30fFfa640b" className="text-primary-600 hover:underline">cUSDC</Link>,
|
||||
and related GRU-aware search results under
|
||||
{' '}<Link href="/search?q=cUSDT" className="text-primary-600 hover:underline">search</Link>.
|
||||
</p>
|
||||
<p>
|
||||
A practical verification path is: open a token page, confirm the GRU standards card, check the x402 and ISO-20022 posture badges,
|
||||
inspect the sibling-network entries under <strong>Other Networks</strong>, and then pivot into a related transaction to see how
|
||||
GRU-aware transfers are labeled in the transaction evidence flow.
|
||||
</p>
|
||||
<div className="flex flex-wrap gap-2">
|
||||
<EntityBadge label="GRU" tone="success" />
|
||||
<EntityBadge label="x402 ready" tone="info" />
|
||||
<EntityBadge label="forward canonical" tone="success" />
|
||||
<EntityBadge label="wrapped" tone="warning" />
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
<Card title="Standards Summary">
|
||||
<div className="grid gap-4 md:grid-cols-2">
|
||||
<div className="rounded-xl border border-gray-200 bg-gray-50 p-4 text-sm dark:border-gray-700 dark:bg-gray-900/40">
|
||||
<div className="font-medium text-gray-900 dark:text-white">Base token profile</div>
|
||||
<div className="mt-2 text-gray-600 dark:text-gray-400">
|
||||
Canonical GRU v2 base tokens are expected to expose ERC-20, AccessControl, Pausable, EIP-712, ERC-2612, ERC-3009,
|
||||
ERC-5267, deterministic storage namespacing, and governance/supervision metadata.
|
||||
</div>
|
||||
</div>
|
||||
<div className="rounded-xl border border-gray-200 bg-gray-50 p-4 text-sm dark:border-gray-700 dark:bg-gray-900/40">
|
||||
<div className="font-medium text-gray-900 dark:text-white">x402 readiness</div>
|
||||
<div className="mt-2 text-gray-600 dark:text-gray-400">
|
||||
In explorer terms, x402 readiness means the contract exposes an EIP-712 domain plus ERC-5267 domain introspection and
|
||||
at least one signed payment surface such as ERC-2612 permit or ERC-3009 authorization transfers.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
<Card title="Example Explorer Surfaces">
|
||||
<div className="space-y-3 text-sm text-gray-600 dark:text-gray-400">
|
||||
<div className="rounded-xl border border-gray-200 bg-gray-50 p-4 dark:border-gray-700 dark:bg-gray-900/40">
|
||||
<div className="font-medium text-gray-900 dark:text-white">Token detail</div>
|
||||
<div className="mt-2">
|
||||
Open <Link href="/tokens/0x93E66202A11B1772E55407B32B44e5Cd8eda7f22" className="text-primary-600 hover:underline">cUSDT</Link> or
|
||||
{' '}<Link href="/tokens/0xf22258f57794CC8E06237084b353Ab30fFfa640b" className="text-primary-600 hover:underline">cUSDC</Link>
|
||||
{' '}to inspect the GRU standards card, x402 posture, ISO-20022 posture, and sibling-network mappings.
|
||||
</div>
|
||||
</div>
|
||||
<div className="rounded-xl border border-gray-200 bg-gray-50 p-4 dark:border-gray-700 dark:bg-gray-900/40">
|
||||
<div className="font-medium text-gray-900 dark:text-white">Search</div>
|
||||
<div className="mt-2">
|
||||
Use <Link href="/search?q=cUSDT" className="text-primary-600 hover:underline">search for cUSDT</Link> to verify that direct token
|
||||
matches and curated posture cues are visible on first paint.
|
||||
</div>
|
||||
</div>
|
||||
<div className="rounded-xl border border-gray-200 bg-gray-50 p-4 dark:border-gray-700 dark:bg-gray-900/40">
|
||||
<div className="font-medium text-gray-900 dark:text-white">Transactions</div>
|
||||
<div className="mt-2">
|
||||
Open any recent transfer from the token page and look for GRU-aware transfer badges and the transaction evidence matrix on the transaction detail page.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
<Card title="Chain 138 Practical Reading">
|
||||
<div className="space-y-3 text-sm text-gray-600 dark:text-gray-400">
|
||||
<p>
|
||||
A token can be forward-canonical and x402-ready even while older liquidity or transport lanes still run on a prior version.
|
||||
That is why the explorer separates active liquidity posture from forward-canonical posture.
|
||||
</p>
|
||||
<p>
|
||||
The most important live examples today are the USD family promotions where the V2 contracts are the preferred payment and future-canonical surface,
|
||||
while some V1 liquidity still coexists operationally.
|
||||
</p>
|
||||
<p>
|
||||
On token pages, look for the GRU standards card, x402 posture badges, ISO-20022 badges, and sibling-network references. On transaction pages,
|
||||
look for GRU-aware transfer badges and the transaction evidence matrix.
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
<Card title="Next Places To Look">
|
||||
<div className="flex flex-wrap gap-3 text-sm">
|
||||
<Link href="/search" className="text-primary-600 hover:underline">
|
||||
Search the explorer →
|
||||
</Link>
|
||||
<Link href="/tokens" className="text-primary-600 hover:underline">
|
||||
Inspect token pages →
|
||||
</Link>
|
||||
<Link href="/docs/transaction-review" className="text-primary-600 hover:underline">
|
||||
Transaction review guide →
|
||||
</Link>
|
||||
<Link href="/transactions" className="text-primary-600 hover:underline">
|
||||
Check transaction transfers →
|
||||
</Link>
|
||||
<Link href="/docs" className="text-primary-600 hover:underline">
|
||||
General documentation →
|
||||
</Link>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
'use client'
|
||||
|
||||
import Link from 'next/link'
|
||||
import { Card } from '@/libs/frontend-ui-primitives'
|
||||
import PageIntro from '@/components/common/PageIntro'
|
||||
|
||||
const docsCards = [
|
||||
{
|
||||
title: 'GRU guide',
|
||||
href: '/docs/gru',
|
||||
description: 'Understand GRU standards, x402 readiness, wrapped transport posture, and forward-canonical versioning as surfaced by the explorer.',
|
||||
},
|
||||
{
|
||||
title: 'Transaction evidence matrix',
|
||||
href: '/docs/transaction-review',
|
||||
description: 'See how the explorer scores transaction evidence quality, decode richness, asset posture, and counterparty traceability.',
|
||||
},
|
||||
{
|
||||
title: 'Liquidity access',
|
||||
href: '/liquidity',
|
||||
description: 'Open the public liquidity and route access surface when you need execution context alongside the documentation.',
|
||||
},
|
||||
{
|
||||
title: 'Operations hub',
|
||||
href: '/operations',
|
||||
description: 'Move into bridge monitoring, route coverage, command-center views, and other public operational surfaces.',
|
||||
},
|
||||
]
|
||||
|
||||
const policyLinks = [
|
||||
{ label: 'Privacy policy', href: '/privacy.html' },
|
||||
{ label: 'Terms of service', href: '/terms.html' },
|
||||
{ label: 'Acknowledgments', href: '/acknowledgments.html' },
|
||||
]
|
||||
|
||||
export default function DocsIndexPage() {
|
||||
return (
|
||||
<div className="container mx-auto px-4 py-6 sm:py-8">
|
||||
<PageIntro
|
||||
eyebrow="Explorer Documentation"
|
||||
title="Documentation"
|
||||
description="Use the explorer’s public guides, methodology notes, and adjacent operational references from one canonical docs surface."
|
||||
actions={[
|
||||
{ href: '/docs/gru', label: 'GRU guide' },
|
||||
{ href: '/docs/transaction-review', label: 'Review matrix' },
|
||||
{ href: '/operations', label: 'Operations hub' },
|
||||
]}
|
||||
/>
|
||||
|
||||
<div className="grid gap-6 lg:grid-cols-[minmax(0,2fr)_minmax(0,1fr)]">
|
||||
<Card title="Explorer Guides">
|
||||
<div className="grid gap-4 md:grid-cols-2">
|
||||
{docsCards.map((item) => (
|
||||
<div key={item.href} className="rounded-2xl border border-gray-200 bg-gray-50 p-4 dark:border-gray-700 dark:bg-gray-900/40">
|
||||
<div className="text-base font-semibold text-gray-900 dark:text-white">{item.title}</div>
|
||||
<p className="mt-2 text-sm leading-6 text-gray-600 dark:text-gray-400">{item.description}</p>
|
||||
<div className="mt-4">
|
||||
<Link href={item.href} className="text-primary-600 hover:underline">
|
||||
Open guide →
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
<div className="space-y-6">
|
||||
<Card title="Verify These Guides Live">
|
||||
<div className="space-y-3 text-sm text-gray-600 dark:text-gray-400">
|
||||
<p>
|
||||
The docs are meant to prove the explorer, not merely describe it. Each guide below links back into live Chain 138 pages where the
|
||||
documented signals can be inspected directly.
|
||||
</p>
|
||||
<div className="flex flex-wrap gap-3">
|
||||
<Link href="/search?q=cUSDT" className="text-primary-600 hover:underline">
|
||||
Search cUSDT →
|
||||
</Link>
|
||||
<Link href="/tokens/0x93E66202A11B1772E55407B32B44e5Cd8eda7f22" className="text-primary-600 hover:underline">
|
||||
Open cUSDT token page →
|
||||
</Link>
|
||||
<Link href="/transactions" className="text-primary-600 hover:underline">
|
||||
Browse recent transactions →
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
<Card title="Operator & Domains">
|
||||
<div className="space-y-3 text-sm text-gray-600 dark:text-gray-400">
|
||||
<p>
|
||||
SolaceScan is the public Chain 138 explorer operated by DBIS / Defi Oracle. The explorer may be reached through
|
||||
<code> blockscout.defi-oracle.io</code> or <code> explorer.d-bis.org</code>.
|
||||
</p>
|
||||
<p>
|
||||
These domains are part of the same explorer and companion-tooling surface, including the Snap install path at
|
||||
<code> /snap/</code>. Support and policy notices are handled through
|
||||
<a href="mailto:[email protected]" className="ml-1 text-primary-600 hover:underline">support@d-bis.org</a>.
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
<Card title="Policies & Static Notes">
|
||||
<div className="space-y-3 text-sm">
|
||||
{policyLinks.map((item) => (
|
||||
<div key={item.href}>
|
||||
<a href={item.href} className="text-primary-600 hover:underline">
|
||||
{item.label} →
|
||||
</a>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
<Card title="Need Help?">
|
||||
<div className="space-y-3 text-sm text-gray-600 dark:text-gray-400">
|
||||
<p>
|
||||
The public explorer docs cover GRU posture, transaction review scoring, liquidity access, and navigation into the broader Chain 138 surfaces.
|
||||
</p>
|
||||
<p>
|
||||
Support: <a href="mailto:[email protected]" className="text-primary-600 hover:underline">support@d-bis.org</a>
|
||||
</p>
|
||||
<p>
|
||||
Command center: <a href="/chain138-command-center.html" target="_blank" rel="noopener noreferrer" className="text-primary-600 hover:underline">open visual map →</a>
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
'use client'
|
||||
|
||||
import Link from 'next/link'
|
||||
import { Card } from '@/libs/frontend-ui-primitives'
|
||||
import PageIntro from '@/components/common/PageIntro'
|
||||
|
||||
const FACTORS = [
|
||||
['Execution integrity', '25', 'Success/failure, receipt posture, and basic execution certainty.'],
|
||||
['Decode clarity', '15', 'Whether the explorer can identify the method and its structured parameters.'],
|
||||
['Counterparty traceability', '15', 'Visibility of sender, recipient or created contract, block, and timestamp anchoring.'],
|
||||
['Asset posture', '20', 'Whether transferred assets look GRU-aware, x402-ready, and ISO-20022-aligned.'],
|
||||
['Audit richness', '15', 'Presence of token transfers, internal calls, raw input, and decoded input.'],
|
||||
['Exception hygiene', '10', 'Penalty when revert reasons or failed execution are visible.'],
|
||||
]
|
||||
|
||||
export default function TransactionComplianceDocsPage() {
|
||||
return (
|
||||
<div className="container mx-auto px-4 py-6 sm:py-8">
|
||||
<PageIntro
|
||||
eyebrow="Explorer Documentation"
|
||||
title="Transaction Evidence Matrix"
|
||||
description="A practical explorer-side heuristic for scoring how well a transaction is evidenced, decoded, and aligned with GRU, x402, and ISO-20022 posture."
|
||||
actions={[
|
||||
{ href: '/transactions', label: 'Browse transactions' },
|
||||
{ href: '/docs/gru', label: 'GRU guide' },
|
||||
{ href: '/search?q=cUSDT', label: 'Search cUSDT' },
|
||||
{ href: '/search', label: 'Search explorer' },
|
||||
]}
|
||||
/>
|
||||
|
||||
<div className="space-y-6">
|
||||
<Card title="What This Score Means">
|
||||
<div className="space-y-3 text-sm text-gray-600 dark:text-gray-400">
|
||||
<p>
|
||||
This is an explorer-visible review heuristic, not a legal, regulatory, or final compliance determination. It grades how much structured evidence
|
||||
the explorer can see around a transaction and how well the transferred assets align with the repo’s GRU, x402, and ISO-20022 posture.
|
||||
</p>
|
||||
<p>
|
||||
It is useful for triage, review, and operations. It should not be mistaken for a substitute for off-chain policy, regulated workflow approval,
|
||||
or settlement-finality review.
|
||||
</p>
|
||||
<p>
|
||||
A live example is available on transaction detail pages wherever the explorer has enough decoded context to score execution integrity, traceability,
|
||||
asset posture, and audit richness.
|
||||
</p>
|
||||
<p>
|
||||
The easiest way to verify the feature is to start from a live GRU token page such as
|
||||
{' '}<Link href="/tokens/0x93E66202A11B1772E55407B32B44e5Cd8eda7f22" className="text-primary-600 hover:underline">cUSDT</Link>,
|
||||
open a recent transfer, and inspect the review card on the transaction detail page.
|
||||
</p>
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
<Card title="Scoring Factors">
|
||||
<div className="space-y-3">
|
||||
{FACTORS.map(([label, max, summary]) => (
|
||||
<div key={label} className="rounded-2xl border border-gray-200 bg-gray-50 p-4 dark:border-gray-700 dark:bg-gray-900/40">
|
||||
<div className="flex items-center justify-between gap-3">
|
||||
<div className="font-medium text-gray-900 dark:text-white">{label}</div>
|
||||
<div className="text-sm text-gray-600 dark:text-gray-400">{max} points</div>
|
||||
</div>
|
||||
<div className="mt-2 text-sm text-gray-600 dark:text-gray-400">{summary}</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
<Card title="Grades">
|
||||
<div className="space-y-2 text-sm text-gray-600 dark:text-gray-400">
|
||||
<div><strong className="text-gray-900 dark:text-white">A:</strong> 90-100, very strong explorer-visible evidence quality.</div>
|
||||
<div><strong className="text-gray-900 dark:text-white">B:</strong> 80-89, strong with minor evidence gaps.</div>
|
||||
<div><strong className="text-gray-900 dark:text-white">C:</strong> 70-79, broadly understandable but with gaps.</div>
|
||||
<div><strong className="text-gray-900 dark:text-white">D:</strong> 60-69, limited evidence comfort.</div>
|
||||
<div><strong className="text-gray-900 dark:text-white">E:</strong> below 60, weak explorer-visible evidence quality.</div>
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
<Card title="How To Verify It Live">
|
||||
<div className="space-y-3 text-sm text-gray-600 dark:text-gray-400">
|
||||
<p>1. Open a token detail page for a GRU-tracked asset.</p>
|
||||
<p>2. Follow one of the recent transfers into its transaction detail page.</p>
|
||||
<p>3. Confirm the transaction page shows decoded execution context, transfer posture, and the transaction review card.</p>
|
||||
<p>4. Use the GRU guide to cross-check why asset posture contributes to the score.</p>
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
<Card title="Further Reading">
|
||||
<div className="flex flex-wrap gap-3 text-sm">
|
||||
<Link href="/docs/gru" className="text-primary-600 hover:underline">
|
||||
GRU guide →
|
||||
</Link>
|
||||
<Link href="/search?q=cUSDT" className="text-primary-600 hover:underline">
|
||||
Search cUSDT →
|
||||
</Link>
|
||||
<Link href="/docs" className="text-primary-600 hover:underline">
|
||||
General documentation →
|
||||
</Link>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
export { default } from './transaction-compliance'
|
||||
Reference in New Issue
Block a user