Configuration
After installing Auth React and the required peer dependencies, you need to create and export your FutureverseAuthClient
, Wagmi
, and QueryClient
configurations.
We recommend you create a dedicated file for your configurations (e.g., Config.ts
).
Example Config.ts
:
Config.ts
:Here’s an example of how your Config.ts
file should look:
Configuration Steps
The configuration steps are detailed in the following pages:
Configure
FutureverseAuthClient
:Set up your
FutureverseAuthClient
with yourclientId
,environment
, andredirectUri
.Configure
Wagmi
:Create a Wagmi configuration using
createWagmiConfig
, including wallet providers (e.g., MetaMask, WalletConnect, Xaman).Configure
QueryClient
:Initialize the
QueryClient
for managing asynchronous data using TanStack Query.
Last updated