/NFTKAET

NFTKAET is a NFT marketplace where users can mint their pictures as NFT, list their NFTs for sale, and as well buy NFTs from other user.

Primary LanguageJavaScriptMIT LicenseMIT

NFTKAET

NFTKAET is a NFT marketplace where users can mint their pictures as NFT, list their NFTs for sale, and as well buy NFTs from other user.

πŸ›  Technology Stack & Tools

  • Sophia (Writing Smart Contract)
  • Javascript (NextJs & Unit Testing)
  • aepp-sdk (Blockchain Interaction)
  • aeproject (Smart Contract Development Framework)
  • IPFS (Image Storage)

β›“ Blockchain Protocol used

  • AEX-141 Non Fungible Token Standard

βš™ Requirements For Initial Setup

  • Install NodeJS, should work with any node version above 14.0.0
  • Download and setup Docker
  • Note: on windows WSL 2 must be used

πŸš€ Quick Start

πŸ“„ Clone or fork NFTKAET:

https://github.com/paschal533/NFTKAET.git

πŸ’Ώ Install all dependencies:

$ cd NFTKAET
$ cd frontend
$ npm install 

πŸŽ— Add enviroment varibles

Rename the file env.local.example to env.local

Add all the required enviroment varibles in the file

NEXT_PUBLIC_INFURA_IPFS_PROJECT_ID =
NEXT_PUBLIC_INFURA_IPFS_PROJECT_SECRET =

πŸš΄β€β™‚οΈ Run your App:

npm run dev
  • Note :- This app was deployed to aeternity testnet, so you need to have super hero wallet extension installed on your chrome before you can Interact with the app.

πŸ“„ interacting with the Smart-contract

$ cd NFTKAET
$ cd smart-contract
$ npm install

πŸŽ— Running a local environment

aeproject env

This will run a local Γ¦ternity network in dev-mode (node, compiler and nginx-proxy).

To stop an already spawned local environment use aeproject env --stop

Further explained in Environment Documentation.

πŸ›  Test the Smart-contract:

aeproject test

This will run the tests located in ./test folder. Further explained in Testing Documentation.

πŸ”— Deploy the Smart-contract:

Install aepp-cli

sudo npm i -g @aeternity/aepp-cli

Then create a wallet with aecli

aecli account create sample-wallet

Deploy the smart contract with the wallet you created

aecli contract deploy sample-wallet --contractSource contracts/NFTMarketplace.aes

πŸ“„ Smart-contract address

ct_25dDFHCSJYAGUssjuqWvnrMRCbvGWveo5sPXMJZiCLeyNsEC5H

πŸ“œ aeternity Testnet Explorer

https://explorer.testnet.aeternity.io/contracts/transactions/ct_25dDFHCSJYAGUssjuqWvnrMRCbvGWveo5sPXMJZiCLeyNsEC5H