Developer Guide
This section is for application developers building on top of the XChain Platform. Guides are task-oriented and assume familiarity with JavaScript and basic blockchain concepts. Start with the tutorial that matches what you want to build.
| Document | Description |
|---|---|
| Build Your First Token | Step-by-step walkthrough of issuing and transferring a token |
| Build a Dispenser | Set up a vending machine that dispenses tokens on receipt of payment |
| Build a Stakeable Contract | Deploy a smart contract that anyone can stake tokens against on Bitcoin, Litecoin, or Dogecoin |
| Query the Explorer | Use the REST and JSON-RPC APIs to read balances, actions, and token data |
| API Reference | Complete REST and JSON-RPC reference for the Explorer, Encoder, and Hub APIs |
| Cross-Chain Swap | Create and complete a cross-chain token swap between supported blockchains |
| Messaging | Send and receive encrypted or plaintext messages between addresses with the SDK |
| Advanced Token Features | Locking, callbacks, dividends, airdrops, and other advanced token operations |
| Batch Operations | Combine multiple ACTION commands into a single transaction with BATCH |
| Regtest Development | Run a local regtest stack for rapid development and testing |
| Integration Patterns | Recommended patterns for integrating XChain into wallets and applications |
| Smart Contract Development | Writing, deploying, and interacting with smart contracts on XChain |
| Solidity to XChain | On-ramp for Solidity/EVM developers: concept map, native-primitive shortcuts, and side-by-side examples |
| AI-Assisted Contract Authoring | Describe a contract in English or paste your Solidity; get a gate-validated XChain contract back |
| Adding a Blockchain | Add a new chain via the single canonical per-coin config file |
| Testing | Testing philosophy, 11 test types, platform coverage, and contributing tests |
Copyright © 2025–2026 Dankest, LLC
Based on XChain Platform by Dankest, LLC – https://dankest.llc
Licensed under the GNU Affero General Public License v3.0 (AGPL-3.0-or-later) with a commercial license available for proprietary use.
You may use, modify, and distribute this material under the terms of the License. See LICENSE and NOTICE for full terms. See the licensing overview.