|
|
|
@ -40,10 +40,10 @@ const wagmiClient = createClient({
|
|
|
|
|
let chainId;
|
|
|
|
|
let contractAddress;
|
|
|
|
|
|
|
|
|
|
if (process.env.CHAIN == '5') {
|
|
|
|
|
if (process.env.CHAIN == 5) {
|
|
|
|
|
chainId = 5;
|
|
|
|
|
contractAddress = '0x31205d753eC2784160F70E6E6177581c7721bD0E';
|
|
|
|
|
} else if (process.env.CHAIN == '1') {
|
|
|
|
|
contractAddress = '0x5a61b50dcd3d394e91794847c55b05f92d5a8e7c';
|
|
|
|
|
} else if (process.env.CHAIN == 1) {
|
|
|
|
|
chainId = 1;
|
|
|
|
|
contractAddress = '';
|
|
|
|
|
} else {
|
|
|
|
@ -54,10 +54,10 @@ if (process.env.CHAIN == '5') {
|
|
|
|
|
ReactDOM.createRoot(document.getElementById("root")).render(
|
|
|
|
|
<ParallaxProvider>
|
|
|
|
|
<WagmiConfig client={wagmiClient}>
|
|
|
|
|
<RainbowKitProvider chains={chains} initialChain={chainId}>
|
|
|
|
|
<RainbowKitProvider chains={chains} initialChain={5}>
|
|
|
|
|
<Wallet />
|
|
|
|
|
<div className="scrollContainer">
|
|
|
|
|
<AllSections contractAddress={contractAddress} />
|
|
|
|
|
<AllSections contractAddress={'0x5a61b50dcd3d394e91794847c55b05f92d5a8e7c'} />
|
|
|
|
|
</div>
|
|
|
|
|
</RainbowKitProvider>
|
|
|
|
|
</WagmiConfig>
|
|
|
|
|