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}`);

Ask Theo anything
about X1

Wired directly into the live X1 chain
Up-to-the-second onchain data
Always on the latest docs & APIs
Does @solana/web3.js work against X1?
You
Theo
Yes — X1 is fully SVM-compatible, so the SDK works unchanged. Just construct your Connection with the X1 RPC URL and every call behaves as it does on Solana.
Theo
You

Developer resources

Deploy your first program on X1