일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- error
- Interface
- 삶
- hardhat
- graphQL
- concept
- built in object
- Props
- blockchain
- typeScript
- HTML
- REACT
- Ethereum
- nextJS
- middleware
- API
- solidity
- tailwindcss
- node.js
- bitcoin
- CLASS
- Redux
- web
- CSS
- useState
- 기준
- express.js
- evm
- SSR
- JavaScript
- Today
- Total
목록Blockchain (89)
ReasonJun

ethers.utils.parseUnits() is a utility function provided by the ethers.js library, which is commonly used for Ethereum development. This function is used to convert a decimal number into its equivalent representation in a specific Ethereum denomination, typically in Wei. In Ethereum, the smallest unit of Ether is Wei. 1 Ether is equal to 10^18 Wei. So, when working with Ether values, it's common..

ERC-20 is a technical standard for fungible tokens on the Ethereum blockchain. Fungible tokens are interchangeable with each other, meaning that one token is worth the same as any other token of the same type. This is in contrast to non-fungible tokens (NFTs), which are unique and cannot be replaced. The ERC-20 standard defines a set of rules that all ERC-20 tokens must follow. These rules inclu..

Sol2uml is a tool that can be used to generate UML (Unified Modeling Language) diagrams from Solidity smart contracts. UML is a standard language for modeling software systems. By generating UML diagrams from Solidity smart contracts, developers can better understand the structure and design of their contracts. Sol2uml works by parsing the Solidity code and extracting information about the class..

Hardhat-gas-reporter is a plugin for the Hardhat testing framework that can be used to measure the gas usage of Solidity smart contracts. Gas is a unit of measurement for the computational effort required to execute specific operations on the Ethereum blockchain. By measuring the gas usage of a smart contract, developers can identify areas of the code that are consuming a lot of gas and make cha..

Solidity-coverage is a tool that can be used to measure the code coverage of Solidity smart contracts. Code coverage is a measure of how much of the code in a program has been executed. This can be used to identify areas of the code that are not being tested, and to improve the quality of the test suite. Solidity-coverage works by instrumenting the Solidity code with coverage probes. These probe..
import { ethers } from "hardhat"; const contractAddress = "0x5FbDB2315678afecb367f032d93F642f64180aa3"; async function purchase(amount: number) { const VendingMachine = await ethers.getContractFactory("VendingMachine"); const vendingMachine = await VendingMachine.attach(contractAddress); const topic = [vendingMachine.filters.Purchase().topics!].toString(); const filter = { address: contractAddre..