Spectral is simplifying the creation and deployment of decentralized applications through autonomous Onchain Agents.
Base
eip155:8453
#047cee
SPEC
18
Spectral is simplifying the creation and deployment of decentralized applications through autonomous Onchain Agents. Syntax, Spectral’s flagship product, translates natural language into Solidity code, enabling both novices and experts to build on the blockchain effortlessly. With a commitment to transparency and user empowerment, Spectral is shaping a future where anyone can participate in the blockchain revolution.
import { XmatterClient } from "xmatter/client";
import { XmatterIcon } from "xmatter/next/server";
const xmatter = new XmatterClient("eip155");
export default async function Page() {
const chainId = "8453";
const address = "0x96419929d7949d6a801a6909c145c8eef6a40431";
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],
},
};