@web5nexus/web3auth-core
Version:
Core Implementation for 1 click Web3 Social Auth Implementation for Ethereum, XDC, Bitcoin,Cosmos and other Altcoins.
20 lines • 576 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.web5walletconnect = void 0;
const base_1 = require("@web3auth/base");
async function web5walletconnect(web3auth) {
try {
if (!web3auth) {
return;
}
const web3authProvider = await web3auth.connectTo(base_1.WALLET_ADAPTERS.WALLET_CONNECT_V2);
return (web3authProvider);
}
catch (error) {
console.error(error);
throw error;
}
}
exports.web5walletconnect = web5walletconnect;
;
//# sourceMappingURL=walletconnect.js.map