pangyoelon

  • 홈
  • 태그
  • 방명록

ethersjs 1

tx.wait()으로 트랜젝션 마이닝 기다려주기

예를들어 아래와 같이 토큰을 스왑하는 상황을 가정해보자 const result = await tokenContract.approve( routerAddress, utils.parseEther("100"), { maxPriorityFeePerGas: gasPrice, maxFeePerGas: gasPrice, } ); // 스왑 const deadline = Math.floor(Date.now() / 1000) + 60 * 20; const swapValue = await routerContract.swapExactTokensForETH( utils.parseEther("1"), 0, ["0x123...","0x123...","0x123..."], to, deadline, { maxPriorityFeePe..

BlockChain 2023.08.22
이전
1
다음
더보기
프로필사진

pangyoelon

블록체인 개발자 https://github.com/km3140 https://velog.io/@pangyoelon

  • 분류 전체보기 (29)
    • BlockChain (4)
    • Node.js (6)
    • Javascript (1)
    • Solidity (4)
    • Git (3)
    • Go (1)
    • Shell (1)
    • 정보처리기사 (1)
    • React (2)
    • etc (2)
    • Typescript (1)
    • 해커톤 (1)
    • aws (1)

Tag

lens protocol, tx.wait, TypeError: Member "push" not found or not visible after argument-dependent lookup in, ethersjs, 글리치 해커톤, 2022년 3월 5일 기출, 구글링 연산자 이스케이프, cors오류, git, glitch hackathon, react, 비트코인, axios baseURL, undefined hackathon, undefined hacker house, 블록체인, 깃허브 옵션, 채굴, solidity, Rebase,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/08   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • Github

티스토리툴바