In 2013 we developed Huntercoin, the first blockchain game, and in 2015 we began using all that experience and knowledge to design an entire platform to host almost any kind of game on the Xaya blockchain, all fully decentralized. Today in 2021, we’re delivering on our promise to be THE ONE, TRUE BLOCKCHAIN GAMING PLATFORM with Xaya X.
Other than the Xaya Core blockchain, the technologies we have created are blockchain agnostic, meaning that it doesn’t really matter what blockchain you are using because Xaya can turn it into a blockchain game. In particular, the libxayagame library is the primary engine that powers true blockchain games. However, for libxayagame to run on other blockchains, it needs a little helper: enter Xaya X.
Xaya X empowers developers on different blockchains to take advantage of the massive advantages that Xaya offers. Devs need merely point their GSP at Xaya X, and just like magic, they’ve got the most powerful blockchain gaming platform in the world at their fingertips.
The possibilities for developers are endless.
First out of the gates is Xaya X for Ethereum, which opens the doors to any Ethereum-like blockchain, such as xDai, Polygon’s “Internet of Blockchains”, or any of the upcoming rollups like Arbitrum. This open compatibility is a natural fit for Xaya’s blockchain agnosticism and clears the path for developers to build truly decentralised games and apps.
Blockchain agnosticism is an important feature of the Xaya platform as it gives developers limitless possibilities for their blockchain games and dapps. Previously, developers using Xaya could only use the Xaya blockchain. The basic architecture for that looked like this:
In that diagram, the Game State Processor (GSP) contains all of the game logic from the game developer, but it has a couple components.
To zoom in on the GSP, we can see that the GSP consists of libxayagame and the developer’s game logic. That looks like this:
Using libxayagame, the GSP would receive data (i.e. moves in a game) from the Xaya blockchain (i.e. through xayad or an SPV wallet such as Electrum). The game logic would take that information and use it to update the front end.
With Xaya X, it’s slightly different, but not by much.
Xaya X simply functions as an interface or translator between a blockchain and the Xaya platform, specifically between that blockchain and libxayagame.
For example, a game developer could use Polygon, so the above diagram would simply look like this:
The possibilities are endless. Imagine that you’re a game developer using Polygon, but you want to attract a broader audience. How can you do that? One simple way is to add some type of functionality to your game that consumes resources, such as NFTs, inside your own game. For example, you may wish to select 1 or more collections of NFTs on the Polygon blockchain and inside of your game, give them some type of functionality. Here’s a more concrete example: CryptoSkulls or CryptoSharks as avatars. Anyone that owns one could use it in your game as their avatar. Heck, there’s nothing to prevent you from letting players use assets from other games. You could include some from Neon District or Ethermon even. For that scenario, the basic architecture would then look like this:
In this way, Xaya X opens up an omniverse of blockchains where there are no limits other than your imagination.
Xaya X is fully open source and licensed under the highly permissive MIT License, giving developers incredible freedom to create without limits. It is available for free in the Xaya GitHub repository here:
Want to know more about the benefits of blockchain for gaming?
Join the conversation:
Find out more about the Xaya platform and its components:
Tutorials & Documentation
Game Channels demo (2)