Import
Usage
Limitations
The configuration must be accepted by the installed viem v2 version.noAccount prevents the factory from generating a Para account, but walletClientConfig.account can still supply one.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Options for creating a viem v2 WalletClient backed by a Para account.
import type { Para as ParaServer } from '@getpara/server-sdk';
import type { CreateParaViemClientOptions } from '@getpara/viem-v2-integration';
import { http } from 'viem';
import { mainnet } from 'viem/chains';
declare const para: ParaServer; // An authenticated Para Server client with a loaded EVM wallet.
const options: CreateParaViemClientOptions = {
para,
walletClientConfig: { chain: mainnet, transport: http() },
};
noAccount prevents the factory from generating a Para account, but walletClientConfig.account can still supply one.