project screenshot 1
project screenshot 2
project screenshot 3

Lensgame

A decentralised game and in-game item marketplace built on Lensprotocol.

Lensgame

Created At

HackFS 2022

Winner of

trophy

3️⃣5️⃣ IPFS/Filecoin — Storage Mage

Project Description

This project is made of 2 parts; Lensgame, and the Lensgame Marketplace.

Lensgame is an online game that is accessible to anyone. However, some parts of the game are token-gated, which means that people will have to pay to gain access.

Lensgame Marketplace is a decentralized marketplace for people to buy and sell in-game items. This marketplace is built on top of Lensprotocol’s Publications and Collects feature.

The token-gated parts of Lensgame are posted to Lensprotocol with a Collect Module. It can be made free, limited fee, limited time fee, and so on. Only those who collect these items on the Lensgame Marketplace will have access to the token-gated parts on Lensgame.

How it's Made

This game is built using Unity and embedded in a simple web app. It takes advantage of Lensprotocol's Publications and Collects feature to create token-gated access to some parts of the game. Advanced levels of the game are published to Lensprotocol and can be collected by players for them to gain access.

In order to publish the items on Lensprotocol, its metadata is first uploaded to IPFS. After uploading it to IPFS, it is then uploaded to Lensprotocol where anyone with a Lens profile can collect it. The Lensgame Marketplace makes it possible to list and collect these items.

The game also uses ChainSafe's Unity SDK to allow people to connect their wallets so they can have access to the token-gated parts of the game.

background image mobile

Join the mailing list

Get the latest news and updates