Arcana auth wagmi connector
Usage
import { ArcanaConnector } from "@arcana/auth-wagmi"
const connector = new ArcanaConnector({
options: {
clientId: `${arcana_client_id}`,
}
})
Configuration
chains
Chains supported by app.
import { mainnet, optimism, polygon } from '@wagmi/core/chains'
import { ArcanaConnector } from "@arcana/auth-wagmi"
const connector = new ArcanaConnector({
chains: [mainnet, optimism, polygon],
options: {
clientId: `${arcana_client_id}`,
},
})
options
Options to be passed to Arcana auth SDK.
const connector = new ArcanaConnector({
chains: [mainnet, optimism, polygon],
options: {
clientId: `${arcana_client_id}`,
theme: 'light',
alwaysVisible: false,
position: 'left'
},
})
Remaining integration documentation can be found at wagmi docs.