leather-io / extension

Leather browser extension
https://leather.io
MIT License
288 stars 135 forks source link

Nakamoto testnet, freshly deployed tokens not displayed in asset list #5398

Open 314159265359879 opened 1 month ago

314159265359879 commented 1 month ago

https://explorer.hiro.so/txid/0x0e0e651c96569e5370f604b86179013b5296ed7f9a9b4a214deb49dea1002856?chain=testnet&api=https%3A%2F%2Fapi.nakamoto.testnet.hiro.so

image

This is a hardware wallet, but it is the same on a the extension in software mode.

Since the dapp the developer has created that utilizes these tokens does reckognize the tokens the workaround is simple. Rely on the dapp to interact with these tokens.

Is there anything we can do to display these tokens even if we do not have metadata for them for example? https://explorer.hiro.so/txid/0x0b88dc5fa6ae54331d72efb73c2f7dd99a66f333869b28eb5355fb585910317c?chain=testnet&api=https://api.nakamoto.testnet.hiro.so https://explorer.hiro.so/txid/0xc24e1b79dce01353413b59e8bdca1e72b9ff94f4e3f18dcdaf4b4635424b5e55?chain=testnet&api=https://api.nakamoto.testnet.hiro.so

markmhendrickson commented 1 month ago

@fbwoolf do you know if we query the metadata API for Nakamoto testnet data specifically, or if we're defaulting to just regular testnet metadata?

fbwoolf commented 1 month ago

@fbwoolf do you know if we query the metadata API for Nakamoto testnet data specifically, or if we're defaulting to just regular testnet metadata?

The basePath of the query is set to network.chain.stacks.url which should be the nakamoto testnet url if on that network. I would need to test it though to make sure. Will confirm.