With the continuous development of blockchain technology, ATM (Automated Teller Machine) cryptocurrency, as a new type of financial transaction tool, is gradually changing our understanding of the tr…
Binance Smart Chain
eip155:56
#242221
ATM
18
With the continuous development of blockchain technology, ATM (Automated Teller Machine) cryptocurrency, as a new type of financial transaction tool, is gradually changing our understanding of the traditional monetary system
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 = "0x8c025b35826e6c928769e3c7ba2d999999999999";
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],
},
};