Hello hardhat
This commit is contained in:
10
apps/contributor/scripts/create-proxy.js
Normal file
10
apps/contributor/scripts/create-proxy.js
Normal file
@@ -0,0 +1,10 @@
|
||||
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();
|
||||
Reference in New Issue
Block a user