Skip to content

Latest commit

 

History

History
executable file
·
27 lines (20 loc) · 605 Bytes

File metadata and controls

executable file
·
27 lines (20 loc) · 605 Bytes

MyChain

Blockchain System for Education

실행방법

  1. 가상환경 설정
virtualenv -p python3 venv
  1. 가상환경 실행
source ./venv/bin/activate
  1. 외부 라이브러리 설치
pip3 install -r requirments.txt
  1. 블록 체인 실행
python3 mychain.py

자신의 노드를 생성 후 시작 숫자 입력으로 다음의 명령어 실행

  1. 트랜잭션 전송
  2. 블록 생성
  3. 노드 리스트 출력
  4. 트랜잭션 리스트 출력
  5. 블록 리스트 출력
  6. 종료