Initialization
You can configure various aspects of Ramper UI by passing in a config to init() function. Make sure to first visit the Developer Dashboard to obtain your App ID and App Secret.
Basic Examples
import {
init,
AUTH_PROVIDER,
CHAIN,
THEME,
WALLET_PROVIDER,
SUPPORTED_ETHEREUM_NETWORKS
} from '@ramper/ethereum'
init({
appId: '<YOUR_APP_ID>',
appName: 'EVM Test App',
authProviders: [
AUTH_PROVIDER.GOOGLE,
AUTH_PROVIDER.FACEBOOK,
AUTH_PROVIDER.TWITTER,
AUTH_PROVIDER.APPLE,
AUTH_PROVIDER.EMAIL
],
walletProviders: [WALLET_PROVIDER.METAMASK],
network: SUPPORTED_ETHEREUM_NETWORKS.MATICMUM,
theme: THEME.DARK,
})Basic Configuration
Auth methods displayed
Appearance
Last updated