Solidityイーサー坊インテリジェント契約の作成(一)
1852 ワード
$ ./build/bin/geth --datadir=~/Library/Ethereum/privatechain/chaindata/ init ~/Library/Ethereum/privatechain/genesis.json
INFO [03-11|18:45:18] Maximum peer count ETH=25 LES=0 total=25 INFO [03-11|18:45:18] Allocated cache and file handles database=/Users/zhenbing/Library/Ethereum/privatechain/chaindata/geth/chaindata cache=16 handles=16 INFO [03-11|18:45:18] Writing custom genesis block INFO [03-11|18:45:18] Persisted trie from memory database nodes=0 size=0.00B time=7.283µs gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B INFO [03-11|18:45:18] Successfully wrote genesis state database=chaindata hash=2fb1a7…f0181a INFO [03-11|18:45:18] Allocated cache and file handles database=/Users/zhenbing/Library/Ethereum/privatechain/chaindata/geth/lightchaindata cache=16 handles=16 INFO [03-11|18:45:18] Writing custom genesis block INFO [03-11|18:45:18] Persisted trie from memory database nodes=0 size=0.00B time=1.467µs gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B INFO [03-11|18:45:18] Successfully wrote genesis state database=lightchaindata hash=2fb1a7…f0181a
$ ./build/bin/geth --datadir=~/Library/Ethereum/privatechain/chaindata/
$ open -a /Applications/Mist.app --args --rpcport "8001" --rpc
/geth.ipc $ open -a /Applications/Mist.app --args --rpcport "8001" --rpc ~/Library/Ethereum/privatechain/chaindata/geth.ipc
console
$ ./build/bin/geth attach ipc://Users/zhenbing/Library/Ethereum/privatechain/chaindata/geth.ipc