Ethereum
eip155:1
#fca04f
USDS
18
USDS is an upgraded version of the DAI token. Upgrading is optional. It is an ERC-20 token with permit functionality and EIP-1271 signature validation. The USDS token also enables two-way conversions between DAI and USDS tokens, using the mint and burn functions of both tokens. The conversion rate of the stablecoin is 1 DAI to 1 USDS.
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 = "0xdc035d45d973e3ec169d2276ddab16f1e407384f";
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],
},
};