createOtimClient
function accepts different configuration options depending on your application type and wallet management needs.
Note: The next example is using wagmi, but the wallet client can be from viem too.
WalletClient
instancetransport
, chain
, and account
, the SDK will create a new WalletClient
internally using viem’s createWalletClient
function. This approach is recommended for backend applications where you have direct control over the wallet configuration.