Update
Customizing the Connect Wallet Modal (Reown AppKit)
1. Modify the Theme & Modal Options
// Create the modal with custom settings
export const modal = createAppKit({
adapters: [wagmiAdapter],
projectId,
networks: [hypeEvmTestnet, arbitrumSepolia], // Supported networks
defaultNetwork: hypeEvmTestnet, // Default blockchain network
metadata: metadata,
features: {
analytics: true, // Optional analytics tracking (defaults to Cloud settings)
},
themeVariables: {
"--w3m-accent": "#262626"
"--w3m-font-size-master": "9px",
},
});2. Customizing the Connect Button
Updating API Calls: Using TypeScript Enums and Services
1. Define Constants for API Calls
2. Create API Service Files
📁 lib/services/info/spot.ts
lib/services/info/spot.ts3. Using API Calls in Your Application
Last updated