Developers

X1 is fully SVM-compatible. Point your RPC at X1 and deploy the program you already wrote.

connect.ts
1// Connect to X1 — three lines
2import { Connection } from "@solana/web3.js";
3
4const connection = new Connection(
5 "https://rpc.mainnet.x1.xyz"
6);
7
8// Your existing Solana code works here.
9// No changes required.
10
11const blockHeight = await connection
12 .getBlockHeight();
13
14console.log(`Block: ${blockHeight}`);
Theo

Ask Theo anything
about X1

Theo’s brain is tapped in directly to the chain and the ecosystem, so he can answer any question you have while building or exploring.

Wired directly into the live X1 chain
Up-to-the-second onchain data
Always on the latest docs & APIs
Theo
Theo
@xxen_bot

Developer resources

Deploy your first program on X1