Skip to content

Documentation / cross-app-connect / toPrivyWalletProvider

Function: toPrivyWalletProvider()

toPrivyWalletProvider(opts): PrivyEIP1193Provider

Creates a mostly EIP1193 compatible provider for a Privy cross-app wallet.

Parameters

opts: CreatePrivyWalletProviderOptions

{CreatePrivyWalletProviderOptions} Options for creating the provider.

Returns

PrivyEIP1193Provider

A Privy cross-app wallet provider.