SBCC project is a blockchain infrastructure project aimed at ushering in smart city life through its proprietary Smart Wall Pad app to control IoT devices at home, manage administrative services at r…
Binance Smart Chain
eip155:56
#3b16c9
SBCC
18
SBCC project is a blockchain infrastructure project aimed at ushering in smart city life through its proprietary Smart Wall Pad app to control IoT devices at home, manage administrative services at residence complex, participate in resident community and commerce activities in the proximity
import { XmatterClient } from "xmatter/client";
import { XmatterIcon } from "xmatter/next/server";
const xmatter = new XmatterClient("eip155");
export default async function Page() {
const chainId = "56";
const address = "0x6e02be885fca1138038420fddd4b41c59a8cea6d";
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],
},
};