@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) • 670 B
TypeScript
import { PushChain } from "@pushchain/core";
import { UniversalSigner } from "@pushchain/core/src/lib/universal/universal.types";
import { ChainType, IWalletProvider } from "../types";
export declare function createGuardedPushChain(baseClient: PushChain, handleExternalWalletConnection: (data: {
chain: ChainType;
provider: IWalletProvider["name"];
}) => Promise<void>, requestPushWalletConnection: () => Promise<{
chain: ChainType;
provider: IWalletProvider["name"];
}>, checkAndShowUpgradeIfNeeded: (pushChainClient: PushChain) => Promise<boolean>, universalSigner: UniversalSigner, intializeProps: any, uid: string, callback?: () => void): PushChain;