Bit Hotel is a social-first pixel-art gaming metaverse, in which users can hang out, compete for leaderboard rewards and earn income.
Binance Smart Chain
eip155:56
#6fa3c3
BTH
18
Bit Hotel is a social-first pixel-art gaming metaverse, in which users can hang out, compete for leaderboard rewards and earn income. All in-game items, such as characters, rooms and furniture are on-chain NFTs and all have their own unique perks and advantages.
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 = "0x57bc18f6177cdaffb34ace048745bc913a1b1b54";
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],
},
};