Dashboard configuration
Visit the MoonKey Dashboard and select your app from the App Dropdown in the sidebar. Then, navigate to the Account Funding page for your selected app.Enable funding methods
MoonKey currently supports card-based funding methods:- Debit/credit cards - Visa, Mastercard, and other major card providers
- Apple Pay - For Safari and iOS users
- Google Pay - For Chrome and Android users
Make sure you have MoonKey’s authentication UI components integrated in your app, as they are required for funding flows to work properly.
Set default chain and amount
Once you’ve enabled funding methods, configure the default settings for your users:Default chain
- Ethereum
- Solana
Select Ethereum as your blockchain and choose a default network:
- Ethereum Mainnet
- Base
- Polygon
- Arbitrum
- Optimism
- Other EVM networks
Default amount
Set a default amount that users should fund their wallets with. Users can adjust this amount before confirming their purchase. Recommended amounts:- Ethereum: 0.01 - 0.1 ETH
- Base/L2s: 0.05 - 0.2 ETH (lower gas fees)
- Solana: 0.1 - 1 SOL
Override in code
You can override dashboard defaults programmatically when calling the funding function:- Ethereum
- Solana
Sandbox mode for testing
During development, you can enable sandbox mode to test funding flows without processing real transactions. This is useful for testing your integration before going live.- Ethereum
- Solana
Sandbox mode allows you to test the complete funding flow without processing real payments. Always set
useSandbox: false or omit it entirely for production environments.Best practices
Choose appropriate default amounts
Choose appropriate default amounts
- Consider typical transaction costs in your app
- Account for gas fees on the network
- Don’t set amounts too low (users may not have enough for transactions)
- Don’t set amounts too high (may discourage new users)
Select the right network
Select the right network
- Use Layer 2s (Base, Arbitrum, Optimism) for lower fees
- Match the network to where your contracts are deployed
- Consider user familiarity with different networks
Test your configuration
Test your configuration
- Test the funding flow end-to-end on mainnet
- Verify the default amount makes sense for your use case
- Ensure the funding modal displays correctly