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
Cross-Chain Swap Create and complete a cross-chain token swap between supported blockchains
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
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.

Edit this page on GitHub ↗