The CenterProvider component should be placed at the root of your application and is used to configure and provide the Center API client.

You can use it to set API defaults, including:

Getting Set Up

To start using the components and hooks, wrap your application in a CenterProvider provided by @center-inc/react.


You can configure the CenterProvider by passing in props, including:

  • network: The blockchain network on which you'd like to access NFTs.
  • mode: production or development.
  • apiKey: Your center API key.