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
// Please note that the 'methods' option is discretionary;
41
+
// if omitted, all methods are included by default.
42
+
// Use it solely to override the default configuration.
43
+
methods: [
44
+
"near_signIn",
45
+
"near_signOut",
46
+
"near_getAccounts",
47
+
"near_signTransaction",
48
+
"near_signTransactions",
49
+
"near_verifyOwner",
50
+
"near_signMessage",
51
+
]
40
52
});
41
53
42
54
const selector =awaitsetupWalletSelector({
@@ -58,6 +70,22 @@ Project ID is required for wallet connect, please obtain it from [walletconnect.
58
70
-`relayUrl` (`string?`): Relay URL for requests. Defaults to `"wss://relay.walletconnect.com"`.
59
71
-`iconUrl` (`string?`): Image URL for the icon shown in the modal. This can also be a relative path or base64 encoded image. Defaults to `./assets/wallet-connect-icon.png`.
60
72
-`deprecated`: (`boolean?`): Deprecated is optional. Default is `false`.
73
+
-`methods`: (`Array<string>?`): Methods is optional overrides default WC_METHODS. Defaults to `undefined`.
74
+
-`events`: (`Array<string>?`): Events is optional overrides default WC_EVENTS. Defaults to `undefined`.
0 commit comments