Skip to content
Ultramarine Game Protocol

Ultramarine Game Protocol

Game protocol for building games based on cryptographically secure randomness.

Created on 19th February 2023

•

Ultramarine Game Protocol

Ultramarine Game Protocol

Game protocol for building games based on cryptographically secure randomness.

The problem Ultramarine Game Protocol solves

What is the Ultramarine Game Protocol?

It is a Game Protocol with which any user will create his decentralized games based on cryptographically secure randomness.
The user does not need to have deep knowledge in blockchain development, because the game creation and configuration can be done in the interface of the web application.

The categories of users who will interact with Ultramarine can be divided into:

  • Game creators - these are the users who will create games, add liquidity to them and run advertising campaigns to attract players;
  • Players are the users who will interact with Ultramarine through the web application interface.
  • Developers are the users who will create their own interesting solutions for Ultramarine, exchange data in Web3 between smart contracts or in Web2 via the Ultramarine subgraph in TheGraph Protocol.

At this stage of development, the Ultramarine Game Protocol has these features:

  • To create a new game, you need to come up with its name, background color, and emoji for two NFT cards (there is no limit to the number of cards in a smart contract);
  • At each draw, an NFT is minted with the card the player bet on;
  • The NFT token is stored on-chain and is generated on the fly with the game result metadata;
  • The liquidity in the game is added by the creator and the maximum bet is calculated based on it (by default it is 10-th part of the liquidity).
  • Winnings are credited to the player's Intra-game balance in a smart contract and can be withdrawn at any time;
  • Chainlink VRF is responsible for cryptographically secure randomness;
  • With Push Protocol, it is possible to receive notifications from the smart contract about the state of liquidity in the game;
  • The Ultramarine subgraph in TheGraph Protocol indexes new game data;
  • Smart contracts are deployed in Polygon and Filecoin test networks.

Challenges I ran into

Deployment of the subgraph.

Deployment of a smart contract to filecoin.

  • The logs that are sent after interacting with the smart contract are slightly different from Polygon.

Deployment of a smart contract with an on-chain NFT.

  • An error occurred due to the large size of the smart contract.

The problem with Push Protocol.

  • There was an error in the website interface when changing the network to Polygon (the error was fixed within a few hours).

Tracks Applied (8)

Polygon: NFT Gaming application

The Smart Contract is deployed on the Polygon network. Mumbai: 0x36c4E4f98D82944515D87b0aad0CD263588039d8 Each user has ...Read More
Polygon Technology

Polygon Technology

Polygon: DeFi Integrated Metaverse & Gaming

The Smart Contract is deployed on the Polygon network. Mumbai: 0x36c4E4f98D82944515D87b0aad0CD263588039d8 It's more than...Read More
Polygon Technology

Polygon Technology

Polygon: Open Track

The Smart Contract is deployed on the Polygon network. Mumbai: 0x36c4E4f98D82944515D87b0aad0CD263588039d8 It's more than...Read More
Polygon Technology

Polygon Technology

Filecoin Virtual Machine

The smart contract is deployed on the Filecoin network. Hyperspace: 0x69B82B2c6Bd2Ce9b562aAAe40aD3A57FE7d7086f
Filecoin

Filecoin

Chainlink

Chainlink VRF is used to generate cryptographically secure randomness. https://github.com/UltramarineApp/contracts/blob/...Read More
Chainlink

Chainlink

The Graph: New Subgraph(s)

The Ultramarine subgraph in TheGraph Protocol was created. https://thegraph.com/hosted-service/subgraph/alexbakers/ultra...Read More
The Graph

The Graph

Quicknode: Built on QuickNode RPC

Quicknode RPC is used to interact with smart contracts. https://github.com/UltramarineApp/UltramarineApp.github.io/blob/...Read More
QuickNode

QuickNode

Push Protocol

Push Protocol sends notifications about the state of liquidity in the game. https://github.com/UltramarineApp/contracts/...Read More
Push Protocol

Push Protocol

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio