okue / Hello-Ethereum

Quick Hello World in Ethereum (Solidity).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!!"

About

Quick Hello World in Ethereum (Solidity).


Languages

Language:Shell 77.6%Language:Solidity 22.4%