강의

멘토링

커뮤니티

Inflearn Community Q&A

leetong20450411's profile image
leetong20450411

asked

Development of blockchain-based smart contracts

After writing a contract, compile and deploy it in geth and try processing the transaction.

sourceCompiled가 정의되지 않았다고 나옵니다.

Written on

·

285

0

터미널에서

contractAbiDefinition = sourceCompiled[':HelloWorld'].info.abiDefinition을 입력하면,

레퍼런스에러 : 소스컴파일드 는 정의되지 않음. anonymouse:1:25 에러가 나옵니다.

이 문제의 원인과 해결책이 무엇인가요?

Ethereumblockchaindappsolidity

Answer 1

0

JeungJoo Lee님의 프로필 이미지
JeungJoo Lee
Instructor

sourceCompiled 라는 객체에 컨트랙트 컴파일 된 정보가 담겨져있나요? 일단 그걸 먼저 확인하셔야되는데요...

제가 올린 미디엄쪽 글을 참고하시면 좋을 듯합니다.. -> https://medium.com/day34/%ED%8C%A8%EC%BA%A0-2%EC%A3%BC%EC%B0%A8-geth-%EC%8B%A4%EC%8A%B5-%ED%8A%B8%EB%9E%9C%EC%9E%AD%EC%85%98-428e20cccd89

leetong20450411's profile image
leetong20450411

asked

Ask a question