createMoonChuteConfig
The MoonChute configuration is a framework-independent utility that orchestrates MoonChute and account abstraction-related setups, managing elements like the MoonChute API key and upcoming paymaster and bundler features.
import { createMoonChuteConfig } from 'moonchute';
Usage
import { createMoonChuteConfig } from "moonchute";
const config = createMoonChuteConfig({
apiKey: <YOUR_MOONCHUTE_API_KEY>,
});
Configuration Parameters
apiKey (String)
(required)
This key is essential for establishing a connection with the MoonChute API and accessing its features. If you don't have one, please visit the dashboard.