mirror of
https://github.com/luxfhe/example-dapps.git
synced 2026-10-30 18:13:32 +00:00
A rebrand renamed third-party names it did not own. @luxfhe-fhe/relayer-sdk and @luxfhe-fhe/oracle-solidity were never published, and @fhevm/solidity ships config/ZamaConfig.sol, not LuxConfig.sol, so nothing installed and no contract compiled. The overrides now say what the lockfile already resolved (@zama-fhe/relayer-sdk ^0.3.0-8, @zama-fhe/oracle-solidity ^0.2.0), and the relayer bundle loads from cdn.zama.org, the host that serves it. Co-authored-by: Hanzo Dev <[email protected]>
36 lines
1.1 KiB
TypeScript
36 lines
1.1 KiB
TypeScript
import "@rainbow-me/rainbowkit/styles.css";
|
|
import Script from "next/script";
|
|
import { DappWrapperWithProviders } from "~~/components/DappWrapperWithProviders";
|
|
import { ThemeProvider } from "~~/components/ThemeProvider";
|
|
import "~~/styles/globals.css";
|
|
import { getMetadata } from "~~/utils/helper/getMetadata";
|
|
|
|
export const metadata = getMetadata({
|
|
title: "Lux FHE Template",
|
|
description: "Built with FHEVM",
|
|
});
|
|
|
|
const DappWrapper = ({ children }: { children: React.ReactNode }) => {
|
|
return (
|
|
<html suppressHydrationWarning className={``}>
|
|
<head>
|
|
<link
|
|
href="https://api.fontshare.com/v2/css?f[]=telegraf@400,500,700&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
</head>
|
|
<body suppressHydrationWarning>
|
|
<Script
|
|
src="https://cdn.zama.org/relayer-sdk-js/0.3.0-5/relayer-sdk-js.umd.cjs"
|
|
strategy="beforeInteractive"
|
|
/>
|
|
<ThemeProvider enableSystem>
|
|
<DappWrapperWithProviders>{children}</DappWrapperWithProviders>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
};
|
|
|
|
export default DappWrapper;
|