Install Hardhat
npm install --save-dev hardhat
Initiate a new Hardhat project (in empty directory)
npx hardhat
| import ReactDOM from 'react-dom'; | |
| import React from 'react'; | |
| import Gist from 'react-gist'; | |
| import './style.css'; | |
| const root = document.getElementById('root'); | |
| from requests_html import HTMLSession | |
| from bs4 import BeautifulSoup | |
| session = HTMLSession() | |
| all_git_ignore = [] | |
| def _fetchAllModuleData(): | |
| r = session.get("https://github.com/github/gitignore/") | |
| soup = BeautifulSoup(r.content,'lxml') | |
| import 'package:flutter/material.dart'; | |
| class HomePage extends StatefulWidget { | |
| @override | |
| _HomePageState createState() => _HomePageState(); | |
| } | |
| class _HomePageState extends State<HomePage> { | |
| var x, y, sum; | |
| pragma solidity 0.8.0; | |
| // We need some util functions for strings. | |
| import "@openzeppelin/contracts/utils/Strings.sol"; | |
| import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; | |
| import "@openzeppelin/contracts/utils/Counters.sol"; | |
| import "hardhat/console.sol"; | |
| contract MyEpicNFT is ERC721URIStorage { |