1 ECAE_SmartContract 실행 - 지난번 계시물에서 컴파일 했던 것은 test 예제 - 이번 게시물에서는 실제 ECAC_SmartContract를 배포하고자 함 (1) 폴더 생성 및 truffle init (2) npm init -y * yes 옵션 안달면 하나하나 일일이 설정해줘야 함 그냥 yes하고 나중에 수정하는게 편함 (3) npm install -E openzeppelin-solidity (4) ATOM 에디터에서 새로운 폴더구조가 형성된 것 확인 * 예제와 달리 Migration.sol, intial_migration 생성 안됨 (5) npx truffle version 명령어로 솔리디티 버전 확인 (6) truffle-config.js 의 compilers 버전 수정 (7) EC..
1 ATOM 에디터에서 solidity 개발환경 구축 (1) ATOM Editer 설치 > exe 파일 Release 1.60.0 · atom/atom Notable Changes atom/tabs#531 - Activate panes on any click, not just left click #13414 - Adds context menu for cinnamon desktop enviroment (Linux) #19016 - Allow line endings to be converted when... github.com (2) autocomplete-solidity / linter-solidity 설치 2 Metacoin 예제 실행 (1) 예제 실행 폴더 및 Metacoin tutorial 설치 (2..
1 개발환경 세팅 (1) Node.js 설치 Node.js Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. nodejs.org - 설치 확인 및 버전 확인 (2) 트러플 설치 Home - Truffle Suite TRUFFLE SMART CONTRACTS MADE SWEETER A world class development environment, testing framework and asset pipeline for blockchains using the Ethereum Virtual Machine (EVM), aiming to make life as a developer easier. LEARN MORE GITHUB R..
1 파이어베이스 연결 준비 (1) 파이어베이스 Firestore Database 데이터베이스 생성 (2) 프로젝트 개요 > 프로젝트 설정 > 서비스 계정 > "Python" 새 비공개 키 생성 (3) 라즈베리파이에 파이어베이스 설치 (4) 다운로드 된 json 파일과 파이썬 소스코드를 같은 폴더에 위치시킴 (5) DB 값 업데이드 테스트 | Update.py - 소스코드 실행 전 CPUTemp 값 2000 - 실행 후 3000으로 업데이트 - 소스코드 #-*-coding:utf-8 -*- import firebase_admin from firebase_admin import credentials from firebase_admin import firestore cred = credentials.Certi..