A full stack digital marketplace running on Ethereum with Polygon & Next.js
A full stack digital marketplace running on Ethereum with Polygon & Next.js
This is the codebase to go along with tbe blog post Building a Full Stack NFT Marketplace on Ethereum with Polygon
To deploy this project to Gitpod, follow these steps:
This endpoint will look something like this:
https://8545-copper-swordtail-j1mvhxv3.ws-eu18.gitpod.io/The chain ID should be 1337. If you have a localhost rpc set up, you may need to overwrite it.
To run this project locally, follow these steps.
git clone https://github.com/dabit3/polygon-ethereum-nextjs-marketplace.git
cd polygon-ethereum-nextjs-marketplace
# install using NPM or Yarn
npm install
# or
yarnnpx hardhat nodenpx hardhat run scripts/deploy.js --network localhostnpm run devTo deploy to Polygon test or main networks, update the configurations located in hardhat.config.js to use a private key and, optionally, deploy to a private RPC like Infura.
…If using Infura, update .infuraid with your Infura project ID.
No open issues yet, or sync has not completed.