From 2bda184bba0fed57fc9e83eea7bade7999ed6e75 Mon Sep 17 00:00:00 2001 From: surbhi Date: Wed, 7 Jan 2026 13:52:37 -0400 Subject: [PATCH] other web3modal change --- src/blockchain/web3modal.js | 13 +------------ src/components/NeedsSigner.vue | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/src/blockchain/web3modal.js b/src/blockchain/web3modal.js index 1ec7a48..1378a0a 100644 --- a/src/blockchain/web3modal.js +++ b/src/blockchain/web3modal.js @@ -35,7 +35,7 @@ const ethersConfig = defaultConfig({ icons: ['https://your-icon-url.com'] }, defaultChainId: 42161, - enableEIP6963: true, // Disable to prevent wallets from auto-announcing + enableEIP6963: false, // Disable to prevent wallets from auto-announcing enableInjected: true, enableCoinbase: true, rpcUrl: 'https://arbitrum-mainnet.infura.io' @@ -50,15 +50,4 @@ export const web3modal = createWeb3Modal({ featuredWalletIds: [ 'c57ca95b47569778a828d19178114f4db188b89b763c899ba0be274e97267d96' // MetaMask ], - enableWalletGuide: false, - termsConditionsUrl: undefined, - privacyPolicyUrl: undefined -}) - -// Subscribe to modal state changes -web3modal.subscribeState((state) => { - console.log('Web3Modal state:', state) - if (state.open === false && state.selectedNetworkId) { - console.log('Modal closed after connection') - } }) \ No newline at end of file diff --git a/src/components/NeedsSigner.vue b/src/components/NeedsSigner.vue index eb937a8..203d217 100644 --- a/src/components/NeedsSigner.vue +++ b/src/components/NeedsSigner.vue @@ -28,8 +28,8 @@ - + @@ -87,4 +87,16 @@ async function connect() { #manualsetup tr td:last-child { padding-left: 1em; } + +:deep(.connect-wallet-btn) { + background-color: #00ff41 !important; + color: #000 !important; + font-weight: 600; + box-shadow: 0 0 8px rgba(0, 255, 65, 0.3) !important; +} + +:deep(.connect-wallet-btn:hover) { + background-color: #00cc34 !important; + box-shadow: 0 0 12px rgba(0, 255, 65, 0.4) !important; +}