NexaLink

NexaLink

Multi-chain web3 NFT game powered by Zero-knowledge proofs

135
Built at Unfold 2023

The problem NexaLink solves

NexaLink is an NFT game wherein players can compete to win NFTs or crypto rewards. It employs the concept of fragmenting NFT data into recombinable parts. A user can create a new game by contributing any NFT of their choice to the game, using the "Create Game" section. Within this interface, they can select an NFT from their inventory. After making their selection, they can initiate the process by clicking "Play with the NFT." At this point, the NFT's metadata undergoes a transformation via the Shamir's Secret Sharing scheme. This process fragments the metadata into distinct components, which are subsequently distributed across randomized addresses on various blockchain networks. We have currently implemented this using Fuji, Goerli and Mumbai testnetworks, with the help of the Wormhole bridge.
Following the fragmentation and distribution of the NFT's metadata, a unique Game ID and this serves as the key that enables other players to participate in the competition to win the NFT. Players who possess a Game ID can access the game interface and participate in the competition. Each new player must add a deposit to be eligible to play.
Upon successfully solving various puzzles presented within the game, players are granted access to the various contract addresses where the NFT is stored across multiple blockchain networks. This the secret value which can be used to gain ownership of the original NFT. A zero-knowledge proof (ZKP) is generated with this data, and the player can use the ZKP to prove possesssion of the secret, without publicly revealing the original value. For each unsuccessful attempt, the deposit of the player is lost and it goes to the game creator. The winner of the competition is presented with two distinct options for their reward, either receive their reward in the form of SUI NXC coins, providing a liquid and tradable value or the winner has the option to claim the NFT as their own using the ZKP, taking ownership of the unique digital asset.

Challenges we ran into

Integrating Sui was a major challenge. But we were able to implement it with support from the documentation and mentors.

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