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 Web3Modal. If you are using an older version, make sure you upgrade.
Integration
In order to enable On-Ramp 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
})
Was this helpful?