From 725d035db42faab4d711d9a0057e3bace5f27780 Mon Sep 17 00:00:00 2001 From: tomiir Date: Mon, 11 Nov 2024 14:06:43 +0100 Subject: [PATCH] chore: add mantle to lab0 --- apps/laboratory/next.config.mjs | 2 +- apps/laboratory/src/utils/ConstantsUtil.ts | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/laboratory/next.config.mjs b/apps/laboratory/next.config.mjs index f7bc508f99..659bd7f07e 100644 --- a/apps/laboratory/next.config.mjs +++ b/apps/laboratory/next.config.mjs @@ -15,7 +15,7 @@ const cspHeader = ` img-src * 'self' data: blob: https://walletconnect.org https://walletconnect.com https://secure.walletconnect.com https://secure.walletconnect.org https://tokens-data.1inch.io https://tokens.1inch.io https://ipfs.io https://appkit-lab.reown.org; font-src 'self' https://fonts.gstatic.com; connect-src 'self' https://react-wallet.walletconnect.com https://rpc.walletconnect.com https://rpc.walletconnect.org https://relay.walletconnect.com https://relay.walletconnect.org wss://relay.walletconnect.com wss://relay.walletconnect.org https://pulse.walletconnect.com https://pulse.walletconnect.org https://api.web3modal.com https://api.web3modal.org wss://www.walletlink.org https://o1095249.ingest.sentry.io https://quote-api.jup.ag; - frame-src 'self' https://verify.walletconnect.com https://verify.walletconnect.org https://secure.walletconnect.com https://secure.walletconnect.org https://secure.reown.com https://widget.solflare.com/ ${secureSiteDomain}/; + frame-src 'self' http://localhost:3010 https://verify.walletconnect.com https://verify.walletconnect.org https://secure.walletconnect.com https://secure.walletconnect.org https://secure.reown.com https://widget.solflare.com/ ${secureSiteDomain}/; object-src 'none'; base-uri 'self'; form-action 'self'; diff --git a/apps/laboratory/src/utils/ConstantsUtil.ts b/apps/laboratory/src/utils/ConstantsUtil.ts index 2b0c32180f..ce8c512044 100644 --- a/apps/laboratory/src/utils/ConstantsUtil.ts +++ b/apps/laboratory/src/utils/ConstantsUtil.ts @@ -13,7 +13,8 @@ import { gnosis, unichainSepolia, hedera, - aurora + aurora, + mantle } from '@reown/appkit/networks' import type { AppKitNetwork } from '@reown/appkit/networks' import { getLocalStorageItem } from './LocalStorage' @@ -66,7 +67,8 @@ const EvmNetworks = [ sepolia, gnosis, hedera, - aurora + aurora, + mantle ] as [AppKitNetwork, ...AppKitNetwork[]] export const solanaNotExist = {