Ethereum コマンド抜粋

基本的なコマンド

geth コマンドライン 補足
geth account new personal.newAccount("password") account作成
geth account list eth.accounts
geth account update [id / address]
geth account import
personal.unlockAccount(eth.coinbase) アンロック In order to spend your earnings
miner.start(n) n...thread数を指定
miner.hashrate minerの動作状況確認
miner.stop()
eth.blockNumber blockNumber表示
eth.getBalance(eth.coinbase).toNumber()
web3.fromWei(eth.getBalance(eth.coinbase), "ether") Checking account balances
eth.sendTransaction({from:sender, to:receiver, value: amount})
eth.getTransaction("xxx") トランザクションを確認
eth.getBlock(nn)
eth.getTransactionReceipt(nn)
eth.getTransactionFromBlock(nn)
eth.getCompilers()
admin.setSolc("solc.exe") windowsでは無理?