X-pool is an open-source Decentralized protocol - built on Binance Smart Chain that enables users to borrow assets from the platform, deploy your assets and earn yield with ease
Binance Smart Chain
eip155:56
#252a2e
XPO
18
X-pool is an open-source Decentralized protocol - built on Binance Smart Chain that enables users to borrow assets from the platform, deploy your assets and earn yield with ease
import { XmatterClient } from "xmatter/client";
import { XmatterIcon } from "xmatter/next/server";
const xmatter = new XmatterClient("eip155");
export default async function Page() {
const chainId = "56";
const address = "0xebb59cebfb63f218db6b5094dc14abf34d56d35d";
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],
},
};