-
Notifications
You must be signed in to change notification settings - Fork 10
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.
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.
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.
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.
The following downloads are for developers.
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.
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.
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.
Code for tutorials is available in the XAYA Tutorial Code repository.
Code for the Hello World tutorials is available in the XAYA Tutorial Code repository.
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.
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.
- Step 0: Blockchain Basics
- Step 1: xayad <⸺ start here
- Step 2: The Game State Processor
- Step 3a: libxayagame Component Relationships
- Step 3b: Compile libxayagame in Windows
- Step 3b: Compile libxayagame in Ubuntu
- Step 4: Run xayad for Games
- Step 5: Hello World! in C++
- Step 5: Hello World! in C#
- Step 5: Hello World! with SQLite
- Step 6a: Mover Overview
- Step 6b: Mover Console
- Step 6c: Mover Unity
- libxayagame Component Relationships
- How to Compile libxayagame in Ubuntu 20.04.03
- How to Compile libxayagame in Ubuntu 22.04
- How to Compile libxayagame in Windows
- Xayaships (How to get started playing)