Skip to content

coinbase/onramp-demo-mobile

Repository files navigation

Welcome to Coinbase Onramp Demo App 👋

Running the app

  1. Install dependencies

    npm install
  2. For Android, you need a debug keystore (required for app signing):

    If debug.keystore doesn't exist in android/app, create it:

    cd android/app
    keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000

    Default debug keystore credentials (for development only):

    • Keystore password: android
    • Key alias: androiddebugkey
    • Key password: android

    Note: This keystore is for development only. For production, you'll need to create a separate release keystore.

  3. Start the app

     npx expo start
  4. Follow the output instructions to run the app on your device or simulator.

Onramp integration demo

Main integration point is in the Fund component.

Steps to integrate:

  1. Register and get the projectId from the CDP portal

  2. Assemble the Onramp URL with the getOnrampBuyUrl function

  3. Open the browser with the Onramp URL

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published