Skip to content
2 changes: 1 addition & 1 deletion apps/shell/next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import './.next/types/routes.d.ts';
import './.next/dev/types/routes.d.ts';

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
21 changes: 21 additions & 0 deletions apps/shell/src/app/[locale]/burn/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import {
HydrationBoundary,
QueryClient,
dehydrate,
} from '@tanstack/react-query';
import { MintPage } from '@haqq/shell-burn-waitlist';

export const dynamic = 'force-dynamic';
export const fetchCache = 'force-no-store';

export default async function BurnMintPage() {
const queryClient = new QueryClient();

const dehydratedState = dehydrate(queryClient);

return (
<HydrationBoundary state={dehydratedState}>
<MintPage />
</HydrationBoundary>
);
}
5 changes: 5 additions & 0 deletions apps/shell/src/config/wagmi-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ const supportedChainsTransports = supportedChains.reduce(
{} as Record<number, Transport>,
);

// TODO: temporary RPC override for burn testing on mainnet
supportedChainsTransports[11235] = http('http://128.199.216.2:38545', {
batch: true,
});

/** Skip WalletConnect on server (SSR) — it uses indexedDB which is not defined in Node. */
const isClient = typeof window !== 'undefined';

Expand Down
2 changes: 2 additions & 0 deletions libs/burn-waitlist/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export * from './lib/waitlist-page';
export * from './lib/mint-page';
export * from './lib/hooks';
export * from './lib/components';
export * from './lib/constants/waitlist-config';
export * from './lib/constants/ethiq-config';
Loading
Loading