Skip to content

Commit

Permalink
chore(apps/staking): move the .env to vercel config. Use the network …
Browse files Browse the repository at this point in the history
…utils
  • Loading branch information
dandheedge committed Jul 25, 2023
1 parent 761972b commit f9164fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions apps/staking/.env.development
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
NEXT_PUBLIC_ENVIRONMENT=development
NEXT_PUBLIC_UNLEASH_PROXY_HOST=https://preview.unleash.cartesi.io/proxy
NEXT_PUBLIC_UNLEASH_PROXY_CLIENT_KEY=bc1b71da9932b90ccd788d75203fb598c3640cabed3ccccdffd024f341a79d72
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=ba5de27656b7af8e2dab344f790ad81a
NEXT_PUBLIC_UNLEASH_PROXY_CLIENT_KEY=bc1b71da9932b90ccd788d75203fb598c3640cabed3ccccdffd024f341a79d72
1 change: 0 additions & 1 deletion apps/staking/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ NEXT_PUBLIC_ENVIRONMENT=production
NEXT_PUBLIC_UNLEASH_PROXY_HOST=https://unleash.cartesi.io/proxy
NEXT_PUBLIC_UNLEASH_PROXY_CLIENT_KEY=bc1b71da9932b90ccd788d75203fb598c3640cabed3ccccdffd024f341a79d72
NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID=GTM-MS89D9K
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=ba5de27656b7af8e2dab344f790ad81a
4 changes: 2 additions & 2 deletions packages/wallet/src/useOnboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ const injectedWallets = new Set(['metamask', 'coinbase']);

const injectedWallet = injectedModule();
const ledger = ledgerModule();
export const walletConnect = walletConnectModule({
const walletConnect = walletConnectModule({
projectId: WALLETCONNECT_PROJECT_ID as string,
version: 2,
requiredChains: [1],
requiredChains: [Network.MAINNET],
});
const coinbase = coinbaseWalletModule({ darkMode: true });
const gnosis = gnosisModule();
Expand Down

0 comments on commit f9164fa

Please sign in to comment.