diff --git a/.env.example b/.env.example index d207e8e3a1..443e9cba89 100644 --- a/.env.example +++ b/.env.example @@ -14,3 +14,4 @@ SUBSQUID_ENDPOINT="" RAMP_API_KEY="" TRANSAK_API_KEY="" TRANSAK_ENV="" #STAGING|PRODUCTION +WALLET_CONNECT_PROJECT_ID="" diff --git a/components/common/ChainDropdown.vue b/components/common/ChainDropdown.vue index 7a058ecf94..fd0f84f18e 100644 --- a/components/common/ChainDropdown.vue +++ b/components/common/ChainDropdown.vue @@ -46,7 +46,7 @@ const props = withDefaults( const route = useRoute() const { setUrlPrefix, urlPrefix } = usePrefix() -const { availableChains: allChains } = useChain() +const allChains = useAvailableChainsOptions() const { redirectAfterChainChange } = useChainRedirect() const { isMobile } = useViewport() diff --git a/components/common/ConnectWallet/ConnectEvm.vue b/components/common/ConnectWallet/ConnectEvm.vue new file mode 100644 index 0000000000..772f5199c7 --- /dev/null +++ b/components/common/ConnectWallet/ConnectEvm.vue @@ -0,0 +1,45 @@ + + diff --git a/components/common/ConnectWallet/ConnectSubstrate.vue b/components/common/ConnectWallet/ConnectSubstrate.vue new file mode 100644 index 0000000000..ebb8e98e7e --- /dev/null +++ b/components/common/ConnectWallet/ConnectSubstrate.vue @@ -0,0 +1,126 @@ + + diff --git a/components/common/ConnectWallet/ConnectWalletModal.vue b/components/common/ConnectWallet/ConnectWalletModal.vue index b4d61f1724..0de9ba6c8e 100644 --- a/components/common/ConnectWallet/ConnectWalletModal.vue +++ b/components/common/ConnectWallet/ConnectWalletModal.vue @@ -4,163 +4,76 @@ data-testid="wallet-connect-sidebar-modal"> +
-