일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- built in object
- blockchain
- nextJS
- tailwindcss
- hardhat
- Ethereum
- Interface
- useState
- API
- bitcoin
- node.js
- 삶
- 기준
- middleware
- JavaScript
- solidity
- Props
- evm
- web
- SSR
- CSS
- error
- CLASS
- REACT
- Redux
- graphQL
- HTML
- express.js
- concept
- typeScript
- Today
- Total
목록전체 글 (375)
ReasonJun
The send() function in Solidity is used to send Ether to an address. It takes two arguments: the address to send the Ether to and the amount of Ether to send. The send() function returns a boolean value indicating whether the transfer was successful. If the transfer was successful, the function returns true. If the transfer was unsuccessful, the function returns false. The send() function is a l..
The Payable keyword in Solidity is used to declare a function or address that can receive Ether. When you declare a function as payable, it means that the function can be called with Ether attached. The Ether that is sent to the function will be stored in the contract's balance and can be used by other functions in the contract. You can also declare an address as payable. This means that Ether c..
Externally Owned Accounts (EOAs): These accounts are controlled by private keys and are typically used by individuals and businesses to store and send Ether and other ERC-20 tokens. Contract Accounts (CAs): These accounts are controlled by smart contracts and are typically used to implement decentralized applications (DApps) and other complex functionality. Here is a table that summarizes the ke..

The Travel Rule in crypto is a regulation that requires virtual asset service providers (VASPs) to collect and share certain information about their customers when sending or receiving virtual assets above a certain threshold. This information includes the customer's name, address, date of birth, and account number. The Travel Rule was first introduced by the Financial Action Task Force (FATF) i..
The try / catch statement in Solidity is used to handle errors in external function calls and contract creation. It is similar to the try / catch statement in other programming languages, but there are some important differences. How to use try / catch To use the try / catch statement, you first need to wrap the external function call or contract creation in a try block. The try block will be ex..
The require() function in Solidity is used to check for certain conditions before executing a function. If the condition passed to the require() function evaluates to false, the function will throw an exception and the transaction will be reverted. The require() function is typically used to check for valid input data or to verify that a certain state invariant is true. For example, the followin..
The revert() function in Solidity is used to revert a transaction and undo all state changes that have been made so far. It can be used to handle errors or to prevent invalid state changes from happening. The revert() function can be used in a number of ways. For example, it can be used to: Check for invalid input data and revert the transaction if the input data is invalid. Check for state inva..
The assert() function in Solidity is used to check for internal errors. If the condition passed to the assert() function evaluates to false, the function will throw an exception and the transaction will be reverted. The assert() function is typically used to check for invalid input data or to verify that a certain state invariant is true. For example, the following code uses the assert() functio..
Encapsulation Encapsulation is one of the four main principles of OOP, often referred to as the four pillars of OOP, which also include inheritance, polymorphism, and abstraction. Encapsulation involves bundling data (attributes or properties) and methods (functions or procedures) that operate on that data into a single unit, known as a class. This class acts as a blueprint for creating objects,..
Solidity is an object-oriented programming language, which means that it supports the concepts of classes, objects, and methods. Class A class is a blueprint for creating objects. It defines the structure and behavior of objects. A class can contain state variables, functions, and other classes. Object An object is an instance of a class. It has the state variables and functions defined in the c..