Precium is a smart contract platform that provides a template of various smart contract terms to allow users to create and use smart contracts simply and securely through peer-to-peer transactions.
Ethereum
eip155:1
#4caccf
PCM
18
Precium is a smart contract platform that provides a template of various smart contract terms to allow users to create and use smart contracts simply and securely through peer-to-peer transactions.
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 = "0x6096d2460cf5177e40b515223428dc005ad35123";
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],
},
};