* 이더리움 리파지터리 설명

 

 -> 참조 : http://goodjoon.tistory.com/230?category=632200


* geth 빌드


 - git 설치


 - go lang 설치


 - mingw 설치


 - go lang의 src 폴더 밑에 geth 소스 받기

  = git clone https://github.com/ethereum/go-ethereum src\github.com\ethereum\go-ethereum

 

 - src\github.com\ethereum\go-ethereum 폴더로 이동해서 geth 빌드

  = go install -v ./cmd/...

 

 - go lang의 bin 폴더에 geth.exe 빌드되어 있음.


 -> 참조 : https://github.com/ethereum/go-ethereum/wiki/Installation-instructions-for-Windows

  http://softwaree.tistory.com/18


* geth 실행


 - init

  = .\geth.exe init ".\genesis.json" --datadir ".\node1"

  

 - 초기 계좌에 이더 지급

  = .\geth.exe --datadir ".\node1" account new

  = 참조 : https://github.com/ethereum/go-ethereum/issues/14831

  

 - geth 실행

  = .\geth.exe --datadir ".\node1" --networkid 25 console --nodiscover --rpc --rpcaddr "127.0.0.1" --rpcport "5000" --rpcapi "db,eth,net,personal,web3" --rpccorsdomain "http://172.20.50.149:5000" --port "30303"


 -> 참조 : https://steemit.com/kr/@sangphilkim/geth

  http://softwaree.tistory.com/18


* json rpc 인터페이스 테스트


 - postman 설치

 

 - 테스트

 

 -> 참조 : http://goodjoon.tistory.com/255

  https://github.com/ethereum/wiki/wiki/JSON-RPC


* 트렌젝션 리스트 얻기


 -> 참조 : https://ethereum.stackexchange.com/questions/2531/common-useful-javascript-snippets-for-geth/3478#3478


 

'블럭체인 개발' 카테고리의 다른 글

Nano 빌드  (0) 2018.09.20
블로그 이미지

영스파파

3D 세상을 만들기 위한 프로그래밍 정보들을 정리하는 공간

,