Skip to main content

On-Ramp

AppKit seamlessly incorporates Coinbase Pay, enabling users to sign in to their Coinbase accounts and utilize fiat payment methods for purchasing cryptocurrencies.

Note

On-Ramp is supported in the latest version of AppKit. If you are using an older version, make sure you upgrade.

Integration

The On-Ramp feature is enabled by default, so no additional configuration is required.

If you prefer to disable it, set the enableOnramp flag to false in the configuration of the createWeb3Modal function.

Note

On-Ramp is now available on Solana. The configuration for On-Ramp on both EVM and Solana is the same. Please refer to the code snippet below.

const modal = createWeb3Modal({
//...
chains: [mainnet],
projectId,
enableOnramp: false // Optional - true by default
})