Getting Started
The RamperContext provides a global context for the Ramper wallet integration, managing authentication, theming, dapp functions, etc.
Usage
Init the SDK
import { RamperProvider } from '@ramper-v2/native-core'
<RamperProvider
theme="light"
appId="<your-app-id>"
chain={chain}
authUrl={AUTH_URL_DEFAULT}
>
// Nested components
{children}
<RamperProvider />
Props
Prop
Type
Default
Description
appId
string
required
Your Ramper application ID
chain
ChainNameEnum
'tomo'
The blockchain network to connect to
locale
'en' | 'kr'
'en'
Language setting
theme
IThemes
'light'
UI theme setting
authUrl
string
AUTH_URL_DEFAULT
Ramper Authentication URL
Last updated