├── .env.example ├── .gitignore ├── .npmignore ├── .prettierignore ├── .prettierrc ├── .solhint.json ├── .solhintignore ├── README.md ├── contracts ├── NftMarketplace.sol ├── sublesson │ └── ReentrantVulnerable.sol └── test │ ├── BasicNft.sol │ └── BasicNftTwo.sol ├── deploy ├── 01-deploy-nft-marketplace.js ├── 02-deploy-basic-nft.js └── 03-update-front-end.js ├── hardhat.config.js ├── helper-hardhat-config.js ├── img ├── connected.png ├── down-arrow.png ├── functions.png └── hero.png ├── package.json ├── scripts ├── buy-item.js ├── cancel-item.js ├── mine.js ├── mint-and-list-item.js └── mint.js ├── test └── unit │ ├── NftMarketplace.test.js │ └── basicNft.test.js ├── utils ├── move-blocks.js └── verify.js └── yarn.lock /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | hardhat.config.js 2 | scripts 3 | test 4 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/.prettierrc -------------------------------------------------------------------------------- /.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/.solhint.json -------------------------------------------------------------------------------- /.solhintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | contracts/test -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/README.md -------------------------------------------------------------------------------- /contracts/NftMarketplace.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/contracts/NftMarketplace.sol -------------------------------------------------------------------------------- /contracts/sublesson/ReentrantVulnerable.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/contracts/sublesson/ReentrantVulnerable.sol -------------------------------------------------------------------------------- /contracts/test/BasicNft.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/contracts/test/BasicNft.sol -------------------------------------------------------------------------------- /contracts/test/BasicNftTwo.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/contracts/test/BasicNftTwo.sol -------------------------------------------------------------------------------- /deploy/01-deploy-nft-marketplace.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/deploy/01-deploy-nft-marketplace.js -------------------------------------------------------------------------------- /deploy/02-deploy-basic-nft.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/deploy/02-deploy-basic-nft.js -------------------------------------------------------------------------------- /deploy/03-update-front-end.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/deploy/03-update-front-end.js -------------------------------------------------------------------------------- /hardhat.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/hardhat.config.js -------------------------------------------------------------------------------- /helper-hardhat-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/helper-hardhat-config.js -------------------------------------------------------------------------------- /img/connected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/img/connected.png -------------------------------------------------------------------------------- /img/down-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/img/down-arrow.png -------------------------------------------------------------------------------- /img/functions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/img/functions.png -------------------------------------------------------------------------------- /img/hero.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/img/hero.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/package.json -------------------------------------------------------------------------------- /scripts/buy-item.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/scripts/buy-item.js -------------------------------------------------------------------------------- /scripts/cancel-item.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/scripts/cancel-item.js -------------------------------------------------------------------------------- /scripts/mine.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/scripts/mine.js -------------------------------------------------------------------------------- /scripts/mint-and-list-item.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/scripts/mint-and-list-item.js -------------------------------------------------------------------------------- /scripts/mint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/scripts/mint.js -------------------------------------------------------------------------------- /test/unit/NftMarketplace.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/test/unit/NftMarketplace.test.js -------------------------------------------------------------------------------- /test/unit/basicNft.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/test/unit/basicNft.test.js -------------------------------------------------------------------------------- /utils/move-blocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/utils/move-blocks.js -------------------------------------------------------------------------------- /utils/verify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/utils/verify.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/hardhat-nft-marketplace-fcc/HEAD/yarn.lock --------------------------------------------------------------------------------