Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions apps/dcellar-web-ui/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ NEXT_PUBLIC_AUTH_TOKEN=The authentication token to use for all communication wit
# NEXT_PUBLIC_GREENFIELD_CHAIN_EXPLORER_URL=https://greenfieldscan.com
# NEXT_PUBLIC_BSC_EXPLORER_URL=https://testnet.bscscan.com


# WalletConnect project ID used by the frontend build
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { GREENFIELD_CHAIN_ID } from '@/base/env';
import { metaMask, trustWallet, walletConnect } from '@totejs/walletkit/wallets';
import * as Sentry from '@sentry/nextjs';
import { reportEvent } from '@/utils/gtag';
import * as process from 'process';
import { ReactNode } from 'react';
import { customTheme } from '@/base/theme/wallet';
import { DCLink } from '@/components/common/DCLink';
Expand All @@ -18,7 +17,7 @@ const config = createConfig(
appName: 'Connect a Wallet',
autoConnect: true,
/* WC 2.0 requires a project ID (get one here: https://cloud.walletconnect.com/sign-in) */
walletConnectProjectId: '89848e3205cafe0bf76c91aa1aaa71d0',
walletConnectProjectId: process.env.NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID!,
connectors: [trustWallet(), metaMask(), walletConnect()],
}),
);
Expand Down
Loading