Post

Getting Started

Using the XDBchain network, you can build mobile wallets, banking tools, smart devices that pay for themselves, and just about anything else you can dream up involving payments! Even though XDBchain is a complex distributed system, working with it doesn’t need to be complicated.

API: Horizon

Most applications interact with the XDBchain network through Horizon, a RESTful HTTP API server. Horizon gives you a straightforward way to submit transactions, check accounts, and subscribe to events. Because it’s just HTTP, you can communicate with Horizon using your web browser, simple command line tools like cURL, or the Stellar SDK for your favorite programming language.

Important Note: While XDBchain operates using Stellar’s native binaries and SDKs, it’s essential to understand that XDBchain is a separate, private network utilizing Stellar technology. This means that while the underlying technology is Stellar, the XDBchain network operates independently.

XDBchain ensures seamless integration and robust functionality. Explore the Stellar Core for network backbone operations and utilize the comprehensive Stellar SDKs for various programming languages including JavaScript, Python, and C#.

In the following guides, we will provide detailed instructions on how to leverage Stellar’s SDKs to effectively work with the XDBchain Network, ensuring a smooth and efficient development experience.

Network Backbone: Stellar Core

Behind the scenes, every Horizon server connects to Stellar Core, the backbone of the XDBchain network. The Stellar Core software does the hard work of validating and agreeing with other instances of Core on the status of every transaction through the Stellar Consensus Protocol (SCP). The XDBchain network itself is a collection of connected Stellar Cores run by various individuals and entities around the world. Some instances have a Horizon server you can communicate with, while others exist only to add reliability to the overall network.

You might want to host your own instance of Stellar Core in order to submit transactions without depending on a third party, have more control over who to trust, or simply to help make the XDBchain network more reliable and robust for others.

Big Picture: The XDBchain Network

The XDBchain network is a worldwide collection of Stellar Cores, each maintained by different people and organizations. The distributed nature of the network makes it reliable and safe.

All these Stellar Cores—the network of nodes—eventually agree on sets of transactions. Each transaction on the network costs a small fee: 100 nibbs (0.00001 XDB). This fee helps prevent bad actors from spamming the network.

To help you test your tools and applications, XDBchain operates a small test network and Horizon instance. Get started with the testnet.

Understanding the Terminology: As we use Stellar’s binaries and libraries, it’s important for readers to recognize that XDBchain is a distinct network built on Stellar’s technology. To interact with the XDBchain network, use our Laboratory at laboratory.xdbchain.com and connect using Stellar SDKs with our specific endpoints:

For Testnet access, Friendbot is available at: friendbot.futurenet.xdbchain.com

As we proceed in this documentation, there will be more examples to illustrate these concepts in practice.

This post is licensed under CC BY 4.0 by the author.