/Hello-Ethereum

Quick Hello World in Ethereum (Solidity).

Primary LanguageShell

Hello-Ethereum

Quick Hello World in Ethereum

$ git clone this repository

Initialize Ethereum private network.

$ geth --datadir eth_private init eth_private/genesis.json

Next, Compile solidity program by solc and produce javascript file.

$ ./bin/compile contracts/HelloWorld.sol

Finally, open console.

$ ./bin/open-console
> miner.start()
> loadScript("js/HelloWorld.js")
> test.get()
"HelloWorld!!"