-
-
Game Logo
-
Signup and Play screen: Connect wallet to make a signature on solana and enjoy the game
-
Trophy Cabinet which shows as previously owned rewards, NFTs minted from The SOLHunt store, allows you to switch game NFT character
-
Serum UI for Token Swap (Alpha feature to be released on devnet soon)
-
Metaplex store for SOLHunt that shows the assets you owned, minted and sold and also royalties, rarities, NFT traits
-
Shows the NFT metadata of the NFT game assets you own and these can be used inside game.
-
Game Architecture
Inspiration
SOLHunt is a lightweight pixel Play To Earn, multiple NFT character dungeon loot game built on the Solana Blockchain, built with Phaser. Our motivation is to enable users to own what they earn.
We grew up with role-playing games in which characters, plots, and items were all important. Our main goal is to give players the sense of accomplishment and ownership. The game's clear 8-bit appearance is a throwback to the early 1990s games, but the gameplay is current and streamlined.
What it does
GAME DATA IS STORED ON-CHAIN WHICH MEANS THAT THE USER CAN'T COLLECT TREASURE (SPL TOKENS) PREVIOUSLY COLLECTED Gameplay: User has to kill monsters, collect loot, collect the hidden key to the token gate to complete the level to get to the SOLANA token, and also beat the deadly Evil Angel. There are lot of challenges on the way as the player has only THREE LIVES and deadly encounters with demons and monsters.
- 🎮 Secure authentication with phantom wallet
- 🎮 In Game Store
- 🎮 NFT rewards as Level Passes (can be seen inside the In-game inventory.
- 🎮 $DUN (SOLHunt game token) Token Rewards as Loot (SPL token)
- 🎮 Auto save game progress on chain
- 🎮 Metaplex Game storefront for buying game characters and using them as game assets as NFT. Every character is Rare and has unique abilities.**
- 🎮 Decentralised storage powered by ARWEAVE
- 🎮 Swap $SOL for $DUN(game token), on Serum DEX swap (ALPHA) in game to deposit token in escrow to play (COMING SOON)
- 🎮 SOLHunt DAO to reward game-artists assets through voting on Solana using $DUN token.
How we built it

Architecture

We had a lot of fun building on Solana and the mentors were really helpful. Solana has a vibrant discord community to help you kickstart building dApps on Solana.
- Phaser is used to build the game, engine and logic
- Anchor Framework for adding Rust smart contracts, web3 js solana for interacting with the Solana Blockchain
- SPL (Solana Programmable Token) for creating token ($DUN game token and NFT tokens).
- Phantom wallet for secure authentication with the Solana Blockchain
- Serum Project swap UI for creating the swap interface.
- Metaplex NFT standard for minting NFTs, creating royalties, and upgrading game assets on chain. Shows the Players NFT maetdata, like rarity, strength of game characters. You can now use multiple characters by buying new NFT characters in Metaplex and use them inside game.
- We used Arweave for decentralised storage of token Metadata.
Challenges we ran into
Projects like these are certainly full of challenges. And we have encountered them nicely. We worked in two teams(Game Dev) and (Blockchain Dev)
- Elio and Sagar handled the game dev and all the game logic, creating assets and rendering it via Phaser engine. More levels are coming up soon
- Shamin and Ashik dealt with the creation of tokens, minting authority, NFT standards, decentralised storage, on-chain mechanisms, Web3 interactivity and tokenised game assets.
Accomplishments that we're proud of
The accomplishments that we are proud are would be:
- Being able to study how to build on Solana.
- Rendering game assets using Tiled and building game dynamics
- Connecting the game to Solana Blockchain using our Rust Smart Contracts and Anchor framework that makes it seamless to build dApps just like truffle and web3 Ethereum development
- Creating logic for using multiple characters in game(which are essentially NFTs) after minting them on Chain using the Metaplex NFT standard. I can say this is one of the best NFT storefronts ever built.
- Introducing some DeFi aspect via the Play2Earn paradigm by integrating a Serum Token DEX inside game.
- Creating an NFT Inventory and using web3 to display all rewards and previously minted NFTs so that the user can keep track of his progress.
- Saving the Progress of the game on chain.
What we learned
Solana was a challenge, given that the community is now growing and there are resources coming up every progressing day for the BUIDL. But we were in constant touch with some mentors and the workshops that helped us to effectively tackle hurdles and build the best we could and we are really happy and proud about that. We also learnt that the serum token DEX is not presently on devnet, so we have to wait to pull of the token DEX integration to swap tokens for game token and vice versa. We also learnt about ARWeave having previously built with IPFS for decentralised storage. Moreover we formed a good network with influential people from the Solana community.
What's next for SOLHunt
- SOLHunt DAO to reward game artists through on-chain voting for contributing assets.
- More levels and story based challenges.
- Price feeds and Oracle services from Chainlink to be able to use real world data inside game and get dynamic programmable NFTs with Oracle data.
- Better game physics and full fledged token DEX on testnet.
- Multiple weapons through metaplex
- Multiplayer functionality using Escrows where two parties stake and the winner takes all the money.
- Huge presale of NFTs based on upcoming features and challenges.
Game repo:
Connect Wallet

Gameplay

SOLHunt Trophy Cabinet

SOLHunt Store

SOLHunt Game token Swap DEX




Log in or sign up for Devpost to join the conversation.