무료
다른 수강생들이 자주 물어보는 질문이 궁금하신가요?
- 해결됨Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
클레이튼도 토큰을 생성할 수 있나요?
이더리움의 ERC20과 같이 클레이튼 플랫폼에서도 토큰을 생성할 수 있나요???? 아니며 ERC20기반의 토큰을 클레이튼에서 운영(?)할 수 있나요?
- 해결됨Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
deposit()함수에 대해서 질문이 있습니다.
deploy해서 txvalue를 1로 설정한 후 deposit()함수를 실행시키면 owner 계정에서 AdditionGame 컨트랙의 주소로 1Klay가 이동되는 것을 강의에서 확인하고 테스트해봤습니다. 그런데 약간 의아한 부분이 있는데 왜 코드에서는 msg.sender와 owner가 같은지만 검사하는 require문만 있는데 위에서 언급한 내용들이 함수에서 실행되는 것인가요? 단순히 deposit()함수를 보면 그냥 msg.sender가 owner와 같은지 테스트하는 함수로 볼 수 있지 않나요? payable 키워드를 추가함으로써 위와같은 기능들이 기본적으로 추가가 되는 것인가요? 이에 대한 설명 부탁드립니다 ㅠㅠ
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
npm install
npm install을 하면 > scrypt@6.0.3 preinstall C:\Users\LG\addition-game-starter\node_modules\scrypt > node node-scrypt-preinstall.js > keccak@1.4.0 install C:\Users\LG\addition-game-starter\node_modules\keccak > npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used." > keccak@1.4.0 rebuild C:\Users\LG\addition-game-starter\node_modules\keccak > node-gyp rebuild C:\Users\LG\addition-game-starter\node_modules\keccak>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:\Python\Python36\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:198:13) gyp ERR! stack at maybeClose (internal/child_process.js:982: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\LG\addition-game-starter\node_modules\keccak gyp ERR! node -v v10.16.0 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\LG\AppData\Roaming\npm-cache\_logs\2019-06-18T07_15_07_797Z-debug.log "Keccak bindings compilation fail. Pure JS implementation will be used." > scrypt@6.0.3 install C:\Users\LG\addition-game-starter\node_modules\scrypt > node-gyp rebuild C:\Users\LG\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:\Python\Python36\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:198:13) gyp ERR! stack at maybeClose (internal/child_process.js:982: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\LG\addition-game-starter\node_modules\scrypt gyp ERR! node -v v10.16.0 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\LG\AppData\Roaming\npm-cache\_logs\2019-06-18T07_15_11_044Z-debug.log 이런 오류가 뜹니다. 어떻게 해야할까요... node: 10.16.0 npm: 6.9.0 입니다
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
npm install
npm ERR! path git npm ERR! code ENOENT npm ERR! errno ENOENT npm ERR! syscall spawn git npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t git://github.com/frozeman/WebSocket-Node.git npm ERR! enoent npm ERR! enoent npm ERR! enoent spawn git ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\82109\AppData\Roaming\npm-cache\_logs\2019-06-17T13_52_56_274Z-debug.log 왜 에러 뜨는지 어떻게 해결하는지 알 수 있을까요??..
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
Owner 생성에러
안녕하세요~ 강의 너무 쉽게 잘해주셔서 잘보고 있어요 감사합니다 ^^ 처음강의에서 에러가 조금있는데, :9:9: TypeError: Operator - not compatible with types address and address owner - msg.sender; ^----------------^ 이렇게 나타나더라구요. 전에 공지에 올려주신 100 클레이가 없어서는 아닌 것같은데, 따로 sending을 한적이 없어서 그런가요? 소스는 아래와 같습니다. 감사합니다.. // Initial value setup --> developer = sender define. contract AdditionGame { address public owner; constructor() public { owner - msg.sender; } }
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
truffle deploy --network klaytn
강의처럼 터미널에서 위와 같이 명령어를 입력하면 Unknown network "klaytn". See your Truffle configuration file for available networks. 이렇게 뜹니다. 해결하는데 도움을 주시면 감사하겠습니다.
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
질문이 있습니다.
데이터의 무결성을 위해, 블록체인을 찾던 도중 클레이튼을 알게 되었는데, 제가 구상하고 있는 시스템에서는 코인은 필요 없고, 제가 올릴 데이터를, 아무도 수정 못하게(본인 포함) 하고 싶습니다. 단순히 그런 용도로 쓰고 싶은데, 좀 더 간략하게 참고할 수 있는 자료가 있을까요?
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
klaytn truffle 프로젝트를 aws로 올릴 수 있나요?
안녕하세요. 조별과제 프로젝트로 블록체인 프로젝트를 하고 있는 학생입니다. 현재 만들고 있는 klaytn기반 트러플 프로젝트를 아마존 웹 서버에 업로드하고 싶은데, 검색해봐도 방법이 안나옵니다.. 혹시 트러플 프로젝트를 어떻게 아마존 서버에 올리는지 여쭤봐도 되겠습니까?
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
Error: Cannot find module 'connect-privkey-to-provider'
truffle.cmd deploy --network klaytn 명령 하는 과정에서, 분명히 npm install로 package.json에 있는 모듈들을 다운로드 완료했는데도 Error: Cannot find module 'connect-privkey-to-provider' 에러가 뜨면서 배포를 못하고 있습니다. 어떻게 해야할까요?
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
Core cell 선
안녕하세요 일반참여자들은 EN bootnode로 참여되는 것같은데, 지금처럼 private하게 Core Cell 노드를 선정하면 private한 이용자들만 confirm하게 되는거 같기도한데요... Core cell의 경우는 어떻게 결정이되나요? 일반 참여자들도 Random하게 선정되어야 Public하고 private이 공존하는거 아닌가요?
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
IBFT에 대해서
안녕하세요 강좌잘보고있습니다. IBFT는 이전의 public 하고 private의 중간으로 보면 괜찮을지요. public node 사이에서 일부를 랜덤하게 선정해서 validator로써 지정해서, 노드가 증가해도 속도는 같고 빠르게 결정한다는 것인가요? 이부분 궁금해요~
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
Could not find suitable configuration file.
마지막 강의처럼 truffle deploy --network klaytn를 하면, Could not find suitable configuration file와 같은 오류가 뜨면서 안되네요 ㅠㅠ
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
100 TEST_KLAY가 안받아집니다.
DEV NODE에서는 100 TEST KLAY를 받을 수 있다고 하는데 안받아집니다. 0 KLAY여서 돈 보내는 것도 테스트 해볼 수가 없네요ㅣ ㅠㅠ
- Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
테스트KLAY 잔액이 0원이에요.
삭제된 글입니다
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
테스트 클레이가 0으로 되어있습니다ㅜㅜ
KlaytnIDE&스마트 계약부분의 강의를 듣는중인데 새로고침을 해도 테스트 클레이튼이 0으로 설정되어있는데 혹시 어떤 문제인가요?? 강의를 다시 들어봐도 빠진부분은 없는거같은데 ㅜㅜ
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
caver를 통해 contract를 여러개 배포할 수 있나요?
직원 정보를 블록체인에 저장하는 bapp을 실습하고 있는데요 사장마다 smart contract를 하나 갖고 있어, 이 contract에 직원들의 정보를 저장하고 싶은데요... 여기서 여러 smart contract를 만들고 싶은데, caver를 이용해서 사장마다 고유의 smart contract를 갖게 하는 방법이 있는지 궁금합니다.
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
Klaytn IDE에서 deploy가 되지 않습니다.
'Klaytn IDE & 스마트 계약 1' 강의를 들으며 Klaytn IDE 실습을 진행하는 중 이상 증상이 2개 발견되었습니다. 1. 강의 영상을 보면 Run tab의 From Account 하단에 현재 계정에서 사용할 수 있는 KLAY 값이 표시되고 있는데, 제가 실습을 할 때에는 해당 부분에 'Network Error.'만 표시되면서 KLAY 숫자가 표시되지 않고 있습니다. 2. AdditionGame contract를 정상적으로 compile했습니다. Deploy 하기 위해 Deploy 버튼을 클릭했는데 'Deploying' 표시만 되고 10분 이상 기다려도 진행이 되지 않고 있네요. 어떤 조치를 수행할 수 있을지 알려주시기 바랍니다.
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
Visa 트랜잭션 속도가 1700이 맞나요?
23000인가로 알고있는데 1700이 맞는건가요?
- 해결됨Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
npm install
yelcow@yelcow:~/bapp/addition-game-starter$ sudo npm install [sudo] password for yelcow: > scrypt@6.0.3 preinstall /home/yelcow/bapp/addition-game-starter/node_modules/scrypt > node node-scrypt-preinstall.js > keccak@1.4.0 install /home/yelcow/bapp/addition-game-starter/node_modules/keccak > npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used." > keccak@1.4.0 rebuild /home/yelcow/bapp/addition-game-starter/node_modules/keccak > node-gyp rebuild gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/yelcow/bapp/addition-game-starter/node_modules/keccak/build' gyp ERR! System Linux 4.15.0-50-generic gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/yelcow/bapp/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! /home/yelcow/.npm/_logs/2019-05-27T05_16_02_930Z-debug.log Keccak bindings compilation fail. Pure JS implementation will be used. > scrypt@6.0.3 install /home/yelcow/bapp/addition-game-starter/node_modules/scrypt > node-gyp rebuild gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/yelcow/bapp/addition-game-starter/node_modules/scrypt/build' gyp ERR! System Linux 4.15.0-50-generic gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/yelcow/bapp/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":"linux","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! /home/yelcow/.npm/_logs/2019-05-27T05_16_04_875Z-debug.log 어떻게 해결하나요? node -v 10.15.3 npm -v 6.9.0 truffle v 4.1.15
- 미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
truffle deploy --network klaytn 에러
PS C:\Users\su\bapp\addition-game-starter> truffle deploy --network klaytn Error: Cannot find module './build/Release/scrypt' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15) at Function.Module._load (internal/modules/cjs/loader.js:506:25) at Module.require (internal/modules/cjs/loader.js:636:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (C:\Users\su\bapp\addition-game-starter\node_modules\scrypt\index.js:3:20) at Module._compile (internal/modules/cjs/loader.js:688:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10) at Module.load (internal/modules/cjs/loader.js:598:32) at tryModuleLoad (internal/modules/cjs/loader.js:537:12) at Function.Module._load (internal/modules/cjs/loader.js:529:3) at Module.require (internal/modules/cjs/loader.js:636:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (C:\Users\su\bapp\addition-game-starter\node_modules\scrypt.js\node.js:1:14) at Module._compile (internal/modules/cjs/loader.js:688:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10) at Module.load (internal/modules/cjs/loader.js:598:32) at tryModuleLoad (internal/modules/cjs/loader.js:537:12) at Function.Module._load (internal/modules/cjs/loader.js:529:3) at Module.require (internal/modules/cjs/loader.js:636:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (C:\Users\su\bapp\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:688:30) 테스트넷과 연결이 안되네요 질문하신 다른분하고 유사한 오류인것 같은데 모듈이 안불러지는 건가요? node 10.13.0 npm 6.8.0 truffle 4.1.15