@coinbase/cdp-react
components in your application.
cdp-react
installed:CDPReactProvider
, providing the necessary context for hooks and components to work correctly with CDP. It also provides access to config data and theming.
"use client"
requirements and common gotchas.main.tsx
or App.tsx
) to include the provider:
AuthButton
component to your application. This component handles both sign-in and sign-out functionality.
@coinbase/cdp-react
, set up the provider, and rendered your first component.
Find all available components and their documentation in the CDP React module reference.