├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── backend ├── package.json ├── server.js └── src │ ├── app.js │ ├── config │ └── db.js │ ├── controllers │ └── listingsController.js │ ├── models │ └── listingModel.js │ ├── routes │ └── listingsRoutes.js │ └── utils │ └── verifySignature.js ├── contracts ├── .solhint.json ├── .solhintignore ├── contracts │ ├── Marketplace.sol │ ├── SimpleNFT.sol │ └── SnowNFT.sol ├── hardhat.config.ts ├── package.json ├── test │ └── marketplace.ts ├── tsconfig.json └── yarn.lock ├── frontend ├── .next │ └── trace ├── next.config.js └── src │ ├── pages │ ├── index.tsx │ └── list.tsx │ └── types │ └── global.d.ts └── shared └── constants.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/backend/package.json -------------------------------------------------------------------------------- /backend/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/backend/server.js -------------------------------------------------------------------------------- /backend/src/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/backend/src/app.js -------------------------------------------------------------------------------- /backend/src/config/db.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/backend/src/config/db.js -------------------------------------------------------------------------------- /backend/src/controllers/listingsController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/backend/src/controllers/listingsController.js -------------------------------------------------------------------------------- /backend/src/models/listingModel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/backend/src/models/listingModel.js -------------------------------------------------------------------------------- /backend/src/routes/listingsRoutes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/backend/src/routes/listingsRoutes.js -------------------------------------------------------------------------------- /backend/src/utils/verifySignature.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/backend/src/utils/verifySignature.js -------------------------------------------------------------------------------- /contracts/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/contracts/.solhint.json -------------------------------------------------------------------------------- /contracts/.solhintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/contracts/.solhintignore -------------------------------------------------------------------------------- /contracts/contracts/Marketplace.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/contracts/contracts/Marketplace.sol -------------------------------------------------------------------------------- /contracts/contracts/SimpleNFT.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/contracts/contracts/SimpleNFT.sol -------------------------------------------------------------------------------- /contracts/contracts/SnowNFT.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/contracts/contracts/SnowNFT.sol -------------------------------------------------------------------------------- /contracts/hardhat.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/contracts/hardhat.config.ts -------------------------------------------------------------------------------- /contracts/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/contracts/package.json -------------------------------------------------------------------------------- /contracts/test/marketplace.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/contracts/test/marketplace.ts -------------------------------------------------------------------------------- /contracts/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/contracts/tsconfig.json -------------------------------------------------------------------------------- /contracts/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/contracts/yarn.lock -------------------------------------------------------------------------------- /frontend/.next/trace: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/frontend/.next/trace -------------------------------------------------------------------------------- /frontend/next.config.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /frontend/src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/frontend/src/pages/index.tsx -------------------------------------------------------------------------------- /frontend/src/pages/list.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/frontend/src/pages/list.tsx -------------------------------------------------------------------------------- /frontend/src/types/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/partht1011/NFT-MarketPlace/HEAD/frontend/src/types/global.d.ts -------------------------------------------------------------------------------- /shared/constants.js: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------