This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 🤔 Prerequisites | |
| Lerna | |
| `npm install --global lerna` | |
| ts-node | |
| `npm install --global ts-node` | |
| node-js | |
| `https://nodejs.org/en/download/current/` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: MIT OR Apache-2.0 | |
| pragma solidity ^0.8.4; | |
| import "@openzeppelin/contracts/utils/Counters.sol"; | |
| import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; | |
| import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; | |
| import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
| contract NFT is ERC721URIStorage { | |
| using Counters for Counters.Counter; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict'; | |
| let refCounter = 0; | |
| /** This plugin adds the options of the provided loaders to Webpack's RuleSet reference. | |
| * This allows you to refer to this config by an `ident` name and avoid the options serialization. | |
| * | |
| * The simpler use case is forcing a loader by using a require query string, if the needed configuration has | |
| * functions or not serializable objects, you'll have to use this `ident` plugin. | |
| * | |
| * If the provided loaders options do not have an `ident` property, one is generated. |