Defined in: packages/enduser/src/UserLifecycle.ts:10
Base configuration for all L2 Business Clients
accountAddress:
`0x${string}`
Defined in: packages/enduser/src/UserLifecycle.ts:11
client:
WalletClient
Defined in: packages/core/src/clients/types.ts:12
Viem WalletClient for write operations. Must have an account attached.
entryPointAddress:
`0x${string}`
Defined in: packages/enduser/src/UserLifecycle.ts:16
ClientConfig.entryPointAddress
optionalethUsdPriceFeedAddress:`0x${string}`
Defined in: packages/core/src/clients/types.ts:46
ClientConfig.ethUsdPriceFeedAddress
optionalgasless:GaslessConfig
Defined in: packages/enduser/src/UserLifecycle.ts:17
gTokenAddress:
`0x${string}`
Defined in: packages/enduser/src/UserLifecycle.ts:14
GToken contract address. Required for operations involving token approvals and transfers.
gTokenStakingAddress:
`0x${string}`
Defined in: packages/enduser/src/UserLifecycle.ts:15
GTokenStaking contract address. Required for role registration that involves staking.
ClientConfig.gTokenStakingAddress
optionalpaymasterFactoryAddress:`0x${string}`
Defined in: packages/core/src/clients/types.ts:44
PaymasterFactory contract address. Required for deploying new PaymasterV4 instances.
ClientConfig.paymasterFactoryAddress
optionalpublicClient:PublicClient
Defined in: packages/core/src/clients/types.ts:20
Optional PublicClient for read operations. If not provided, one will be derived from the WalletClient or created internally if possible (but usually explicit is better). Currently L1 actions use PublicClient | WalletClient, so WalletClient is enough for both if it has a provider. However, explicitly accepting PublicClient encourages separation.
registryAddress:
`0x${string}`
Defined in: packages/enduser/src/UserLifecycle.ts:12
Registry contract address. Essential for looking up other contracts if not provided explicitly.
sbtAddress:
`0x${string}`
Defined in: packages/enduser/src/UserLifecycle.ts:13
optionalxpntsFactoryAddress:`0x${string}`
Defined in: packages/core/src/clients/types.ts:45