
Build Development Environment
Extra Resource
$ETH_HOME
| file | description | file | description |
|---|---|---|---|
| abigen | contract ABI 기반 Go Pakage 생성 | geth | Go Ethereum Node |
| bootnode | Network Discovery 용 Boot Node | gethrpctest | ethereum/rpc-tests Test Suite 실행 도구 |
| disasm | Contract Byte Code를 Op Code로 변환 | rlpdump | RLP 데이터를 해석하는 개발 도구 |
| ethtest | geth 빌드 후 검증용 도구 | swarm | Swarm 데몬 ( 개발중 ) |
| evm | 개발자용 EVM 디버깅 도구 | wnode | Whisper 데몬 (개발중) |
Folders 및 files
| dir | description | file(s) | description |
|---|---|---|---|
| geth | data dir의 root | geth ipc | Console or IPC API 통신을 위한 파일 |
| chaindata | Block, State, Storage의 Trie DB | *.ldb | 지속 분할/Merge 되는 DB 들 |
| nodes | 접속한 Node들의 관리 DB | *.ldb | Node 관리를 위한 DB |
| keystore | Account들의 암호화된 Key 정보 | UTC-<time>--<address> | Account별 Key 정보 파일 생성 |
Geth 옵션
| Category | Option Name | description |
|---|---|---|
| Command | init | 새로운 Genesis Block을 기반으로 DB 생성 |
| account | list, new, update | |
| console | node 시작 및 console 진입 | |
| attach | ipc or rpc로 console attach | |
| Ethereum | --datadir <string> | |
| --networkid <num> | ||
| --testnet | ||
| --identity <string> | ||
| Account | —unlock <filename> | |
| —password <filename> | ||
| API & Console | –rpc | |
| --rpcaddr <ipaddr> | 기본 “localhost” | |
| --rpcport <port> | 기본 “8545” | |
| --rpcapi <apis> | 기본 “eth, net, web3” (admin, debug, eth, miner, net, personal, shh, txpool, web3) |
|
| --rpccorsdomain | CORS |




近期评论