Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
44
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

Organization

Ethereum Geth コンソールコマンド一覧

Gethのコンソールで用いる主要なコマンド一覧です。開発の際にご参照ください。

Account

  • Accountリスト表示
eth.accounts
  • Account作成
personal.newAccount(password)
  • Accountのロック解除
personal.unlockAccount(address, password)
  • 残高確認(単位:wei)
eth.getBalance(account)
  • 残高確認(単位:ether)
web3.fromWei(eth.getBalance(account),"ether")

Coinbase

  • coinbase表示
eth.coinbase
  • coinbase設定
miner.setEtherbase(account)

Mining

  • Mining開始
miner.start()
  • Mining停止
miner.stop()
  • Mining状況確認
eth.blockNumber
  • Miningハッシュレート確認
miner.hashrate

Block

  • Block確認
eth.getBlock(BlockNumber)

トランザクション

  • 送金
eth.sendTransaction({from: from_account, to: to_account, value: web3.toWei(amount_of_ether, "ether")})
  • トランザクション情報表示
eth.getTransaction(transaction_address)

参考記事

Ethereum入門

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
44
Help us understand the problem. What are the problem?