Moca ID is an on-chain DID (decentralized identity) that gives you the identity to travel among the meta layer of Animoca Brands' network of and beyond 400+ portfolio companies, alongside our ever-gr…
Polygon
eip155:137
#040404
RID
18
Moca ID is an on-chain DID (decentralized identity) that gives you the identity to travel among the meta layer of Animoca Brands' network of and beyond 400+ portfolio companies, alongside our ever-growing partner ecosystem.
import { XmatterClient } from "xmatter/client";
import { XmatterIcon } from "xmatter/next/server";
const xmatter = new XmatterClient("eip155");
export default async function Page() {
const chainId = "137";
const address = "0x8eb187a55b701f8990539bf219b7921d5d3bdadd";
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],
},
};