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.

11 lines (10 loc) 657 B
import { type SignAuthorizationParams, type SignedAuthorization } from '@pushchain/core'; import type { ITypedData, UniversalAccount } from '../types'; type SignerHandlers = { signMessage: (data: Uint8Array) => Promise<Uint8Array>; signAndSendTransaction: (data: Uint8Array) => Promise<Uint8Array>; signTypedData: (data: ITypedData) => Promise<Uint8Array>; signAuthorization?: (params: SignAuthorizationParams) => Promise<SignedAuthorization>; }; export declare const constructPushChainSigner: (universalAccount: UniversalAccount, isSolana: boolean, handlers: SignerHandlers) => import("@pushchain/core").UniversalSignerSkeleton; export {};