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


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:

  • apiKey: Your center API key.
  • mode (optional): production or development. Default is development
  • network (optional): The blockchain network on which you'd like to access NFTs. Default is ethereum-mainnet