You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/thirdweb/src/extensions/unstoppable-domains/read/resolveAddress.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -40,14 +40,14 @@ export async function resolveAddress(
40
40
constresolved=awaitgetMany({
41
41
contract,
42
42
tokenId: possibleTokenId,
43
-
// note that you can also retrieve the BTCaddress by using "crypto.BTC.address" (should that become useful one day)
43
+
// note that you can also retrieve the (BTC, SOL, etc.) address by using "crypto.<symbol>.address" (should that become useful one day)
44
44
keys: ["crypto.ETH.address"],
45
45
});
46
46
47
47
constpossibleETHAddress=resolved[0];
48
48
if(!possibleETHAddress){
49
49
thrownewError(
50
-
`Could not retrieve any ETH address associated with domain name: ${name}`,
50
+
`Could not retrieve any ETH address associated with domain name: ${name}. Make sure you have set the base EVM address for your domain here: https://unstoppabledomains.com/manage?page=crypto&domain=<your-domain>`,
`Failed to retrieve domain for address: ${address}. Make sure you have set the Reverse Resolution address for your domain at https://unstoppabledomains.com/manage?page=reverseResolution&domain=your-domain`,
0 commit comments