UNPKG

@pushchain/ui-kit

Version:

Push Chain is a true universal L1 that is 100% EVM compatible. It allows developers to deploy once and make their apps instantly compatible with users from all other L1s (Ethereum, Solana, etc) with zero on-chain code change.

14 lines 691 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.constructPushChainSigner = void 0; const core_1 = require("@pushchain/core"); const constructPushChainSigner = (universalAccount, isSolana, handlers) => { return core_1.PushChain.utils.signer.construct(universalAccount, { signMessage: handlers.signMessage, signAndSendTransaction: handlers.signAndSendTransaction, signTypedData: isSolana ? undefined : handlers.signTypedData, signAuthorization: isSolana ? undefined : handlers.signAuthorization, }); }; exports.constructPushChainSigner = constructPushChainSigner; //# sourceMappingURL=constructPushChainSigner.js.map