This is the completed version of the NFT marketplace app from the attached workshop.
First, clone the repo and install the dependencies:
git clone https://github.com/dabit3/full-stack-ethereum-marketplace-workshop.git
cd full-stack-ethereum-marketplace-workshop/marketplace-example
yarn
# or
npm installNext, run a local Ethereum node:
npx hardhat nodeDeploy the smart contract to the local node:
npx hardhat run scripts/deploy.js --network localhostRunning the above command should print out the addresses where the contract was deployed. Update config.js with those values:
export const nftaddress = "nft-contract-address"
export const nftmarketaddress = "marketplace-address"Next, run the development server:
npm run dev
# or
yarn dev