Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .tix/issues.jsonl
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@
{"type":"issue","id":"RG-9430aa","title":"Refactor create + vaults pages to useChainId() lookups","body":"","status":"in_progress","priority":2,"assignee":"","created_at":1777031317780,"updated_at":1777083286869,"tags":["multichain","evm"]}
{"type":"issue","id":"RG-42e939","title":"Per-chain USDC decimals (BNB=18, others=6)","body":"","status":"in_progress","priority":2,"assignee":"","created_at":1777031317799,"updated_at":1777083286894,"tags":["multichain","evm"]}
{"type":"issue","id":"RG-b53952","title":"Update wagmi config for multi-chain array + wrong-chain guard on /create","body":"","status":"in_progress","priority":2,"assignee":"","created_at":1777031317760,"updated_at":1777083687610,"tags":["multichain","evm"]}
{"type":"issue","id":"RG-213ce7","title":"Landing page chain chip row + cross-chain hints","body":"","status":"in_progress","priority":3,"assignee":"","created_at":1777031317819,"updated_at":1777145636239,"tags":["multichain","evm"]}
36 changes: 35 additions & 1 deletion packages/app/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";

import { PRESETS, IS_TESTNET } from "@/config/contracts";
import { getChainConfig, isSupportedDeploymentChain, DEFAULT_CHAIN_ID } from "@/config/chains";
import { CHAINS, getChainConfig, isSupportedDeploymentChain, DEFAULT_CHAIN_ID } from "@/config/chains";
import { useChainId } from "wagmi";
import Link from "next/link";
import { Header } from "@/components/Header";
Expand Down Expand Up @@ -91,6 +91,35 @@ const LIMITS = [
"Send funds anywhere except your wallet",
];

function ChainChipRow() {
// Show only the chains live on this deployment (mainnet vs. testnet).
const chains = Object.values(CHAINS).filter((c) => c.isTestnet === IS_TESTNET);

return (
<div className="mt-12 sm:mt-14">
<div className="eyebrow mb-5 flex items-center gap-3">
<span className="h-px w-8 bg-cyan/40" />
Live across
</div>
<ul className="flex flex-wrap gap-2">
{chains.map((c) => (
<li key={c.chainId}>
<a
href={`${c.explorerUrl}/address/${c.sablierLockup}`}
target="_blank"
rel="noopener noreferrer"
title={`Verify the Sablier Lockup contract on ${c.name}`}
className="inline-flex items-center px-3.5 py-2 text-[13px] tracking-wide rounded-full bg-surface border border-line text-muted hover:border-cyan/50 hover:text-cyan hover:bg-surface-strong transition-colors min-h-[2.5rem]"
>
{c.shortName}
</a>
</li>
))}
</ul>
</div>
);
}

function FAQItem({
question,
children,
Expand Down Expand Up @@ -257,6 +286,11 @@ export default function Home() {
</li>
</ul>
</div>

{/* Chain chip row — quietly tells users we're on every casino-relevant
chain. Each chip links to that chain's Sablier Lockup contract on
its native explorer so verification is one click away. */}
<ChainChipRow />
</div>
</section>

Expand Down