천천히 앞으로!

천천히 앞으로!

  • 분류 전체보기
    • HTML&CSS
    • Javascript
    • Node.js
    • React
    • BlockChain
    • C++
    • Programmers
    • TypeScript
    • Project
    • Life
    • DevOps
  • 홈
  • 태그
  • 방명록
RSS 피드
로그인
로그아웃 글쓰기 관리

천천히 앞으로!

컨텐츠 검색

태그

Token 자료구조 multer JavaScript Ethereum programmers nodejs 배열 solidity ERC721 Interface JS 프로그래머스 Blockchain typescript TS nft metamask react CI/CD

최근글

댓글

공지사항

아카이브

Interface(5)

  • (BlockChain) NFT-Market (1)

    NFT를 거래할 수 있는 조그마한 Market을 만들어 보려고 한다 일단, 시작에 앞서 파일 및 폴더 환경설정부터 하면서 천천히 진행하려 한다 0. TS 설치 npm list -g npm i -g typescript ts-node 이전에 TS를 사용한 적이 없거나 컴퓨터를 교체하여서 window를 재설치 혹은 새로 깔았다면 전역에 ts를 설치해 주자 1. React (with.TS) yarn create react-app front --template typescript cd front yarn add web3 axios @metamask/providers @metamask/providers : TS환경에서 React내 window.ethereum의 자료형을 TS Compiler가 인지하지 못하기에 위와..

    2023.03.16
  • (BlockChain) ERC721 구현

    https://developerjjh.tistory.com/171 (BlockChain) IERC721Metadata 구현 interface IERC721Metadata.sol 전체 코드 // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; interface IERC721Metadata { function name() external view returns (string memory); function symbol() external view returns (string memory); function tokenU developerjjh.tistory.com https://developerjjh.tistory.com/172 (BlockChain) IERC7..

    2023.03.12
  • (BlockChain) IERC721 구현

    https://developerjjh.tistory.com/171 (BlockChain) IERC721Metadata 구현 interface IERC721Metadata.sol 전체 코드 // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; interface IERC721Metadata { function name() external view returns (string memory); function symbol() external view returns (string memory); function tokenU developerjjh.tistory.com interface IERC721 코드 // SPDX-License-Identifier: MIT pr..

    2023.03.11
  • (BlockChain) IERC721Metadata 구현

    interface IERC721Metadata.sol 전체 코드 // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; interface IERC721Metadata { function name() external view returns (string memory); function symbol() external view returns (string memory); function tokenURI(uint tokenId) external view returns (string memory); } Metadata란 ? 데이터를 위한 데이터, 데이터에 대한 데이터 어떤 목적을 가지고 만들어진 데이터라고 정의할 수 있다 다른 데이터를 설명해 주는 데이터 데이터에 ..

    2023.03.10
  • (BlockChain) Interface IERC20 / ERC20 Token 구현

    Solidity의 interface 다른 컨트랙트와 상호작용이 가능 You can interact with other contracts by declaring an interface 자식 컨트랙트를 위한 틀, 추상 함수로만 구성되어야 한다 추상 함수 : 함수이름, 매개변수, 출력만 선언해 두고 내용이 없는 함수를 뜻 TS에서의 interface처럼 정의를 하지 않고 선언만 한다 특징 함수의 기능은 정의하지 않는다, 구현하지 못한다 다른 interface에서 상속이 가능하다 다른 interface으로부터 상속을 받을 수 없다 함수는 무조건 external 옵션을 설정해야 한다 생성자를 선언할 수 없다 상태변수를 선언할 수 없다 interface IERC20.sol // SPDX-License-Identif..

    2023.03.09
이전
1
다음
티스토리
© 2025 TISTORY. All rights reserved.

티스토리툴바