|
|
|
@ -15,7 +15,7 @@ export class RemixClient extends PluginClient { |
|
|
|
|
super() |
|
|
|
|
createClient(this) |
|
|
|
|
this.internalEvents = new EventManager() |
|
|
|
|
this.methods = ["sendAsync", "init"] |
|
|
|
|
this.methods = ["sendAsync", "init", "deactivate"] |
|
|
|
|
this.onload() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -30,6 +30,11 @@ export class RemixClient extends PluginClient { |
|
|
|
|
console.log('initializing walletconnect plugin...') |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
async deactivate(){ |
|
|
|
|
console.log('deactivating walletconnect plugin...') |
|
|
|
|
return true |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
async initClient () { |
|
|
|
|
try { |
|
|
|
|
this.chains = [arbitrum, arbitrumGoerli, mainnet, polygon, polygonMumbai, optimism, optimismGoerli, goerli, sepolia] |
|
|
|
|