Skip to content

Instantly share code, notes, and snippets.

@BetterProgramming
Created February 7, 2022 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BetterProgramming/9f8ccf2f6ddc96b89f3394d86d9036b8 to your computer and use it in GitHub Desktop.
Save BetterProgramming/9f8ccf2f6ddc96b89f3394d86d9036b8 to your computer and use it in GitHub Desktop.
import "../styles/globals.css";
import { DAppProvider } from "@usedapp/core";
const config = {
multicallAddresses: ["0x5FbDB2315678afecb367f032d93F642f64180aa3"],
};
function MyApp({ Component, pageProps }) {
return (
<DAppProvider config={config}>
<Component {...pageProps} />
</DAppProvider>
);
}
export default MyApp;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment