Kip37 contract name, symbol 설정

kip17일 경우 name과 symbol을 기본적으로 입력받아 토큰을 생성하는데

kip37일 경우 따로 구현을 해야 하나요 ?

KIP-37 standard를 보면 name과 symbol을 표준에 포함시키지않았다는 언급이 있습니다.

아래 내용 찾아보시면 될 것 같습니다.

Metadata Choices

The symbol function (found in the KIP-7 and KIP-17 standards) was not included as we do not believe this is a globally useful piece of data to identify a generic virtual item / asset and are also prone to collisions. Short-hand symbols are used in tickers and currency trading, but they aren’t as useful outside of that space.

The name function (for human-readable asset names, on-chain) was removed from the standard to allow the Metadata JSON to be the definitive asset name and reduce duplication of data. This also allows localization for names, which would otherwise be prohibitively expensive if each language string was stored on-chain, not to mention bloating the standard interface. While this decision may add a small burden on implementers to host a JSON file containing metadata, we believe any serious implementation of KIP-37 will already utilize JSON Metadata.

1개의 좋아요

아… 감사합니다. 한번 꼼꼼히 읽어보겟습니다.

KAS에서 제공해주는 contract API를 보면 namer과 symbol이 필수param은 아니지만 입력받는것으로 보이는데

image
klaytn ide로 배포할시 메타데이터url만 입력받아 배포가 되는것으로 보이는데 ㅠ 다른 인터페이스를 끌어와서 구현을 해야 하는건지 잘 모르겟습니다… ㅠ

개발 시작한지 얼마 안되서 질문이 고르지 못한점 양해부탁드립니다 …!