Skip to content

Instantly share code, notes, and snippets.

@dharniel45
Created July 8, 2022 14:27
Show Gist options
  • Select an option

  • Save dharniel45/21040cbeb0d234446d3be8aaccbdd6aa to your computer and use it in GitHub Desktop.

Select an option

Save dharniel45/21040cbeb0d234446d3be8aaccbdd6aa to your computer and use it in GitHub Desktop.
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