이더리움 토큰 발행(2)
-
이더리움 토큰 발행 3) 토큰 Local에서 발행하기 / metamask
1. 환경 설정 2. 작업 폴더 생성 3. 코드 작성 4. 배포 5. 거래 1. 환경 설정 https://jeongjun9-diary.tistory.com/20 이더리움 토큰 발행 1) Solidity 개발 환경 (Ethereum/meta mask, truffle,ganache 설치 ) 이더리움 솔리 디티 개발 환경 구성에 대해 시작해보겠습니다. 1. MetaMasek 설치 2. truffle, ganache 설치 크롬에서 Meta Mask 다운로드하고 가입하기 https://metamask.io/download.html MetaMask Download A c.. jeongjun9-diary.tistory.com 계정 생성까지는 동일합니다. 2. 작업 폴더 생성 mkdir jjtoken cd jjtoke..
2021.07.16 -
이더리움 토큰 발행 2) local 테스트넷 배포하기
1. truffle init을 통한 skeleton 만들기 2. 기초 코드 작성하기 3. 배포 코드 작성하기 4. 컨트랙트 배포하기 1. truffle init openzeppelin 라이브러리를 설치해야 하는데 openzeppelin은 smartcontract 코드를 모아둔 라이브러리이다. $ mkdir smartcontract $ cd smartcontract $ truffle init $ npm init -y $ npm install -E openzeppelin-solidity truffle-config.js 파일을 키고 network와 complier 버전을 수정해야 한다. 2. 기초 코드 작성하기 contracts폴더에 Test.sol 만들기 // SPDX-License-Identifier: G..
2021.07.15