무료
다른 수강생들이 자주 물어보는 질문이 궁금하신가요?
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
수강평 어떻게 작성하나요?
못찾겠어요..
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
Klaytn IDE & 스마트계약 2 강의
안녕하세요 해당 강의 예제의 // Klaytn IDE uses solidity 0.4.24 version. pragma solidity 0.4.24; contract AdditionGame { address public owner; constructor() public { owner = msg.sender; } function getBalance() public view returns (uint) { return address(this).balance; } function deposit() public payable { require(msg.sender == owner); } } 컨트랙트에 TxValue에 0이아닌 값을 설정할 경우 배포되지 않습니다. 디버깅도 안되는데 무엇이 문제일까요 ㅠㅠ 그리고 0 TxValue로 배포한 컨트랙트에서 일어나는 트랜잭션들은 다 Klaytnscope에서 TxType이 Legacy transaction이라구 나오네요
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
스마트 배포 2 truffle deploy --network klaytn
이하와 같이 에러가 나는데 도와주세요! root@23a894f1ee94:/home# truffle deploy --network klaytn Using network 'klaytn'. Running migration: 1_initial_migration.js Deploying Migrations... ... undefined Error encountered, bailing. Network state unknown. Review successful transactions manually. Error: Invalid JSON RPC response: {"id":5,"jsonrpc":"2.0"} at Object.InvalidResponse (/usr/lib/node_modules/truffle/build/webpack:/~/web3/lib/web3/errors.js:38:1) at /usr/lib/node_modules/truffle/build/webpack:/~/web3/lib/web3/requestmanager.js:86:1 at /usr/lib/node_modules/truffle/build/webpack:/packages/truffle-migrate/index.js:225:1 at /usr/lib/node_modules/truffle/build/webpack:/packages/truffle-provider/wrapper.js:134:1 at /home/node_modules/web3-provider-engine/index.js:149:9 at /home/node_modules/async/internal/once.js:12:16 at replenish (/home/node_modules/async/internal/eachOfLimit.js:61:25) at /home/node_modules/async/internal/eachOfLimit.js:71:9 at eachLimit (/home/node_modules/async/eachLimit.js:43:36) at /home/node_modules/async/internal/doLimit.js:9:16 at end (/home/node_modules/web3-provider-engine/index.js:124:5) at /home/node_modules/async/internal/once.js:12:16 at next (/home/node_modules/async/waterfall.js:21:29) at /home/node_modules/async/internal/onlyOnce.js:12:16 at /home/node_modules/async/internal/once.js:12:16 at next (/home/node_modules/async/waterfall.js:21:29) at /home/node_modules/async/internal/onlyOnce.js:12:16 at /home/node_modules/web3-provider-engine/subproviders/hooked-wallet.js:374:7 at /home/node_modules/async/internal/once.js:12:16 at next (/home/node_modules/async/waterfall.js:21:29) at /home/node_modules/async/internal/onlyOnce.js:12:16 at /home/node_modules/web3-provider-engine/subproviders/hooked-wallet.js:402:5
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
truffle deploy --network klaytn 시 에러
truffle deploy --network klaytn 명령어를 통해 컨트렉트 배포 시 Compiling your contracts... =========================== > Compiling ./contracts/AdditionGame.sol > Compiling ./contracts/Migrations.sol > Artifacts written to /Users/charles/MyApp/sight-stock-smart-contract/build/contracts > Compiled successfully using: - solc: 0.4.24+commit.e67f0147.Emscripten.clang Error: Error: Web3ProviderEngine does not support synchronous requests. at Object.run (/usr/local/lib/node_modules/truffle/build/webpack:/packages/truffle-migrate/index.js:84:1) Truffle v5.0.18 (core: 5.0.18) Node v10.15.3 위와 같은 에러가 납니다. npm 버전도 6.9.1입니다. 제공해주시는 git repo를 토대로 강의를 따라 코드를 짰습니다만, 왜 저런 에러가 나는지 아직 원인을 찾지 못했습니다.
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
truffle deploy --network klaytn 부분
rror: Cannot find module './build/Release/scrypt' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15) at Function.Module._load (internal/modules/cjs/loader.js:508:25) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.<anonymous> (C:\Users\한현구\addition-game-starter\node_modules\scrypt\index.js:3:20) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32) at tryModuleLoad (internal/modules/cjs/loader.js:539:12) at Function.Module._load (internal/modules/cjs/loader.js:531:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.<anonymous> (C:\Users\한현구\addition-game-starter\node_modules\scrypt.js\node.js:1:14) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32) at tryModuleLoad (internal/modules/cjs/loader.js:539:12) at Function.Module._load (internal/modules/cjs/loader.js:531:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.<anonymous> (C:\Users\한현구\addition-game-starter\node_modules\connect-privkey-to-provider\node_modules\caver-js\packages\caver-klay\caver-klay-accounts\src\index.js:34:16) at Module._compile (internal/modules/cjs/loader.js:701:30) --------------------------------------------- npm install npm WARN acorn-dynamic-import@4.0.0 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN requestretry@2.0.2 requires a peer of request@~2.87.0 but none is installed. You must install peer dependencies yourself. npm WARN klay-dapp-boilerplate@0.0.1 No repository field. npm WARN klay-dapp-boilerplate@0.0.1 No license field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm install 부분도 잘 되었고 truffle.js 와 2_deploy_contracts.js 도 혹시 오타가 있을까 강의 파일을 복사해서 해봤는데 자꾸 저렇게 뜨는데 어떤 문제인가요 private_key 는 제 비밀키로 잘 설정했고 node v : 10.15.3 npm v : 6.4.1 truffle v : 4.1.15
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
로컬배포와 klaytn ide에서의 배포
로컬에서 배포하지 않고 klaytn ide에서 바오밥에 배포하고truffle을 통해 받은 framework 의 ABI, Contractaddress 정보를 입력해도동일하게 프론트엔드와 배포시킨 컨트랙트를 연동시킬 수 있을까요
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
txHash undefined
0.1klay 지급 한 후에 #transaction 내용 바꿔줄 때 receipt.txHash가 undefined 더라고요 transactionHash로 하니까 나오는데 언제 바뀐건가요?
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
npm install 부분에서 에러가 뜹니다.
gyp ERR! configure error gyp ERR! stack Error: Command failed: C:\Users\82103\Anaconda3\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack File "<string>", line 1 gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack ^ gyp ERR! stack SyntaxError: invalid syntax gyp ERR! stack gyp ERR! stack at ChildProcess.exithandler (child_process.js:294:12) gyp ERR! stack at ChildProcess.emit (events.js:189:13) gyp ERR! stack at maybeClose (internal/child_process.js:970:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\82103\Desktop\klaytn\addition-game-starter\node_modules\keccak gyp ERR! node -v v10.15.3 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! keccak@1.4.0 rebuild: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the keccak@1.4.0 rebuild script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\82103\AppData\Roaming\npm-cache\_logs\2019-05-15T08_09_22_949Z-debug.log "Keccak bindings compilation fail. Pure JS implementation will be used." > scrypt@6.0.3 install C:\Users\82103\Desktop\klaytn\addition-game-starter\node_modules\scrypt > node-gyp rebuild C:\Users\82103\Desktop\klaytn\addition-game-starter\node_modules\scrypt>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) gyp ERR! configure error gyp ERR! stack Error: Command failed: C:\Users\82103\Anaconda3\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack File "<string>", line 1 gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack ^ gyp ERR! stack SyntaxError: invalid syntax gyp ERR! stack gyp ERR! stack at ChildProcess.exithandler (child_process.js:294:12) gyp ERR! stack at ChildProcess.emit (events.js:189:13) gyp ERR! stack at maybeClose (internal/child_process.js:970:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\82103\Desktop\klaytn\addition-game-starter\node_modules\scrypt gyp ERR! node -v v10.15.3 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN klay-dapp-boilerplate@0.0.1 No repository field. npm WARN klay-dapp-boilerplate@0.0.1 No license field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! scrypt@6.0.3 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the scrypt@6.0.3 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\82103\AppData\Roaming\npm-cache\_logs\2019-05-15T08_09_26_187Z-debug.log Baobab에 스마트 계약 배포 #1 에서 진행하다가 이런 에러가 뜹니다. 어느 부분이 잘못되었는지 알려주시면 감사하겠습니다.
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
안녕하세요, 강좌 오픈일관련 질문있습니다!
혹시 이 강좌 몇월 몇일에 오픈했는지 알려주실수있나요? 감사합니다.
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
truffle deploy network klaytn 실행 시 에러
여기에 빨간 줄도 그어져 있구요 pragma solidity ^0.4.24; 터미널입니다. Error: Cannot find module './build/Release/scrypt' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15) at Function.Module._load (internal/modules/cjs/loader.js:508:25) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.<anonymous> (C:\Computer Related Files\Blockchain_블록체인\Klaytn\addition-game-starter\node_modules\scrypt\index.js:3:20) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32) at tryModuleLoad (internal/modules/cjs/loader.js:539:12) at Function.Module._load (internal/modules/cjs/loader.js:531:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.<anonymous> (C:\Computer Related Files\Blockchain_블록체인\Klaytn\addition-game-starter\node_modules\scrypt.js\node.js:1:14) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32) at tryModuleLoad (internal/modules/cjs/loader.js:539:12) at Function.Module._load (internal/modules/cjs/loader.js:531:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.<anonymous> (C:\Computer Related Files\Blockchain_블록체인\Klaytn\addition-game-starter\node_modules\connect-privkey-to-provider\node_modules\caver-js\packages\caver-klay\caver-klay-accounts\src\index.js:34:16) at Module._compile (internal/modules/cjs/loader.js:701:30)
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
개발환경 질문
node.js 말고 ruby on rails로도 클레이튼을 이용한 dapp개발이 가능한가요?
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
run faucet버튼이 작동하지 않습니다!
강의 따라서 계정 생성하고 버튼을 눌렀는데, 5 클레이가 들어오지 않습니다. 콘솔창에는 status fail이라고 뜨고요!! 뭐가 문제일까요?
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
계정 인증 로직 질문입니다.
계정 인증 로직을 작성하고 미리 저장해둔 keystore 파일을 첨부하면 유효하지 않은 파일이라는 오류가 납니다. klaytnwallet에서는 문제가 없었는데 왜 이런 오류가 나는지 궁금합니다.
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
혹시 왜 이런 오류가 나는지 알 수 있을까요???
npm컴파일은 정상적으로 작동하는데 막상 브라우저상에서 실행시켜보면 index.js의 제일 첫줄import Caver from "caver-js"; 하는 부분에서 Uncaught SyntaxError: Unexpected identifier가 발생합니다.왜 이러는 건가요? ㅠㅠ
- Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
혹시 광고성 강좌인가요?
삭제된 글입니다
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
강의자료 관련해서 문의드립니다.
강의에 사용하신 자료를 PDF로 다운로드할 수 없을까요?
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
우허,,, 지갑 진짜 보안에 취약하군요 ㅜ.ㅜ
우허,,, 지갑 진짜 보안에 취약하군요 ㅜ.ㅜ