ConnectProvider
Description
The ConnectProvider
component in TypeScript React sets up a context provider for managing the ConnectSmartAccount related state and functionality.
Parameters
apiKey : Cometh Connect public api key. This can be retrieved from the Cometh dashboard
bundlerUrl: The URL of the Cometh bundler. This can be retrieved from the Cometh 4337 docs and dashboard
paymasterUrl - optional: The paymaster API key. This can be retrieved from the Cometh dashboard
rpcUrl - optional
Example
Last updated