Xone Developer Resources
This guide primarily introduces the basics or manuals for developers building on Xone. Written by Xone builders and for builders to use, it is tailored for those ready to start developing. While you may not fully understand what Xone is, as a developer, your focus shouldn't be on learning what Xone is, but rather on how to build on it. Xone is equivalent to the EVM series, so the gap between developing on Xone and Ethereum is minimal. However, keep in mind that there are still some differences between Xone and Ethereum.
Ready to Start Building?
Watch Video Tutorials
If you're new to this space, we provide video guides and documents to help you start building on Xone.
Give it a try?
Practice makes perfect! Start building first, then ask questions later.
Set Up Your Local Environment
Configure your development environment and begin with "Hello Xone."
Important Information
To ensure a smoother development experience, we recommend familiarizing yourself with the following information and utilizing local development nodes or Xone TestNet. This allows you to immerse yourself in development without worrying about spending real money. If you need XOC on Xone TestNet for testing, you can claim it from the faucet.
Xone Testnet | |
---|---|
Network Name | Xone TestNet |
New RPC URL |
|
Chain ID | 33772211 |
Symbol | XOC |
Block Explorer URL | https://testnet.xscscan.com/ |
Go to ChainList |
Contract Verification
In Xone, we provide Verify & Publish Contract. In just three steps, you can verify and publish the contract you built. In Xone Mainnet, you need to delete the testnet
in the access URL, for example: xscscan.com/contract-verification
, you can also access it directly here.
Development Tools
As you'll see in the development stack below, deploying contracts and interacting with them on Xone Mainnet or Xone TestNet is almost identical to how you do it on Ethereum L1. The most notable difference is the requirement to specify different endpoints.
Development Essentials
Development Frameworks
Code Collaboration Platforms
Blockchain Simulators and Language
Practice
Step 1: Choose Your Preferred Development Tool
We recommend using tools designed for EVM-based development. They are not only faster but often offer additional features, such as debugging Solidity messages or providing user interfaces.
Step 2: Debug Before Deployment
Once local development is complete, debug your DApp using development nodes or Xone TestNet. Focus on specific aspects of Xone Mainnet, such as verifying contract logic or testing token transfers.
Deploy to the production network only after ensuring your application runs smoothly on the test network. This reduces unnecessary costs, as every transaction on Xone Mainnet incurs a fee.
Step 3: Verify Contract Source
You don't need to upload the source code to the block explorer during testing, as the test network allows you to send queries and transactions directly from the graphical interface. On the production network, verified contracts help users better understand their purpose.
About These Developer Resources
We help you write documents about basic concepts and development stacks with Xone, and there are tutorials to get you up and running. We believe that Xone is an open network that everyone can participate in; for this huge network, it is far from enough for only Xone developers and operators to write these contents and resources. For this reason, we open source everything and encourage you to participate in it and follow us to expand and improve it.
If you have any feedback, please contact us via GitHub Issues or our Discord server.