Skip to content

Downloads

Ryan edited this page Jan 6, 2023 · 4 revisions

Downloads

There are several downloads for XAYA. They include everything from the bare essentials to convenient precompiled binaries, helpful projects, and tutorial downloads. The bare minimum that you need are xayad and libxayagame.

Some downloads may require you to clone them in GitHub or download the entire repository.

XAYA Daemon

The XAYA daemon (xayad) is packaged in the XAYA QT wallet download. You can find that here.

In addition to the QT wallet, an Electron wallet is available. It's the primary wallet for end users and is designed to be used with games. It is also packaged with xayad. You can find that here.

SPV (lite) Wallet

The Xaya Electrum CHI wallet is an Simple Payment Verification (SPV) wallet or "lite" wallet. It doesn't download the entire blockchain so it is much faster and easier to get up and running with for end users. It is also used in headless mode (no GUI or visible interface) for "Simple Mode" in games running on the Xaya blockchain, e.g. Treat Fighter and Taurion.

Building a "Simple/Lite" Mode into Your Game

Commands and syntax for the Electrum wallet differ from the regular xayad commands and syntax. You can consult the Electrum official documentation or examine the source code for Xaya blockchain games that incorporate Electrum for a simple/lite mode, e.g. the front end for Xayaships.

Developer Downloads

The following downloads are for developers.

libxayagame

The libxayagame library is what you use to build games. It takes care of all the difficult blockchain operations and leaves you free to focus on your game. It's written in C++. You can find it here.

Projects Inside XAYA Unity Mover

The XAYA Unity Mover repository contains several packages that you may wish to use.

  • XayaStateProcessor: This is libxayagame with all its dependencies precompiled for Windows in the "XayaStateProcessor" folder. It's a statically linked C++ library
  • XAYAWrapper: This is a C# wrapper for libxayagame. You can use it out-of-the-box by compiling it, or you can modify it as you wish
  • BitcoinLib: This is a convenient RPC library that has been modified for XAYA. You can use it out-of-the-box by compiling it, or you can modify it as you wish

It also contains the XAYAUnity project. This a C# Unity implementation of the Mover game that is bundled with libxayagame (see above). You can find a tutorial for it here.

You can find all of these available for download in the xayalib_unity GitHub repository here.

Windows Wrapper for libxayagame

The libxayagame_wrapper repository is a wrapper for Windows using cmake. For the precompiled binaries, see the XAYA Unity Mover download above. You can find the libxayagame_wrapper repository here.

Tutorial Code

Code for tutorials is available in the XAYA Tutorial Code repository.

Hello World

Code for the Hello World tutorials is available in the XAYA Tutorial Code repository.

Mover

Code for the Mover tutorials is available in the XAYA Tutorial Code repository.

The C++ Mover code is part of integrated tests, and is available in the libxayagame repository.

Xayaships

The Xayaships source code demonstrates how to use the sqlitegame class and the Xaya Game Channels technology for real-time games.

The Xayaships source code is split into the front end code in its own repository, and the GSP code, which is part of the libxayagame library.

Clone this wiki locally