I am trying to sync geth and solc.

which solc # I get the path to my solc

Open the geth console

geth console 2>>geth.log

and now I try to sync


but I get the error

TypeError: 'setSolc' is not a function
at <anonymous>:1:1

I believe solc integration was removed from geth as of v1.6.0. See #3740 for more details, but it looks like admin.setSolc was removed as part of that PR.

  • 1
    Thank you @DeviateFish, so how could I possisble link Solc to Geth..? May 17 '17 at 15:19
  • In general, solc should be used as a standalone tool, or via tools built around it (e.g. browser-solidity) May 18 '17 at 1:21
  • There are tutorials everywhere referencing it. Is there a consistent help page/tutorial so I can deploy a contract? May 25 '17 at 15:59
  • @JustinThomas Yeah, the tutorials are now all considered "out of date", as of geth v1.6.0 (as linked above). I don't know of any tutorials off the top of my head, but if you look for ones that are specific to solc itself (e.g. using the command line), you might find what you're looking for. May 25 '17 at 18:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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