일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- graphQL
- API
- 기준
- HTML
- 삶
- Interface
- Props
- tailwindcss
- built in object
- solidity
- express.js
- CLASS
- SSR
- JavaScript
- blockchain
- evm
- concept
- CSS
- web
- useState
- Ethereum
- middleware
- REACT
- hardhat
- nextJS
- error
- typeScript
- node.js
- Redux
- bitcoin
- Today
- Total
목록Blockchain (89)
ReasonJun
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/1NyFG/btsDwC1mtVW/Pu112EGJ9b4gGMlVwRPMY0/img.png)
Block represents an Ethereum block. Note the Block type tries to be 'immutable', and contains certain caches that rely on that. The rules around block immutability are as follows: We copy all data when the block is constructed. This makes references held inside the block independent of whatever value was passed in. We copy all header data on access. This is because any change to the header would..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/lGI4E/btsC7npCxrS/Y4FKNPPSfdMkMXYKKSxEGK/img.png)
In the case of Bitcoin blockchain, state values are managed based on UTXO. The user's balance is managed by updating the UTXO usage status whenever a new block is created. In the case of the Ethereum blockchain, the state value of balance data is stored in the Account based on the state, and the balance is updated every time a block is created. Types of Accounts: There are two main types of acco..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/b6CC1W/btsC6ToEIeL/istmKlkOAKvM8cnEOgOe6K/img.png)
Ethereum uses a Key-Value based DB (leveldb). By using the hashed value of the address as the key and using the address as the path as shown in the picture on the below, you can find out the state value of the account. Ethereum Tries The Tries used in Ethereum are Storage Trie, State Trie, Transaction Trie, and Receipts Trie. Among these, the Root Hash value stored in the Block Header is State T..
the new PUSH0 opcode in Solidity 0.8.20. It discusses what the opcode is and why it is needed. It also goes into the benefits of using PUSH0, such as reducing contract size and gas costs. Finally, the article provides a warning about using PUSH0 on other chains besides Ethereum mainnet. Here is a more detailed summary of the article: PUSH0 is a new opcode in Solidity 0.8.20 that allows developer..
The abi.encodePacked() function is a built-in Solidity function that is used to encode multiple values into a single byte array. The function takes any number of arguments and concatenates them into a single byte array. The abi.encodePacked() function is typically used to encode data that is going to be passed to a contract function. For example, the following code would encode the string "Hello..
ERC-1155 is a token standard for representing both fungible and non-fungible tokens (NFTs) on the Ethereum blockchain. It is a single standard that can be used to represent a wide variety of assets, such as game items, collectibles, and even real-world assets. ERC-1155 tokens are identified by two values: a token ID and a balance. The token ID is a unique identifier for the type of token, while ..