Contracts for Degen Domain Name Service
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

27 lines
878 B

// Deploy FlexiDegenMetadata contract
// npx hardhat run scripts/factories/flexi/deployMetadata.js --network bsc
async function main() {
const contractName = "FlexiDegenMetadata";
const [deployer] = await ethers.getSigners();
console.log("Deploying contracts with the account:", deployer.address);
console.log("Account balance:", (await deployer.getBalance()).toString());
// deploy contract
const contract = await ethers.getContractFactory(contractName);
const instance = await contract.deploy();
console.log("Metadata contract address:", instance.address);
console.log("Wait a minute and then run this command to verify contracts on Etherscan:");
console.log("npx hardhat verify --network " + network.name + " " + instance.address);
}
main()
.then(() => process.exit(0))
.catch((error) => {
console.error(error);
process.exit(1);
});