Rangers Protocol, the future virtual world blockchain infrastructure, is fully compatible with Ethereum, professionally supports NFT and complex applications, and integrates and expands cross-chain, …
Binance Smart Chain
eip155:56
#26333b
RPG
18
Rangers Protocol, the future virtual world blockchain infrastructure, is fully compatible with Ethereum, professionally supports NFT and complex applications, and integrates and expands cross-chain, NFT, EVM, and distributed network protocols. It has created an innovative Rangers Engine to support the development of NFT and complex applications and a Rangers Connector to interconnector with various public chains and support asset cross-chain.
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 = "0xc2098a8938119a52b1f7661893c0153a6cb116d5";
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],
},
};