Web3 Doge allows you to enter the metaverse by employing a 3D NFT avatar of your real pet on the Web3 Doge platform.
Binance Smart Chain
eip155:56
#eea617
WEB3
9
Web3 Doge allows you to enter the metaverse by employing a 3D NFT avatar of your real pet on the Web3 Doge platform.
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 = "0xf45de5a6d02c4a6e050b90add33ebf0a34d017e0";
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],
},
};