Fiat On Ramp + Alchemy Modular SW?

Is it possible to integrate the topup on-ramp modal while using Web3Auth as the signer for Alchemy’s Modular Account Kit? If so, could we have some example code as to how?

hi @johnsbeecher

Thank you for reaching out. I’m not very acquainted with the Alchemy’s Modular Account Kit. I will reach out to the product team to see if they can provide some insights on this.

1 Like

Sounds good, thank you! Any updates?

Hey @johnsbeecher sorry for the delays, you can use our url directly. the receiveWalletAddress would be Smart account address generated using Alchemy.

https://checkout.web3auth.io/?apiKey=c7e7af2c-27c8-49c7-bc04-7e07d92a1ac2&userId=user_name&receiveWalletAddress=0xB24bf55E405cbA3199ea510B71B11E2C4acc815F

You can also config the modal using these parameters

    buildEnv?: BUILD_ENV_TYPE;
    receiveWalletAddress: string;
    apiKey: string;
    userId?: string;
    userEmail?: string;
    crypto?: string;
    fiat?: string;
    fiatAmount?: string;
    cryptoAmount?: string;
    strictMode?: boolean;
    chainId?: string;
    primaryColorHex?: string;
    textColorHex?: string;
    isDark?: boolean;
1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.