11 lines
318 B
JavaScript
11 lines
318 B
JavaScript
const { ethers, upgrades } = require("hardhat");
|
|
|
|
async function main() {
|
|
const Contributor = await ethers.getContractFactory("Contributor");
|
|
const contributor = await upgrades.deployProxy(Contributor, []);
|
|
await contributor.deployed();
|
|
console.log("Contributor deployed to:", contributor.address);
|
|
}
|
|
|
|
main();
|