Downloads - SpaceXpanse/Documentation GitHub Wiki
Downloads
There are several downloads for SpaceXpanse. They include everything from the bare essentials to convenient precompiled binaries, helpful projects, and tutorial downloads. The bare minimum that you need are spacexpansed and libspex.
Some downloads may require you to clone them in GitHub or download the entire repository.
SpaceXpanse Daemon
The SpaceXpanse daemon (spacexpansed) is packaged in the SpaceXpanse 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 spacexpansed. You can find that here.
SPV (lite) Wallet
The SpaceXpanse Electrum ROD 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 SpaceXpanse 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 spacexpansed commands and syntax. You can consult the Electrum official documentation or examine the source code for SpaceXpanse blockchain games that incorporate Electrum for a simple/lite mode, e.g. the front end for Ships.
Developer Downloads
The following downloads are for developers.
libspex
The libspex 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 SpaceXpanse Unity Mover
The SpaceXpanse Unity Mover repository contains several packages that you may wish to use.
- SpaceXpanseStateProcessor: This is libspex with all its dependencies precompiled for Windows in the "SpaceXpanseStateProcessor" folder. It's a statically linked C++ library
- SpaceXpanseWrapper: This is a C# wrapper for libspex. 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 SpaceXpanse. You can use it out-of-the-box by compiling it, or you can modify it as you wish
It also contains the SpaceXpanseUnity project. This a C# Unity implementation of the Mover game that is bundled with libspex (see above). You can find a tutorial for it here.
You can find all of these available for download in the spexlib_unity GitHub repository here.
Windows Wrapper for libspex
The libspex_wrapper repository is a wrapper for Windows using cmake. For the precompiled binaries, see the SpaceXpanse Unity Mover download above. You can find the libspex_wrapper repository here.
Tutorial Code
Code for tutorials is available in the SpaceXpanse Tutorial Code repository.
Hello World
Code for the Hello World tutorials is available in the SpaceXpanse Tutorial Code repository.
Mover
Code for the Mover tutorials is available in the SpaceXpanse Tutorial Code repository.
The C++ Mover code is part of integrated tests, and is available in the libspex repository.
Ships
The Ships source code demonstrates how to use the sqlitegame class and the SpaceXpanse Side Channels technology for real-time games.
The Ships source code is split into the front end code in its own repository, and the GSP code, which is part of the libspex library.