geth

Download Geth よりダウンロードしてインストール
実行

geth --mine --unlock 0,1 --minerthreads 1 --identity "sampleNode" --rpc --rpcport 8545 --rpcapi "web3,eth,net,personal" --rpccorsdomain "*" --rpcaddr "0.0.0.0" --datadir "C:\gethdata" --nodiscover --networkid 10 console 2>> C:\gethdata\geth.log

meteor

meteor add twbs:bootstrap 
meteor add ethereum:web3
meteor add ethereum:accounts
meteor add ethereum:blocks
meteor add session

EthAccounts?

1番目のアカウントの名前

EthAccounts.find().fetch()[0].name

1番目のアカウントのアドレス

EthAccounts.find().fetch()[0].address

1番目のアカウントのEtherの残高

EthAccounts.find().fetch()[0].balance

EthBlocks?

最新のブロック番号

EthBlocks.latest.number

最新ブロックのハッシュ値

EthBlocks.latest.hash

最新ブロックを採掘した採掘者のアドレス

EthBlocks.latest.miner

TIPS

コマンド

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

Browser-Solidity

browser-solidity

リンク

git
[Japanese] Meteorを使ってDappを作ろう

参考書籍

Ethereum入門

コメント


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS