A community-driven decentralized exchange for Avalanche and Ethereum assets with fast settlement, low transaction fees, and a democratic distribution–powered by Avalanche
Avalanche C-Chain
eip155:43114
#040404
PNG
18
A community-driven decentralized exchange for Avalanche and Ethereum assets with fast settlement, low transaction fees, and a democratic distribution–powered by Avalanche
import { XmatterClient } from "xmatter/client";
import { XmatterIcon } from "xmatter/next/server";
const xmatter = new XmatterClient("eip155");
export default async function Page() {
const chainId = "43114";
const address = "0x60781c2586d68229fde47564546784ab3faca982";
const frontmatter = await xmatter.getFrontmatter(chainId, address);
return (
<div>
<XmatterIcon
client={xmatter}
chainId={chainId}
address={address}
width={64} height={64}
alt={`${frontmatter.name} Icon`}
fallback={<div className="size-[64px] rounded-full bg-[#aaa]" />}
/>
<h1>{frontmatter.name}</h1>
<p>{frontmatter.symbol}: {frontmatter.decimals} decimals</p>
</div>
);
}import { RemotePattern } from "xmatter/next";
const nextConfig = {
images: {
remotePatterns: [RemotePattern],
},
};