mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-01-14 08:58:02 -05:00
* feat: metamask switch network support + fixed dependancy cycle * feat: moved landing to index * feat: updated favicon * fix: fixed landing page issues + scrollSnap * feat: join button * fix: fixed seed script with new prod schema * feat: join button redirects based on user creation date * fix: minor ui bug fixes * feat: connect to mainnet to continue with switch network on metamask * fix: uniform setup screens * fix: fixed XP on dashboard * feat: added start page * fix: fixed issues on landing page * fix: fixed minor issues on dashboard * fix: update idx profile in auth webhook for new players * fix: minor fixes in seed page * fix: player avatar & type * fix: incorporated review comments from @dysbulic & @vidvidvid * fix: more review comments
17 lines
369 B
TypeScript
17 lines
369 B
TypeScript
import WalletConnectProvider from '@walletconnect/web3-provider';
|
|
|
|
import { NETWORK_INFO } from './networks';
|
|
|
|
const rpcUrls = Object.fromEntries(
|
|
Object.entries(NETWORK_INFO).map(([hexId, { rpc }]) => [Number(hexId), rpc]),
|
|
);
|
|
|
|
export const providerOptions = {
|
|
walletconnect: {
|
|
package: WalletConnectProvider,
|
|
options: {
|
|
rpc: rpcUrls,
|
|
},
|
|
},
|
|
};
|