DMarket is a platform that aims to enable the secure buying, selling, and trading of in-game items to help developers attract more players, make more money, and increase the lifetime value of their g…
Ethereum
eip155:1
#d8f8f5
DMT
8
DMarket is a platform that aims to enable the secure buying, selling, and trading of in-game items to help developers attract more players, make more money, and increase the lifetime value of their game.
import { XmatterClient } from "xmatter/client";
import { XmatterIcon } from "xmatter/next/server";
const xmatter = new XmatterClient("eip155");
export default async function Page() {
const chainId = "1";
const address = "0x2ccbff3a042c68716ed2a2cb0c544a9f1d1935e1";
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],
},
};