Contracts
MainnetX1ID runs as a single on-chain registry program on X1 mainnet. There is no separate "resolver" or "registrar" contract split — one program owns handle registration, records, and the delegate/authority rules the SDK and MCP server both read and write through.
Deployed
| Program | X1ID registry |
| Program ID | 8JgnNWi24bq9uzfnT9XmkWxvaWMVgoEs9bu8QsHhLe1P |
| Network | X1 mainnet |
| RPC | https://rpc.mainnet.x1.xyz |
| Last deployed in slot | 85461348 (first deployed in slot 84124876) |
| ProgramData | EofT1kv2yYManv3T1fHebDfZC72JzpSjH35uqmZKfnai |
| Program ELF sha256 (as of slot 85461348) | bfc230cdbfaf4910ab78c9d4f83408b69d100a621fe3e37956a692bd358e91ca (first 1,704,560 bytes; the canonical build of commit 5fb1e772) |
| Full ProgramData sha256 (as of slot 85461348) | 155c4f8e91e6ad5032f03310dc6c8fecf78936438790ad7c3c30270ccbccc69a (all 1,709,040 bytes, including zero padding) |
| Upgrade authority | E2cELMtby3YYYbDdxamuGKWCyte3kwLywv19pEk2iUq6 — the same 2-of-5 treasury multisig |
Treasury (immutable Config.treasury) | E2cELMtby3YYYbDdxamuGKWCyte3kwLywv19pEk2iUq6 — a 2-of-5 multisig PDA |
Live on mainnet since 2026-10-07. Handles you register live on X1 mainnet, with 19,572 reserved names seeded at genesis. The program's upgrade authority is the 2-of-5 treasury multisig (E2cELMtby3YYYbDdxamuGKWCyte3kwLywv19pEk2iUq6), so any upgrade needs two of five guardian approvals rather than a single key. The program is upgradeable; burning the upgrade authority remains an option for later, not a scheduled step. See Trust & transparency for how to verify all of this yourself.
This is the same address every X1ID surface is wired to: it's what @x1id/resolve derives PDAs against, what the MCP server reads via its X1ID_PROGRAM_ID environment variable, and what the Resolve API ultimately reads through when it answers a lookup.
Verify it yourself
Ownership you can audit. Nothing here asks you to take our word for it — the program is public, and every handle it manages is a readable account on X1 mainnet.
Point any Solana-compatible RPC client at the program ID above and the mainnet RPC to confirm it exists and is executable — the output also reports the ProgramData address, the deploy slot, and the current upgrade authority:
solana program show 8JgnNWi24bq9uzfnT9XmkWxvaWMVgoEs9bu8QsHhLe1P \
--url https://rpc.mainnet.x1.xyzThere are two hashes above because the ProgramData account is larger than the program it holds. The account holds 1,709,040 bytes (it was extended by 20,480 bytes for this upgrade); the current ELF is 1,704,560 bytes, and the loader fills the remaining 4,480 bytes with zeros. The ELF sha256 covers only the program itself and is the one to compare against a build from source (the canonical build of commit 5fb1e772 produces exactly this file). The full ProgramData sha256 covers everything solana program dump writes, padding included, and is the one you get by hashing the dump as is. To check both:
solana program dump 8JgnNWi24bq9uzfnT9XmkWxvaWMVgoEs9bu8QsHhLe1P x1id.so \
--url https://rpc.mainnet.x1.xyz
sha256sum x1id.so # full ProgramData: 155c4f8e…bccc69a (1,709,040 bytes)
head -c 1704560 x1id.so | sha256sum # ELF only: bfc230cd…58e91ca (1,704,560 bytes)
tail -c +1704561 x1id.so | tr -d '\0' | wc -c # → 0: everything after the ELF is zero paddingBoth hashes change with every program upgrade, so they're pinned to the slot they were taken at: if solana program show reports a later "Last Deployed In Slot" than 85461348, the program has been upgraded since and the hashes will differ. The most recent upgrade was executed by the treasury multisig at slot 85461348 on 2026-10-12 (transaction oBdWiWkz…qt1okE9J). Trust & transparency walks through the same check.
Testnet (for development)
The same program, at the same program ID, is also deployed on X1 testnet — use it to develop and test without spending real XNT:
| Program ID | 8JgnNWi24bq9uzfnT9XmkWxvaWMVgoEs9bu8QsHhLe1P |
| RPC | https://rpc.testnet.x1.xyz |
Everything in these docs works identically against testnet — point rpcUrl (SDK) or X1_RPC_URL (MCP) at the testnet RPC and nothing else changes. Testnet handles are a separate registry from mainnet handles and have no monetary value. The one exception is X1NS (.x1 / .xnt / .xen): it exists on mainnet only, so X1NS names don't resolve against testnet.
For the shape of individual accounts (a handle's registry entry, its text records), read through the SDK or the MCP server's read tools rather than parsing raw account bytes by hand — both derive the same PDAs this program expects and stay in sync with it as the source of truth.
