Ethereum Hello World – Progress

As a non developer I am bound and determined to get my Ethereum to give a great big Hello World! I was forewarned that this is geared for developers as it rapidly changes and it’s not intended for entry level, as they said. But there is no quit in Bitcoin Macroeconomics.Old Wrestlers never quit, we just use our brains more, try harder.

I was under the impression that I would not be able to run Solidity (Solc) unless I had Ethereum Virtual Machine (EVN). Now I am understanding that is not the case. Let’s pick up where left off.

geth console 2>> /dev/null
*Use this command to start the eth/geth console

If you are a dummy like me, use this:
https://forum.ethereum.org/discussion/122/ethereum-for-dummies

Notes:
Contrary to the above, this is a note from developer of Ethereum.
I believe you are trying to do an inline compile of solidity via javascript console in geth..
you might want to get someone in-person to tutor .. to get started
also, if you are having that much trouble for other reasons.. like drinking or something.. please think if its useful before you type
karalabe
23:21
@btcmacroecon You’re mixing up the various consoles and script types here
There is the operating system console, that you can use to start geth (e.g. geth –fast )
Geth itself has a JavaScript console that lets you interact with Ethereum itself via easy to understand scripts. You can start the Geth console either directly with geth console (you need to do this from your OS console), or if you already have a Geth instance running, you can attach to it via geth attach, again from the OS console
Solidity is yet another thing, it’s the programming language in which you can write smart contracts running on top of the Ethereum blockchain. You need to write that in an arbitrary text editor (there are various online tools too), and then compile the solidity source code into an Ethereum Virtual Machine (EVM) “native” bytecode that you can then deploy onto the network.
So, the OS console that you got with your operating system is only used to start geth
The geth console can run all the mentioned JavaScript snippets (admin, personal, eth, shh, etc.)
karalabe
23:27
You should probably familiarize yourself with these and only then turn to Solidity for doing more complicated things
btcmacroecon
23:47
karalabe, thank you…i have to admit, hello world seemed like a good place to try and learn. I did get some help and was from another project and got hello world to work there, thought i would come back and try it via ethereum. I have been trying this enough that what you said makes sense to me though I was screwing up so bad. But it doesn’t exactly state that in the instructions, perhaps i am out of my league…but it does seem a bit of an assumption from that greeter instructional, though I was forwarned this was geared for the developer. I wouldnt have known about the solidity and the EVM, but will copy and paste this conversation. sorry i thought this was a simple hello world task to learn some linux! to the other guy, im cold ass sober.

Other: Dapps for Beginners
https://dappsforbeginners.wordpress.com/
Dapps for Beginners

Welcome to the temporary home of learning materials relating to development on ethereum.
*Ethereum Contract Tutorials

Now this brings me to a FAIL in trying to big FAIL
This example shows how I started over after getting Solidity emerge. But I follow the instructions from www.ethereum.org and continue to fail. I tried compiling as you can see with errors (unexpected identifier) and also via Source, for the FAIL. Not sure what I am doing wrong.

brent@brent-HP ~ $ geth console 2>> /dev/null
instance: Geth/v1.3.2/linux/go1.5.1
datadir: /home/brent/.ethereum
coinbase: null
at block: 763841 (Mon, 28 Dec 2015 18:01:12 PST)
modules: admin:1.0 db:1.0 debug:1.0 eth:1.0 miner:1.0 net:1.0 personal:1.0 shh:1.0 txpool:1.0 web3:1.0
> eth.getCompilers()
[“Solidity”]
> git clone https://github.com/ethereum/cpp-ethereum.git
(anonymous): Line 1:5 Unexpected identifier (and 1 more errors)
> mkdir cpp-ethereum/build
(anonymous): Line 1:7 Unexpected identifier
> cd cpp-ethereum/build
(anonymous): Line 1:4 Unexpected identifier
> {INER=OFF -DETHKEY=OFF -DSERPENT=OFF -DGUI=OFF -DTESTS=OFF -DJSCONSOLE=OFF ..
(anonymous): Line 1:1 Invalid left-hand side in assignment
> make -j4
ReferenceError: ‘make’ is not defined
at :1:1

> make install
(anonymous): Line 1:6 Unexpected identifier
> which solc
(anonymous): Line 1:7 Unexpected identifier
>
> {itory ppa:ethereum/ethereum
(anonymous): Line 1:6 Unexpected identifier (and 2 more errors)
> sudo-apt-get update
(anonymous): Line 1:14 Unexpected identifier
> sudo apt-get install solc
(anonymous): Line 1:6 Unexpected identifier (and 1 more errors)
> which solc
(anonymous): Line 1:7 Unexpected identifier
>

Leave a Reply

Your email address will not be published. Required fields are marked *