diff --git a/apps/wallet-connect/src/App.css b/apps/wallet-connect/src/App.css deleted file mode 100644 index a60f767e6f..0000000000 --- a/apps/wallet-connect/src/App.css +++ /dev/null @@ -1,42 +0,0 @@ -.App { - text-align: center; -} - -.App-logo { - height: 40vmin; - pointer-events: none; -} - -@media (prefers-reduced-motion: no-preference) { - .App-logo { - animation: App-logo-spin infinite 20s linear; - } -} - -.App-header { - background-color: #282c34; - min-height: 100vh; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - font-size: calc(10px + 2vmin); - color: white; -} - -.App-link { - color: #61dafb; -} - -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} - -#disconnectbtn, #accounts-container { - display: none; -} \ No newline at end of file diff --git a/apps/wallet-connect/src/App.js b/apps/wallet-connect/src/App.js deleted file mode 100644 index 256f968279..0000000000 --- a/apps/wallet-connect/src/App.js +++ /dev/null @@ -1,56 +0,0 @@ -import React from 'react'; -import './App.css'; -import '@fortawesome/fontawesome-free/css/all.css' -import { RemixClient, INFURA_ID_KEY } from './RemixClient' -const p = new RemixClient() -function App() { - - const openModal = () => { - p.onConnect() - } - - const disconnect = () => { - p.onDisconnect() - } - - const showButtons = (connected = true) =>{ - document.getElementById("disconnectbtn").style.display = document.getElementById("accounts-container").style.display = connected? 'block':'none'; - document.getElementById("connectbtn").style.display = connected? 'none':'block'; - } - - p.internalEvents.on('accountsChanged', (accounts) => { - document.getElementById('accounts').innerHTML = "" - for(const account of accounts){ - document.getElementById('accounts').innerHTML += `