Created
July 8, 2022 14:27
-
-
Save dharniel45/21040cbeb0d234446d3be8aaccbdd6aa to your computer and use it in GitHub Desktop.
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
| async function main() { | |
| // We get the contract to deploy | |
| const Contract = await ethers.getContractFactory("ClassicBurnNFT"); | |
| const contract = await Contract.deploy(); | |
| await contract.deployed(); | |
| console.log("Contract deployed to:", contract.address); | |
| } | |
| main() | |
| .then(() => process.exit(0)) | |
| .catch((error) => { | |
| console.error(error); | |
| process.exit(1); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment