NFT Project on Blockchain
This project is a Smart Contract used for buying, selling and operating some features on a NFT of brand logo promotions. Using the CryptoZombies template as reference.
First of all, you must have installed NodeJS. Then:
- Download this repository.
- In the root directory, execute the
npm installcommand in order to install the required dependencies.
Once dependencies are installed, you can execute the test file with the command:
$ npx hardhat test test/CryptoPromos.js
Change the way we access to the ERC721, start using OpenZeppelin contracts. We can use functions like:
- _safeMint(...)
- _burn(...)
- _baseURI(...)
- tokenURI(...)
- And many more.
This way we can work on the image, description and other aspects of every NFT via json data files.