|
|
|
@ -8,6 +8,7 @@ import React from "react";
|
|
|
|
|
import { getDefaultWallets, RainbowKitProvider } from '@rainbow-me/rainbowkit';
|
|
|
|
|
import { configureChains, createClient, WagmiConfig } from 'wagmi';
|
|
|
|
|
import { mainnet, goerli, localhost } from 'wagmi/chains';
|
|
|
|
|
import { infuraProvider } from 'wagmi/providers/infura'
|
|
|
|
|
import { publicProvider } from 'wagmi/providers/public';
|
|
|
|
|
|
|
|
|
|
import { ParallaxProvider } from 'react-scroll-parallax';
|
|
|
|
@ -18,7 +19,10 @@ import { AllSections } from './template/Sections';
|
|
|
|
|
|
|
|
|
|
const { chains, provider, webSocketProvider } = configureChains(
|
|
|
|
|
[mainnet, goerli, localhost],
|
|
|
|
|
[publicProvider()]
|
|
|
|
|
[
|
|
|
|
|
publicProvider(),
|
|
|
|
|
infuraProvider({ apiKey: 'e7674eea9d72437d9129b41ed018183d' })
|
|
|
|
|
]
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
const { connectors } = getDefaultWallets({
|
|
|
|
@ -39,7 +43,7 @@ ReactDOM.createRoot(document.getElementById("root")).render(
|
|
|
|
|
<RainbowKitProvider chains={chains} initialChain={5}>
|
|
|
|
|
<Wallet />
|
|
|
|
|
<div className="scrollContainer">
|
|
|
|
|
<AllSections contractAddress={'0x31205d753ec2784160f70e6e6177581c7721bd0e'} />
|
|
|
|
|
<AllSections contractAddress={'0x31205d753eC2784160F70E6E6177581c7721bD0E'} />
|
|
|
|
|
</div>
|
|
|
|
|
</RainbowKitProvider>
|
|
|
|
|
</WagmiConfig>
|
|
|
|
|