Git Product home page Git Product logo

nfight's Introduction

NFighT

Mint NFT, trade it and play!

NFight is a web dapp based on the Ethereum blockchain.

Alt text Alt text Alt text

Features

  • wallet binding (Metamask)
  • mint NFT (import images and create unique assets)
  • buy/sell/trade on an open market

Tech

NFighT is created with :

  • Next.js
  • Solidity
  • Hardhat
  • Ether.js
  • IPFS
  • Storybook

Installation

NFighT requires Node.js v12+ to run.

Clone, install the dependencies.

git clone [email protected]:bsisic/nfight.git
cd nfight
npm i

Configure at the root of the project run:

touch .secret
touch config.js

add your raw private key in .secret file and copy/paste this in your config.js file

export const nftmarketaddress = ""
export const nftaddress = ""

open your terminal and run the following command to spin up a local network

npx hardhat node

this should create a local network with 19 accounts

then, keep the node running and in a new terminal window run

npx hardhat run scripts/deploy.js --network localhost

fill the empty strings in the config.js file with the contract addresses printed out by the CLI

add some of the accounts in your Metamask extension and start your app with :

npm run dev

Test

/test

npx hardhat test

To do

  • dockerize
  • production cloud deploy (gcp/k8s)
  • create the NFT card generator
  • add the playground UI
  • setup the pvp system

License

MIT

nfight's People

Contributors

mario2206 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nfight's Issues

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.