NFight is a web dapp based on the Ethereum blockchain.
- wallet binding (Metamask)
- mint NFT (import images and create unique assets)
- buy/sell/trade on an open market
NFighT is created with :
- Next.js
- Solidity
- Hardhat
- Ether.js
- IPFS
- Storybook
NFighT requires Node.js v12+ to run.
Clone, install the dependencies.
git clone git@github.com: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
npx hardhat test
- dockerize
- production cloud deploy (gcp/k8s)
- create the NFT card generator
- add the playground UI
- setup the pvp system
MIT