전체 글

· 오류😬
정말 심장이 멎는 줄 알았다.. 지난번에도 블루스크린이 느닷없이 뜬 적이 있었는데 그 때는 그냥 기다리니까 자동으로 복구가 되서 이번에도 괜찮을 줄 알았다.. 근데 갑자기 PC를 복구하지 못했다고.. 그냥 결론적으로 말하면 고급 옵션 > 프롬포트 열어서 chkdsk /f /r C: 이거 입력하고 다 된 후에 다시 재부팅하니까 해결이 되었다ㅠㅠㅠㅠㅠ 시동 복구도 안되고, 복원도 안됐다.. 진짜 이것까지 안되면 그냥 백업하고 포맷해야되나 생각했다😭😭😭 다들 꼭.. 해결하시길 바라요... 내일 날 밝자마자 AS 센터라도 전화해서 대체 뭐가 문제인지 물어봐야겠음.. 참고: https://itfix.tistory.com/271
https://nomadcoders.co/go-for-beginners/lobby 쉽고 빠른 Go 시작하기 – 노마드 코더 Nomad Coders Go for Beginners nomadcoders.co 해당 강의를 들으면서 GO 스터디를 학기 중에 진행하게되었다. 바빠 죽겠지만.. 시작.. 이전 게시글에서 환경설정하는 부분은 끝마쳤고 이제 본격적으로 프로그래밍에 들어간다. 1.0 Main Package main 이 entry point라서 컴파일러는 패키지 이름이 main인 것부터 찾아내서 컴파일함 GO에서는 package name을 작성해주어야 함. func main() -> Go 프로그램의 시작점. main package의 main function에서 시작. main.go 패키지 작성 -> 컴파일 ..
· 오류😬
windwos terminal에서 wsl2 터미널을 열어서 사용하는데, 잘만 작동하던 code . 명령어가 어느날 갑자기 난데없이 실행이 되지 않았다.. hope@LAPTOP-6LS4T0J4:~$ code /mnt/c/Users/SAMSUNG/.vscode/extensions/ms-vscode-remote.remote-wsl-0.64.2/scripts/wslCode.sh: 63: /home/hope/.vscode/bin/899d46d82c4c95423fb7e10e68eba52050e30ba3/bin/remote-cli/code: not found 요런 로그가 떴는데.. https://github.com/microsoft/vscode-remote-release/issues/6294 Cannot start ..
window wsl2 환경에서 go를 설치해보자. 일단 terminal을 열어서 wsl2를 실행하고 home directory로 이동한 후에 https://go.dev/dl/ 여기 링크에서 Linux 파일의 주소를 복사한다. 지금 현재 주소는 "https://go.dev/dl/go1.18.linux-amd64.tar.gz" 이다. 그냥 마우스 우클릭해서 링크 복사하면 된다. wget https://go.dev/dl/go1.18.linux-amd64.tar.gz # 복사한 링크 주소로 다운 sudo tar -xvf go1.18.linux-amd64.tar.gz # 압축 해제 sudo mv go /usr/local # 위치 이동 이렇게 하면 다운로드는 완료한 것이다. 다음으로 환경변수를 설정해주기 위해서 s..
Harmony에 contract를 deploy 하기 위해서는 먼저 계정이 필요하다. 계정은 아래 링크를 참고해서 만들자. chrome extension을 깔아야 한다. 계정을 만든 후에는 faucet도 진행해주자. https://medium.com/harmony-one/how-to-stake-one-on-harmony-test-net-1f72c4fa802e https://faucet.pops.one/ truffle을 이용해서 deploy하는 방법은 Ethereum에서 deploy를 하는 방법과 동일하다. https://docs.harmony.one/home/developers/deploying-on-harmony/using-truffle Using Truffle - Harmony 1. Install tr..
[https://eips.ethereum.org/EIPS/eip-721] 123. BalanceOf Vs OwnerOf NFT Functions ERC721 standard를 만족시키기 위해 반드시 구현해야 하는 interface 중 이번에는 BalanceOf와 OwnerOf function을 구현해보려 한다. /// @notice Count all NFTs assigned to an owner /// @dev NFTs assigned to the zero address are considered invalid, and this /// function throws for queries about the zero address. /// @param _owner An address for whom to qu..
building out the minting function: a. NFT to pint to an address b. keep track of the token ids c. keep track of token owner addresses to token ids d. keep track of how many tokens an owner address has e. create an even that emits a transfer log - contract address, where it is being minted to, the id 114. Mapping Database for The Minting NFT Function 먼저 c, d 번 기능을 위해 매핑 구조를 만들어야 한다. mapping in so..
105. The Ethereum Improvement Proposal (EIP ERC721 Standard) https://eips.ethereum.org/EIPS/eip-721 EIP-721: Non-Fungible Token Standard eips.ethereum.org 이제 NFT를 minting하는 smart contract를 짜볼 것이다. 앞서 말했듯이 ERC-721 프로토콜을 따라야 하기 때문에 위의 문서를 참고해서 구현해야 하는 것들을 살펴보자. enumeration extension은 optinal이라고 적혀있지만, NFT marketplace에서 그것은 필수이다. 106. EIP & The Open Zeppelin Token Contracts 앞서서 dependencies를 살펴볼때 o..
97. NFT Smart Contract KryptoBirdz Shell Creation // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract KryptoBird { string public name; string public symbol; constructor () { name = 'Kryptobird'; symbol = 'KBIRDZ'; } } smart contract 배포를 해보기 위해서 간단한 contract를 작성했다. 99. Truffle Deployment Javascript File const KryptoBird = artifacts.require("KryptoBird"); //contract name module.export..
섹션 8의 내용은 nodejs, npm, truffle, ganache, metamask 를 설치하는 과정이어서 생략했다. 85. What is JSON (Examples) https://www.w3schools.com/whatis/whatis_json.asp 86. NFT Project Dependency Overview package.json 파일의 dependencies를 간단하게 살펴보았다. dependencies 의 내용은 우리가 프로젝트를 실행하기 위해 설치해야하는 configuration을 담았다. 아직은 isntall 하지 않았지만, npm install을 실행하면 package.json 파일에 있는 dependencies를 설치할 것이다. "dependencies": { "@metamas..
호프
Untitled