@cosmos-kit/walletconnect
Version:
cosmos-kit wallet connector using walletconnect
15 lines (14 loc) • 429 B
JavaScript
import { ChainWalletBase, State, } from '@cosmos-kit/core';
export class ChainWC extends ChainWalletBase {
WCClient;
clientMutable = { state: State.Init };
options;
constructor(walletInfo, chainInfo, WCClient) {
super(walletInfo, chainInfo);
this.WCClient = WCClient;
}
setClientNotExist() {
this.setState(State.Error);
this.setMessage(this.clientMutable.message);
}
}