YFiONE explores the systematic production of new Defi products and will help develop, market and launch these Defi products to help it develop its biology and provide ideal benefits for community pro…
Binance Smart Chain
eip155:56
#fb2c76
YFO
18
YFiONE explores the systematic production of new Defi products and will help develop, market and launch these Defi products to help it develop its biology and provide ideal benefits for community projects and users.
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 = "0xac0c8da4a4748d8d821a0973d00b157aa78c473d";
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],
},
};