반응형 web3 연결1 [solidity Ganache-cli web3 solc] smart Contract 만들어 배포하기 npm init -> node 환경 만들어주기 npm install ganache --global / npm install -g ganache-cli npm install web3 npm install -g truffle npm install solc 0. new 프로젝트 "ethereumdapp" 폴더 생성 > "contracts" 폴더 생성 > NotarizedDocument.sol 파일 생성 NotarizedDocument.sol 파일에 아래 코드 작성 // SPDX-License-Identifier: MIT pragma solidity ^0.8.12; contract NotarizedDocument { mapping (bytes32 => bool) documentProof; function not.. 2022. 2. 21. 이전 1 다음 반응형