ODEM, short for 'On-Demand Education Marketplace', is a blockchain-based distributed network that allows university students to interact with their professors and academic partners without intermedia…
Ethereum
eip155:1
#d3f2f9
ODEM
18
ODEM, short for 'On-Demand Education Marketplace', is a blockchain-based distributed network that allows university students to interact with their professors and academic partners without intermediaries.
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 = "0xbf52f2ab39e26e0951d2a02b49b7702abe30406a";
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],
},
};