Hello hardhat

This commit is contained in:
2021-06-02 16:36:49 +02:00
parent c865c154a4
commit 1425c3664a
5 changed files with 3581 additions and 6344 deletions

View 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();