@btc-vision/walletconnect
Version:
The OP_NET Wallet Connect library helps your dApp connect to any compatible wallet.
18 lines (17 loc) • 627 B
JavaScript
import { WalletController } from './controller';
import OPWallet from './opwallet/controller';
import { logo as OPWalletLogo } from './opwallet/interface';
import { SupportedWallets } from './supported-wallets';
import UniSatWallet from './unisat/controller';
import { logo as UnisatLogo } from './unisat/interface';
WalletController.registerWallet({
name: SupportedWallets.OP_WALLET,
icon: OPWalletLogo,
controller: new OPWallet(),
});
WalletController.registerWallet({
name: SupportedWallets.UNISAT,
icon: UnisatLogo,
controller: new UniSatWallet(),
});
export { WalletController, SupportedWallets };