Files
TheGame/packages/web/utils/walletOptions.ts
dan13ram 7bc99d4b45 Fix Onboarding + A Bunch of Other Issues (#1181)
* 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
2022-03-07 10:20:26 -05:00

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,
},
},
};