Skip to main content

Onramp

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

Note

Onramp is currently in beta. This feature is only available in the latest version of Web3Modal.

Integration

In order to enable Onramp on Web3Modal add the enableOnramp flag set to true in the createWeb3Modal function configuration.

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