1

I'm trying to do the hello world app seen here https://www.ethereum.org/greeter#compiling-your-contract.

It says I should be able to do eth.getCompilers()

The first you can get by using a compiler. You should have a solidity compiler built in on your geth console. To test it, use this command:

So I have geth installed, but how am I supposed to do eth.getCompilers()? I'm I missing some install? My geth version is Version: 1.6.5-stable.

1 Answer 1

2

It's been known for a while that the normal hello world example is broken.
See: Alternative to deprecated Greeter example code?

One thing he mentions is solc which is the command for Solidity, a compiler that takes the Javascript-esque Solidity language and compiles it to byte code for the Ethereum Virtual Machine (EVM).

1
  • Do you know of any "hello world" ethereum projects that do have good directions? Commented Jun 20, 2017 at 1:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.