Klaytn IDE 인터페이스가 바뀌어서 그런지 몰라도 뭔가 좀 안되네유
252
myungsu893875
1 asked
0
ERC-721 실습 -> 계정 발란스 & 토큰 소유자 편 보고 있는데요,
1. run하기 전에 account 선택하는 창도 안보이고
2. run 누르면 not found remix_tests.sol 이라고 뜨네요
코드는 아래와 같이 따라서 썼거든요 ㅠㅠ
// Klaytn IDE uses solidity 0.4.24,
pragma solidity >=0.4.24 <=0.5.16;
interface ERC721 /* is ERC165 */ {
event Transfer(address indexed _from, address indexed _to, uint256 indexed _tokenId);
event Approval(address indexed _owner, address indexed _approved, uint256 indexed _tokenId);
event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved);
function balanceOf(address _owner) public view returns (uint256);
function ownerOf(uint256 _tokenId) public view returns (address);
function safeTransferFrom(address _from, address _to, uint256 _tokenId, bytes data) public;
function safeTransferFrom(address _from, address _to, uint256 _tokenId) public;
function transferFrom(address _from, address _to, uint256 _tokenId) public;
function approve(address _approved, uint256 _tokenId) public;
function setApprovalForAll(address _operator, bool _approved) public;
function getApproved(uint256 _tokenId) public view returns (address);
function isApprovedForAll(address _owner, address _operator) public view returns (bool);
}
contract ERC721Implementation is ERC721 {
mapping (uint256 => address) tokenOwner;
mapping (address => uint256) ownedTokensCount;
function mint(address _to, uint _tokenId) public {
tokenOwner[_tokenId] = _to;
ownedTokensCount[_to] += 1;
}
function balanceOf(address _owner) public view returns (uint256) {
return ownedTokensCount[_owner];
}
function ownerOf(uint256 _tokenId) public view returns (address) {
return tokenOwner[_tokenId];
}
}
nft
웹앱
blockchain
Answer 0
사이트 문제 및 ipfs 링크 받을 떄 문제해결
0
486
1
ipfs.infura.io 문제 해결
0
1050
1
파일검색 문제 해결
0
468
1
ERC-721을 위한 baobab 사이트에 계정만들기부터 안되요.
0
391
2
ERC165 의 구현 질문
0
215
0
살려주세요 ㅠㅠ Invalid private key 오류
0
563
0
truffle migrate --compile-all --reset --network klaytn 오류
0
273
0
ERC721 Full
0
242
0
ganache-cli 실행 후 truffle console 에서 accounts 가 조회가 안됩니다.
0
360
1
Deploy & Run 부분 문제 발생
0
229
1
KAS와 CAVER의 관계
0
329
1
비디오 아이디 입력 시 에러
0
268
1
gas 오류
0
466
3
kaikas 와 연동하여 로그인하려면 어떤걸 공부해야 할까요?
0
598
2
!!!!!! 여러분 꼭 읽어주세요 !!!!!!!
3
408
2
Klayton IDE에서 Account누르고 정상적으로 추가해도 추가가 안되요
0
215
1
NFT 멀티 에디션에 대한 질문입니다.
0
330
1
ReferenceError : TextDecoder is not defined 에러 발생
0
1175
1
ipfs 타임아웃
0
317
1
수강의사 있습니다.
1
282
0
강의자료 공유 가능할까요?
0
283
0
수강의사 있습니다.
0
320
0
컴파일러 버전이 안된다고 나옵니다.
0
182
0
SDK VS API
0
169
1

