Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Clarify ERC-721 wallet_watchAsset support and custom-chain NFT discovery (BDAG 1404)

Đang mở
#442 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
12/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
blockchain, documentation

Hướng nghiên cứu

The payload does not name a file. Start from the EVM guide's wallet_watchAsset section and its broken GitHub Discussions link, then check whether the documented ERC-20 request shape covers ERC-721 with tokenId 0. Done means a maintainer confirms the supported ERC-721 request and chain 1404 discovery behaviour, or the guide is updated to say so. The wallet-side error needs extension-level confirmation, so a newcomer cannot finish this alone.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

We need browser-extension integration guidance for an ERC-721 collectible on custom EVM chain 1404 (BDAG). Your EVM guide documents ERC-20 wallet_watchAsset, but does not establish ERC-721 import/gallery support. The guide links GitHub Discussions, which currently returns 404, so I am raising this here. Please redirect to the correct engineering channel if needed.

Reproduction

  1. Select the Trust Wallet EIP-6963 provider with rdns com.trustwallet.app.
  2. Connect the NFT owner. eth_chainId, the checkpoint block hash and ownerOf(0) confirm the account owns the NFT on the intended chain.
  3. Request wallet_watchAsset with type: "ERC721", options address and tokenId: "0".
  4. Receive error -32602: Expected an integer 'decimals'. Received: undefined.
  5. Retry keeping type ERC721 and explicitly including symbol and integer decimals 0. The same error occurs:
{"method":"wallet_watchAsset","params":{"type":"ERC721","options":{"address":"0xb7f38375EacCc9E1Dc31954b7Ad4082A4F6a7F98","tokenId":"0","symbol":"TURBOGH","decimals":0}}}

Public test asset

  • Chain ID: 1404; RPC: https://rpc.macula.co.za
  • ERC-721 proxy: 0xb7f38375EacCc9E1Dc31954b7Ad4082A4F6a7F98; token ID: 0
  • Read-only viewer and explicit diagnostics: https://turbo.macula.co.za/collectible?tokenId=0
  • tokenURI: on-chain base64 JSON with HTTPS PNG image and external_url https://turbo.macula.co.za/welcome
  • Contract implements ERC-721, UUPS upgrades and ERC-4906. Native wallet gallery rendering has not been verified.
  • This report covers the installed Chrome extension; the exact extension version has not yet been captured.

Questions

  1. Is ERC-721 wallet_watchAsset supported, including token ID 0, and what request shape is accepted?
  2. Does the NFT gallery/discovery support custom EVM chains, specifically chain 1404? What chain/indexer registration is required?
  3. Does NFT metadata support on-chain data-URI JSON, or require an HTTPS tokenURI?
  4. Are unsolicited NFTs hidden by default, and does the detail view expose external_url?

We intend to keep this collectible on BDAG. Ownership and website rendering work, but automatic discovery, logo display and the website link need actual wallet confirmation before distributing the holder edition. No financial transaction, signing request, seed, key or credential is part of this reproduction.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
484
Fork
274
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của trustwallet/developer

Tất cả issue của trustwallet/developer

Issue tương tự

Thêm issue về Blockchain

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.