TheThingGoesSkra / Lokian.eth

Trading card game dapp featuring nfts, sharing, fighting, and breeding creatures in solidity blockchains

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lokian.eth: A trading card game dapp featuring NFT cards, share, fight and breed mythical creatures in solidity blockchains.


This project was developed as a module coursework.

Thanks to Stamatis Kourkotas from

Imperial College London: MSc in Computing (Software Engineering)
Module: Principless of Distributed Ledgers
Project Description: Found in included report

This project was bootstrapped with Create React App.

Steps for deployment and use of our DApp

  • Firstly, deploy our smart contract found in src/project.eth.sol. We tested this locally on a private blockchain using Ganache

  • In the main file of our user interface src/App.tsx specify the address where you deployed the contract in the constant CONTRACT_ADDRESS.

  • Install the metamask extension on your browser to handle your provate blockchain account. The project has been tested with the Chrome and Mozilla browsers.

  • In the project directory run:

    npm install This installs all the necessary dependencies to build our application

    npm start This runs the app in development mode.

  • Open http://localhost:3000 to view it in the browser. You can see all the Creatures owned by the current metamask account and play the game.

Remaining Tasks

Finished

  • Change naming e.g. cryptoMons to creatures 6/28/2021
  • Change to 8bit theme for ui 07/02/2021
  • Fix ui responsiveness and css, 07/14/2021
  • Change creature names and artwork (mvp) 09/13/2021
  • Convert frontend to typescript (mvp) 10/10/2021
  • Fix wallet, use web3-react and injected connector (mvp) 10/10/2021
  • Fix logo, create an 8 bit representation of the logo (mvp) 10/26/2021
  • Create erc-1155 smart contract that will mint nfts, tests (mvp) 10/27/2021
  • Create faucet page for getting nfts or tokens (mvp) 11/9/2021
  • Breed then mint, pinJson, payable (mvp) 11/21/2021
  • free packs are not nft not payable, basic to advance packs are nfts and payable (mvp) 11/29/2021
  • breed mons are nft, payable (mvp) 11/29/2021
  • Change contract to accept IERC20 e.g. USDT, instead of native token. For easy price maintenance. (mvp) 12/8/2021
  • Create meme token functions (100 trillion, mvp) 12/8/2021
  • Fight function extension, earn meme token when you win (mvp) 12/8/2021
  • Record highscore function in game contract. 12/16/2021

Ongoing

  • Test create, breed, mint mon packs functionality (mvp)

  • Pay with meme token to set on-chain record e.g. name or address or title, wins 120 loss 2 (mvp)

  • Set frontend in pinata or ipfs, use bit.ly(shorten url) atm (mvp)

  • Deploy and test to rinkeby or evm-compatible testnets (mvp)

  • Deploy to eth or evm-compatible mainnets (mvp)

  • Create landing page in ipfs, buy domain name($1-5), tg ann, twitr page (mvp)

  • Submit to dappradar, IGOs, state of the dapps, etc (mvp)

Roadmap

  • October 2021, Development and Tests..ok
  • November 2021, Test and deploy to testnet..delayed
  • December 2021, Deploy to mainnet
  • January 2022, Initial PvP development
  • February 2022, PvP on testnet then mainnet
  • March 2022, Initial Moba development

About

Trading card game dapp featuring nfts, sharing, fighting, and breeding creatures in solidity blockchains

License:GNU General Public License v2.0


Languages

Language:TypeScript 51.4%Language:Solidity 29.4%Language:JavaScript 11.0%Language:CSS 6.1%Language:HTML 2.1%