Skip to content

Commit

Permalink
fix: put alchemy on highest priority
Browse files Browse the repository at this point in the history
  • Loading branch information
aramalipoor committed Oct 22, 2022
1 parent 4c3807a commit d4611a8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/react/src/core/wallet/providers/wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,17 @@ export type WalletProviderProps = {
const FLAIR_MAGIC_API_KEY = 'pk_live_8B82089A89462668';

const { chains, provider, webSocketProvider } = configureChains(FLAIR_CHAINS, [
publicProvider(),
alchemyProvider({
priority: 10,
apiKey: FLAIR_ALCHEMY_API_KEY,
}),
infuraProvider({
priority: 50,
apiKey: FLAIR_INFURA_PROJECT_ID,
}),
publicProvider({
priority: 100,
}),
]);

const AutoWalletWrapper = ({
Expand Down

0 comments on commit d4611a8

Please sign in to comment.