250x250
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
Tags
- web
- typeScript
- CLASS
- Interface
- JavaScript
- bitcoin
- middleware
- hardhat
- Props
- 삶
- CSS
- solidity
- evm
- node.js
- tailwindcss
- API
- built in object
- concept
- express.js
- useState
- blockchain
- Ethereum
- SSR
- REACT
- Redux
- graphQL
- nextJS
- 기준
- error
- HTML
Archives
- Today
- Total
목록ethers.getContractFactory (1)
ReasonJun
Hardhat : ethers.getContractFactory() / deploy() / deployed()
import { ethers } from "hardhat"; async function main() { console.log('deploying vendingMachine contract') const VendingMachine = await ethers.getContractFactory("VendingMachine"); const vendingMachine = await VendingMachine.deploy(); await vendingMachine.deployed(); console.log(`vendingMachine contract is deployed to ${vendingMachine.address}`); } // We recommend this pattern to be able to use ..
Blockchain/HardHat
2023. 10. 20. 14:46