천천히 앞으로!

천천히 앞으로!

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

천천히 앞으로!

컨텐츠 검색

태그

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

최근글

댓글

공지사항

아카이브

contract(1)

  • (BlockChain) MetaMask와 Front(React) 연결

    일단 작업할 폴더에 React 환경을 설치해주자 설정이 완료되면 쓸 때 없는 기본 제공되는 효과들은 지워주자 그리곤 입력한 값에 따라 최초 0이었던 수가 사칙연산에 따라 변하도록 하는 solidity contract 코드를 작성하자 // SPDX-License-Identifier: MIT pragma solidity ^0.8.18; contract InputCalc{ int private result; constructor(){ result = 0; } function getResult() public view returns (int){ return result; } function add(int _input) public { result += _input; } function minus(int _inp..

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

티스토리툴바