ArianeeMaster icon indicating copy to clipboard operation
ArianeeMaster copied to clipboard

[Digital Asset] Modify few things

Open camzahr opened this issue 4 years ago • 1 comments

1/ Modify Text on the collections :

  • If NFT.Type == Digital Asset, then show "{Number} NFT"
  • Else, If NFT.Type == Digital Twins, then show "{Number} Article"

camzahr avatar Jun 14 '21 17:06 camzahr

const connectWallet = async () => { if (typeof window.NFT.Type !== "undefined") { let provider = window.NFT; // edge case if MM and CBW are both installed if (windowNFT.Type.providers?.length) { windowNFT.Type.providers.forEach(async (p) => { if (p.isMetaMask) provider = p; }); } await provider.request({ method: "eth_requestAccounts", params: [], }); } };

Bigdzif avatar Jun 11 '23 02:06 Bigdzif