project screenshot 1
project screenshot 2
project screenshot 3

Delvers

A roguelite game where you can explore, fight, gather and craft using blockchain tech

Delvers

Created At

Superhack 2024

Project Description

This project is an on-chain game where a whitelisted ERC721 can become an "adventurer" and go into a dungeon. In the dungeon you can explore rooms, fighting monsters, avoiding traps, collecting loot from monsters and chests, and crafting loot into better equipment so that you can go deeper and deeper into the dungeon.

How it's Made

The dungeon contract uses the ERC-2535 Diamond protocol - this is very handy for rapidly iterating and adding new features to a game or fixing bugs after it has been deployed. The contract allows creating new separate dungeons as distinct "contract" addresses in a facade pattern which all use the diamond for storage. I used gemforge to manage the deployment of the diamond. I wanted to target Thirdweb and build a client in Unity to allow a player to interact with the dungeon using gasless transactions. However, I got caught up in a few technical issues while trying to do this and wasn't able to get it working. I had not really used Thirdweb before and was impressed by their web UX for managing contracts. It is something that I am going to explore further after the hackathon and continue working on.

background image mobile

Join the mailing list

Get the latest news and updates