Wrapped Bitcoin (WBTC) is the first ERC20 token backed 1:1 with Bitcoin.
Meter
eip155:82
#87868f
WBTC.eth
8
Wrapped Bitcoin (WBTC) is the first ERC20 token backed 1:1 with Bitcoin.
import { XmatterClient } from "xmatter/client";
import { XmatterIcon } from "xmatter/next/server";
const xmatter = new XmatterClient("eip155");
export default async function Page() {
const chainId = "82";
const address = "0xc1f6c86abee8e2e0b6fd5bd80f0b51fef783635c";
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],
},
};