Coder Social home page Coder Social logo

xpquest's Introduction

XPQuest

Built at Lightlink Hackathon

image

An RPG dungeon game wherein the player has to enconter and fight monsters who are guarding chests, and gain loot in ERC-20 DGN (in-game) token (Dungeon Token).

The player has to finally unlock the locked gates by seeking the keys to the token-gate who is locked inside a wall in the dungeon and ultimately defeat the the evil angel who possesses the ultimate key to the Aurora NFT. Once the user collect the Aurora NFT collectible, an NFT is minted to your NFT-Trophy Gallery. These NFTs are verifiably provable and powered by random number generators, which gives them random attributes on-chain.

Architecture

image

Smart Contracts Deployed to Near Aurora l2 Network

image

nftaddress = "0x5c089556FA8814E4A7065188C6bc33FFB6274cA1"

Verify Here on Aurora Testnet Explorer on Near Blockchain

nftmarketaddress ="0x19e741b2d04cd79E1e163cFE7027b02A2B8A6EE5"

Verify Here on Aurora Testnet Explorer on Near Blockchain

Plans for the future

  • To have an in-game DEX, to allow users to swap other tokens on Aurora to DGN token
  • In game marketplace to allow users to buy and sell NFT characters and game potions and equip the same in further levels.
  • 1v1 gameplay between two warriors by staking tokens and fighting for the stake
  • Ability to craft Rare NFTs, by on-chain XP, that is attained while playing the levels.
  • Genesis NFT minting event through a mystery box sale, based on character rarity.

Tools and Tech Stack

  • The game is built on Phaser.
  • The app is built in React
  • IPFS to store NFT metadata
  • We deploy our contracts to Near Auora TestNet.
  • Random Attributes are generated using a random generator on Aurora Testnet
  • Web3 JS is used to interact with the smart contract ABI while emitting in-game events.
  • Near Aurora Blockchain provides the perfect platform to build games due to its scalability and robust infrastructure, and moreover low gas fees..

Contract Addresses:

  • Token Address Dungeon Token $DGN on Aurora TestNet: 0x0522a16271503069a92E3811E868dD3A3cADF752 View here: Aurora Explorer

GamePlay anf Trophy Cabinet Screenshots

Screenshot 2022-07-08 at 7 20 31 PM

image

Screenshot 2022-07-08 at 7 41 07 PM

Screenshot 2022-07-08 at 7 40 38 PM

Screenshot 2022-07-08 at 7 40 32 PM

Screenshot 2022-07-08 at 7 42 06 PM

Screenshot 2022-07-08 at 7 42 18 PM

Screenshot 2022-07-08 at 7 40 17 PM

Screenshot 2022-07-08 at 7 39 47 PM

Screenshot 2022-07-08 at 7 39 57 PM

image

XPQuest Marketplace

This is the place to shop your game assets using the DGN game token and later use these to equip the purchased heroes inside the dungeon based AuroraQuest Game on the NEAR Aurora Testnetwork. You can obtain DGN (Game Native Token) token by swapping an equivalent amount of Aurora Rinkeby ETH on the swap inside our Metaverse.

Smart Contracts Deployed to Near Aurora L2 Network

image

nftaddress = "0x5c089556FA8814E4A7065188C6bc33FFB6274cA1"

Verify Here on Aurora Testnet Explorer on Near Blockchain

nftmarketaddress ="0x19e741b2d04cd79E1e163cFE7027b02A2B8A6EE5"

Verify Here on Aurora Testnet Explorer on Near Blockchain

Screenshot 2022-07-08 at 7 39 47 PM

Screenshot 2022-07-08 at 7 39 57 PM

image

Refer to hardhat.config.js: module.exports = { networks: { testnet_aurora: { url: 'https://testnet.aurora.dev', accounts: [0x${AURORA_PRIVATE_KEY}], chainId: 1313161555, gasPrice: 120 * 1000000000 }, }, solidity: "0.8.4", mocha: { timeout: 600000 } };

xpquest's People

Contributors

shivamagarwal-code avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.