일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- ethers
- git rebase
- ethers typescript
- 체인의정석
- 티스토리챌린지
- chainlink 설명
- ethers type
- erc4337 contract
- 스마트컨트렉트 함수이름 중복 호출
- 러스트기초
- 컨트렉트 배포 자동화
- ethers websocket
- 머신러닝기초
- vue기초
- Vue.js
- ethers v6
- 컨트렉트 동일한 함수이름 호출
- erc4337
- ambiguous function description
- rust 기초
- 스마트컨트렉트테스트
- 스마트컨트렉트 예약어 함수이름 중복
- 러스트 기초
- 스마트 컨트렉트 함수이름 중복
- 계정추상화
- SBT표준
- Vue
- 오블완
- multicall
- 러스트 기초 학습
- Today
- Total
목록전체 글 (505)
체인의정석
Error: VM Exception while processing transaction: reverted with panic code 0x32 (Array accessed at an out-of-bounds or negative index) 해당 에러는 solidity에서 동적 배열안에 인덱스를 걸어서 요소를 넣을 때 발생한다. https://ethereum.stackexchange.com/questions/125089/error-vm-exception-while-processing-transaction-reverted-with-panic-code-0x32 Error: VM Exception while processing transaction: reverted with panic code 0x32 (Ar..
원래 하드햇 기본 세팅대로 자동 생성된 hardhat confing.ts는 다음과 같다. import { HardhatUserConfig } from "hardhat/config"; import "@nomicfoundation/hardhat-toolbox"; const config: HardhatUserConfig = { solidity: "0.8.19", }; export default config; 하지만 만약 ethers v6 를 사용할 경우 type-chain과정에서 다음과 같은 에러가 발생한다. Generating typings for: 19 artifacts in dir: typechain-types for target: ethers-v6 An unexpected error occurred: ..
여러개의 컨트렉트를 만드는 contractFactory 컨트렉트를 만들어야 하는 상황이 생겼다. 이런경우 사용가능한 함수는 create1,2,3가 있다. 이번엔 create1과 2에 대해 정리하려고한다. 출처 : https://docs.openzeppelin.com/cli/2.8/deploying-with-create2 Deploying Smart Contracts Using CREATE2 - OpenZeppelin Docs Under normal circumstances, sending funds to a random Ethereum address is a bad idea. Here however, we know we’ll be able to deploy Vault at the computed addr..
상황 : 내가 참조하고 있는 원본 브랜치가 내가 수정하는 동안 rebase를 해서 변경된 상황. 해당 상황에서는 일반적인 방법으로 해결이 어렵니다. 해결방안 : 해당 브랜치를 로컬에서 삭제하고 다시 받아온 후 다시 rebase를 해준다. 1. 로컬에서 브랜치 삭제 git branch -d 브랜치이름 2. 에러 발생시 If you are sure you want to delete it, run 'git branch -D 브랜치이름'. 3. 에러 무시하고 로컬 브랜치 삭제하기 git branch -D 브랜치이름 4. 삭제한 브랜치 다시 들어가기 git checkout 삭제한브랜치 5. 들어가서 pull 받기 git pull 6. 제대로 되었는지 확인하기 git reflog - reflog에 대해 정리가 잘 ..
https://hackernoon.com/how-to-solve-struct-containing-a-nested-mapping-cannot-be-constructed-in-solidity How to Solve "Struct Containing a (Nested) Mapping Cannot be Constructed" in Solidity | HackerNoon How to Solve "Struct Containing a (Nested) Mapping Cannot be Constructed" in Solidity hackernoon.com struct content{ address payable owner; bytes32 hash; mapping(address => uint) licenses; } 다음과..
현재 2023년 12월 기준 ethers의 최신 버전 공식문서는 아래와 같다. 아래 v5 -> v6으로 마이그레이션 하는 문서를 보면 ethers.utils 문법이 사라졌으며 그 외에도 다양한 문법이 크게 바뀌었다. https://docs.ethers.org/v6/migrating/ Documentation Documentation for ethers, a complete, tiny and simple Ethereum library. docs.ethers.org 내가 사용하려던 ethers.utils 에서 해시를 취하는 값 또한 utils가 빠지게 되면서 ethers.keccack256으로 바뀌었다. https://docs.ethers.org/v6/api/crypto/#keccak256 Documenta..

https://white-joy.tistory.com/9 머신러닝 = 추론 + 자료구조 + 알고리즘 이다. Confusion Matrix (혼동행렬, 오차행렬) 먼저 분류 모델을 평사하는 척도로 Confusion Matrix가 있다고 한다. 출처: 분류 모델 성능 평가 지표(Accuracy, Precision, Recall, F1 score 등) 분류 모델(classifier)을 평가할 때 주로 Confusion Matrix를 기반으로 Accuracy, Precision, Recall, F1 score를 측정한다. Confusion Matrix(혼동 행렬, 오차 행렬) 분류 모델(classifier)의 성능을 측정하는 데 자주 사용 white-joy.tistory.com N: Total number of..

ENS는 실제로 어떻게 주소를 관리하고 실제 주소를 뽑아낼까? 실제로는 namehash라는 해시값을 통해서 컨트렉트에서 조회를 하고 상호작용을 하게 된다. 이번에는 Namehash를 실제로 만들어보고 이를 통해 공식 컨트렉트로 지갑 주소를 도출하는 로직을 만들어 보도록 하겠다. Name hash 만들기 https://www.npmjs.com/package/@ensdomains/eth-ens-namehash @ensdomains/eth-ens-namehash A simple module for generating ENS namehashes per spec https://github.com/ethereum/EIPs/issues/137. Latest version: 2.0.15, last published: ..