feat(week-06): Guestbook DApp#109
Open
Dodaji wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
과제 제출 정보
주차: Week 06
과제 유형:
구현 내용
Solidity 0.8.26을 사용해 누구나 블록체인 상에 메시지를 남길 수 있는 방명록(Guestbook.sol)을 만들었습니다. 상태 변수, 이벤트 발생, 그리고 Foundry 기반의 5가지 단위 테스트를 작성했습니다.Next.js App Router와TailwindCSS를 활용해 사용자 인터페이스를 만들었고,wagmi(v2)와RainbowKit을 이용해 메타마스크 지갑 연동을 구현했습니다.useReadContract및useWriteContract를 사용해 방명록을 실시간으로 읽고 쓸 수 있도록 연동을 완료했습니다.배운 점 (What I Learned)
이번 주에 배운 것 (2-3가지)
wagmi와RainbowKit을 통해 블록체인 지갑과 React/Next.js 웹 애플리케이션을 연동하는 방법.어려웠던 점과 해결 방법
어려웠던 점:
로컬 환경(Node.js, Foundry) 세팅부터 지갑 연결, Sepolia 테스트넷 배포를 위한 가스비(ETH) 수급을 설정하는 과정이 복잡하고 에러가 많았습니다.
해결 방법:
공용 Faucet을 통해 Sepolia ETH를 수급하는 법을 숙지하여 안전하게 배포를 마무리할 수 있었습니다.
질문 사항
체크리스트
테스트
forge build성공forge test모든 테스트 통과제출 규칙
{username}/week-{XX}형식 (자유 주제 브랜치명 적용).env파일이 커밋에 포함되지 않음