CenterProvider
The CenterProvider
component should be placed at the root of your application and is used to configure and provide the Center API client.
Usage
To start using the components and hooks, wrap your application in a CenterProvider
provided by @center-inc/react
.
Props
You can configure the CenterProvider
by passing in props, including:
apiKey
: Your center API key.mode
(optional):production
ordevelopment
. Default isdevelopment
network
(optional): The blockchain network on which you'd like to access NFTs. Default isethereum-mainnet