단순 계약을 컴파일 할 때 견고성을 사용할 때 질문이 있습니다. 그런 그것은 :고결함 정의되지 않음
> web3.eth.getCompilers()
["Solidity"]
> source = "contract test { function multiply(uint a) returns(uint d) { return a * 7; } }"
"contract test { function multiply(uint a) returns(uint d) { return a * 7; } }"
> source
"contract test { function multiply(uint a) returns(uint d) { return a * 7; } }"
> clientContract = eth.compile.solidity(source).test
undefined
나는 결과가 "정의되지 않은"왜 몰라, 무슨 일입니까? 나는 맥 오에스에서 그것을 사용하고 있습니다.
또한 우분투에서 같은 질문이 있습니다. –