UNPKG

@btc-vision/transaction

Version:

OPNet transaction library allows you to create and sign transactions for the OPNet network.

12 lines 375 B
/** * Type guard to check if a wallet supports OPWallet features */ export function isOPWallet(wallet) { return (typeof wallet === 'object' && wallet !== null && 'web3' in wallet && typeof wallet.web3 === 'object' && 'getMLDSAPublicKey' in wallet.web3 && 'signMLDSAMessage' in wallet.web3); } //# sourceMappingURL=OPWallet.js.map