Clone the repo:
git clone https://github.com/saisilinus/saisi_nft-marketplace.git
cd saisi_nft-marketplace
Install the dependencies:
npm install
Set the environment variables:
cp .env.example .env
# open .env and modify the environment variables
Set up .secret:
cp .secret.example .secret
# open .secret and add your private key
Change hardhat network configuration:
- Open hardhat.config.js
- Change networks.polygon_mumbai.url to your Alchemy API URL
Deploy the smart contract:
npm run deploy:polygon
Running locally:
npm run dev
Running in production:
npm run start