The GP Developer Hub

START DEVELOPING WITH GAME PROTOCOL
Speed, privacy and security are just few of the many benefits Game Protocol brings
to both gamers and developers.
Crypto-Wallet for Game Engines
We offer our supporters our own Game Protocol wallet. It is a Unity 3D-based wallet which accepts all Ethereum-based tokens such as Game Protocol Token (GXT).
Wagering Smart Contract
Developers have the ability to allow players to wager GXT on certain games. All funds on our wagering platform are secured by a smart contract and all games are provably fair via blockchain technology.
Random Number Generator
Game Protocol offers developers a random number generator which can be checked and verified on the blockchain. This guarantees fairness and that no tampering could have taken place.

Developer Tutorials  

Written and maintained by our community of developers, here you will find a variety of different tutorials that help you get started in developing games. Whether you're a beginner or experienced , this is the perfect place to get started.

Crypto-Wallet for Games

Game Protocol provides crypto-wallet plugins for the most widely used game engines starting with Unity3D and the Unreal engine. The wallet has the following functionalities: creating, exporting, importing, removing (not destroying) a wallet account, the ability to have multiple wallet accounts, requesting Ether and tokens amounts ,and lastly transferring Ether and tokens between two wallet addresses. The wallet accounts are stored securely.
Learn More

Wagering Platform

Game Protocol’s platform allows wagering on multiplayer games, should the developer incorporate it. In order to successfully place a wager, the bet limit of the player should be considered and understood by the game server. The bet limit is generally the balance of the player’s wallet or the player’s manual limits. Once the game understands the player’s bet limits, the player then needs to clarify the betting amount, which activates the search algorithm for an opponent with a similar betting amount. Using smart contracts, when both players are matched, the game server finally sends a “start” match request so that players can hold the betting funds in a secure Escrow smart contract until the winner is declared by the game server. Both players have their wager amounts secured in an Escrow contract that would only be paid out to the winner at the end of the match, leaving no possibility for corruption or third-party tampering of any kind. The player only pays a fixed fee for the match, as all gas consumption is paid by the operator.
Learn More

Random Number Generator


The seed of the Random Number Generator (RNG) algorithm is generated on the blockchain via the RNG smart contract.Initially, the user makes a search request to the server to find an opponent. When an opponent is found, the server requests that both players pay the bet and fee amount via the wagering smart contract. The wagering smart contract is part of the toolset provided by Game Protocol, as described in the segment above. Once the bet and fee are deducted from both user’s wallets, the server opens the match for them.The server supplies random numbers for each turn via an RNG algorithm. In order to verify that the numbers are truly random, the server makes a request to the RNG smart contract for a seed value and a unique ID.The RNG smart contract creates a seed and unique ID values, encrypts them, and sends the results to the server. It is later saved  in the blockchain, so it is visible to everyone. The server then receives the encrypted seed and ID value from the smart contract, decrypts them, and saves them in the match properties. According to the seed value, the server generates the numbers each turn and broadcasts the turn with the numbers to the players. At the end of the match, the server saves the seed and the unique ID in the database under the match history section. The player is able to cross-check the seed value in their match history with the one present on the blockchain with the matching unique ID that is provided.With the seed value, the user can recreate all the numbers played in the match with their precise order and match it with the actual numbers in order to verify that there was no manipulation at hand.
Learn More

Developer Community

Evaluate, learn, contribute, and influence your and other’s projects! Join and take part in our developer community! Our community is a central hub of game developers that could assist fellow developers with common issues and bugs and can also provide feedback regarding your game.
Forums