Skip to content

Commit 40d1448

Browse files
author
justintsugranes
committed
update deploy-fund-me
1 parent 682ae8f commit 40d1448

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// First Method
2+
// async function deployFunc(hre) {
3+
// console.log("Hi")
4+
// }
5+
// module.exports.default = deployFunc
6+
7+
// Second Method
8+
// module.exports = async (hre) => {
9+
// const { getNamedAccounts, deployments } = hre
10+
// }
11+
12+
// Third Method
13+
// Nameless async function
14+
module.exports = async ({ getNamedAccounts, deployments }) => {
15+
const { deploy, log } = deployments
16+
const { deployer } = await getNamedAccounts()
17+
const chainId = network.config.chainId
18+
}

0 commit comments

Comments
 (0)