Welcome to X1 developer documentation.
X1 is a zkEVM Layer 2 network built on Ethereum, powered by Polygon CDK - a zkEVM stack for building Ethereum L2 scaling solutions. Developers can easily deploy their existing contracts on zkEVM, and users can move their assets from Ethereum and conduct transactions off-chain. These transactions are bundled into groups with a zero-knowledge proof to verify their validity.
Building DApps on X1 is just like building them on Ethereum. All you have to do is switch to the X1 RPC and begin your development on X1, that offers faster transactions, lower costs, and robust security. X1 offers a user experience similar to the Ethereum Virtual Machine (EVM) for both developers and users. This means you won't need any new tools or wallets to create or use DApps on zkEVM.
To start building on X1, you'll first need some testnet OKB. See the Faucet guide for the steps to get testnet OKB on X1.
You can add X1 testnet by inputting the following network info:
Properties | Network details |
---|---|
Network name | X1 testnet |
RPC URL | https://testrpc.x1.tech |
Chain ID | 195 |
Token symbol | OKB |
Block explorer URL | https://www.oklink.com/x1-test |
You can also simply add X1 Testnet to MetaMask through Chainlist
The next step is to bridge your assets from Ethereum → X1. You can use the X1 Bridge to bridge your assets.
Developing on X1 is seamless and identical to Ethereum Virtual Machine (EVM). Developers can use their existing code and toolings to deploy on X1 with much better performance and lower fees. Check out how to deploy smart contracts on X1:
If you need help with anything related to X1, you can raise your questions on our Discord channel:
#dev-support
channel.
You can now contact X1 tech support staff with your questions and concerns. We will actively monitor for issues and work to resolve them asap.