Learn and Be Curious

geth

dev/Blockchain2017. 9. 14. 13:21

C:\Program Files\Geth>geth account new

WARN [09-14|13:18:58] No etherbase set and no accounts found as default

Your new account is locked with a password. Please give a password. Do not forget this password.

Passphrase:

Repeat passphrase:

Address: {a31bef5ee1e5c957f844c2ec05ae8c06c5c30300}


C:\Program Files\Geth>geth account list

Account #0: {a31bef5ee1e5c957f844c2ec05ae8c06c5c30300} keystore://C:\Users\myung-note\AppData\Roaming\Ethereum\keystore\UTC--2017-09-14T04-20-43.152354500Z--a31bef5ee1e5c957f844c2ec05ae8c06c5c30300



MEW 기존 계좌 연동시


 geth account import <keyfile>


  • Open Notepad & paste the private key
  • Save the file as nothing_special_delete_me.txt at C:
  • Run the command, geth account import C:\nothing_special_delete_me.txt
  • This will prompt you to make a new password. This is the password you will use in geth / Ethereum Wallet / Mist whenever you send a transaction, so don't forget it.
  • After successful import, delete nothing_special_delete_me.txt
  • The next time you open the Ethereum Wallet application, your account will be listed under "Accounts".





C:\Program Files\Geth>geth --rpc

INFO [09-14|13:59:23] Starting peer-to-peer node               instance=Geth/v1.6.7-stable-ab5646c5/windows-amd64/go1.8.3

INFO [09-14|13:59:23] Allocated cache and file handles         database=C:\\Users\\myung-note\\AppData\\Roaming\\Ethereum\\geth\\chaindata cache=128 handles=1024

INFO [09-14|13:59:23] Initialised chain configuration          config="{ChainID: 1 Homestead: 1150000 DAO: 1920000 DAOSupport: true EIP150: 2463000 EIP155: 2675000 EIP158: 2675000 Metropolis: 9223372036854775807 Engine: ethash}"

INFO [09-14|13:59:23] Disk storage enabled for ethash caches   dir=C:\\Users\\myung-note\\AppData\\Roaming\\Ethereum\\geth\\ethash count=3

INFO [09-14|13:59:23] Disk storage enabled for ethash DAGs     dir=C:\\Users\\myung-note\\AppData\\Ethash                          count=2

INFO [09-14|13:59:23] Initialising Ethereum protocol           versions="[63 62]" network=1

INFO [09-14|13:59:23] Loaded most recent local header          number=1089 hash=35dc91…a5c5b1 td=24549220618594

INFO [09-14|13:59:23] Loaded most recent local full block      number=0    hash=d4e567…cb8fa3 td=17179869184

INFO [09-14|13:59:23] Loaded most recent local fast block      number=877  hash=804af6…459b30 td=18700125589408

INFO [09-14|13:59:23] Starting P2P networking

INFO [09-14|13:59:25] UDP listener up                          self=enode://7646f5c1cebb3816f2b66b2517487d9a0277e21e6eb4d6d93a21a3f2661c4fc8e3ef07538b0aa6959b672116e6fe3372785bce57b8314575ca34415f2eb7d984@[::]:30303

INFO [09-14|13:59:25] RLPx listener up                         self=enode://7646f5c1cebb3816f2b66b2517487d9a0277e21e6eb4d6d93a21a3f2661c4fc8e3ef07538b0aa6959b672116e6fe3372785bce57b8314575ca34415f2eb7d984@[::]:30303

INFO [09-14|13:59:25] IPC endpoint opened: \\.\pipe\geth.ipc

INFO [09-14|13:59:25] HTTP endpoint opened: http://127.0.0.1:8545





'dev > Blockchain' 카테고리의 다른 글

Ethereum mining at Linux (Ubuntu)  (0) 2017.06.28
개발 모드에서 스마트 컨트랙(체인코드) 개발  (0) 2017.05.21
Hyperledger Fabric Docker 이미지 받기  (0) 2017.05.21
Go  (0) 2017.05.21