TypeError: Function needs to specify overridden contract "ERC721URIStorage". --> contracts/Monkey.sol:93:27: | 93 | ) public view virtual override(ERC721, ERC721Enumerable) returns (bool) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Note: This contract: --> @openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol:12:1: | 12 | abstract contract ERC721URIStorage is IERC4906, ERC721 { | ^ (Relevant source part starts here and spans across multiple lines). TypeError: Invalid contract specified in override list: "ERC721". --> contracts/Monkey.sol:93:27: | 93 | ) public view virtual override(ERC721, ERC721Enumerable) returns (bool) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Note: This contract: --> @openzeppelin/contracts/token/ERC721/ERC721.sol:19:1: | 19 | contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { | ^ (Relevant source part starts here and spans across multiple lines). Error HH600: Compilation failed For more info go to https://hardhat.org/HH600 or run Hardhat with --show-stack-traces 에러메세지인데 어떤 에러인지 잘모르겠습니다 앞에서도 에러가 많이 났는데 다 해결하면서 진행했는데 여기서 막혀버리네요 typechain 만드는 과정에서 에러가 납니다
리팩토링 1 강의 13:25초에 setSaleNft(contract_address) 를 실행시켜야 getAnimalTokens() 함수를 사용한다고 하셨는데 왜 실행시켜야 하는지 모르겠습니다..! import 해오고 SaleAnimalToken public saleAnimalToken; 시점에 사용 할 수있는게 아닌건가요? saleAnimalToken.sol deploy 할 때도 이미 contract_address 가 등록된 줄 알았는데 setSaleNft(contract_address); 를 한번 실행시켜야 한다는게 잘 이해가 되지 않습니다ㅠ
https://www.notion.so/1034f75e78b34187902ba1ca8df0277b?pvs=4 에 작성 된 방법대로 http://Infura.io 회원가입을 진행하는데 Unable to verify request without a valid Captcha token. 이러한 유효한 토큰이 없다고 회원가입 진행이 안되고 있습니다. 브라우저 캐시삭제, 브라우저 변경, 스마트폰으로 진행으로 여러 방법을 시도 해보았지만 가입이 불가능한 상태인데 다른 방법이 있을까요?
아래 처럼 문법이 많이 바껴서 실습이 힘든것 같습니다.. 아래버전으로는 에러가 나는 상황입니다.. The error occurred because the keyword "constant" is no longer used in the latest version of Solidity. In versions prior to 0.6.0, "constant" was used to indicate that a function does not modify the state of the contract. However, in Solidity 0.6.0 and later versions, the "view" keyword replaces "constant" to indicate that a function does not modify the state. To fix the error, simply replace the keyword "constant" with "view" in the function declaration. Here's the corrected code: pragma solidity ^0.8.18; contract SimpleStorage { uint storedData; function set(uint x) { storedData = x; } function get() view returns (uint) { return storedData; } }
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요 전자지갑개발 실습2를 진행중인데 혹시 무료로 코인을 어떻게 얻을수있을까요? 전송테스트를 해보고싶은데 0이더여서 전송을 할수가 없습니다.
질문1. Game과 이더 단위 관련 리액트 연결시 int, uint에 대한 값을 리액트에서 가져오지 못합니다. 다른 에러창도 없이 빈칸 입니다. 질문2. Bank 관련 강의 중 input에 대한 메타마스크 트랜잭션이 실패 합니다. 참고 이미지 밑에 올려 두었습니다. 리믹스 ide에서는 이상없이 트랜잭션 됩니다. 차이점이라고하면 트랜잭션 승인 창에 주소밑에 보이는 "계약상호작용" 부분이 리믹스와 강의에서는 "DEPOSIT"으로 보입니다. 질문3. 리액트에서 한글이 깨집니다. 강의에서는 다른 설정 없이도 한글이 잘나오네요.. 다른 설정이 있나요? 답변 부탁드립니다! 열공하겠습니다~!
node v.18.17.0 npm v.9.7.1 입니다. 아래 오류 문구들은 npm install 시 오류가 발생하는 부분에 대한 문구입니다. 영상처럼 node v10으로 하려고 하면 npm 버전이 싱크되지 않는다는 오류가 발생합니다. 어떻게 해결하면 좋을까요? 답변 부탁드립니다ㅠㅠ npm ERR! code 1 npm ERR! git dep preparation failed npm ERR! command C:\Program Files\nodejs\node.exe C:\Users\kyuns\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js install --force --cache=C:\Users\kyuns\AppData\Local\npm-cache --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run npm ERR! npm WARN using --force Recommended protections disabled. npm ERR! npm ERR! code 1 npm ERR! npm ERR! The git reference could not be found npm ERR! npm ERR! command git --no-replace-objects checkout 4.0 npm ERR! npm ERR! error: pathspec '4.0' did not match any file(s) known to git npm ERR! npm ERR! npm ERR! A complete log of this run can be found in: C:\Users\kyuns\AppData\Local\npm-cache\_logs\2023-07-31T01_26_10_502Z-debug-0.log npm ERR! A complete log of this run can be found in: C:\Users\kyuns\AppData\Local\npm-cache\_logs\2023-07-31T01_25_25_361Z-debug-0.log
이더리움 입문 바이블: 모든 이더리움 입문자를 위하여 섹션 0 이더리움이란? 지불(Payment), 그 이상을 향해 EVM(EVerenum Virtual Machine) 이라는 내용이 있는데, 링크의 이더리움 황서 pdf를 검색해봐도 Ethereum Virtual Machine 이라고 검색됩니다. 혹시 오타인 건가요?