Skip to content
Open

Base #12

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 14 additions & 17 deletions config/network.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ import MenuItem from '@mui/material/MenuItem';
import { useEffect, useState } from "react";
import React from 'react';

const SepC: Chain = {
id: 11155111,
name: 'Sepolia',
network: 'sepolia',
const C: Chain = {
id: 84531,
name: 'base',
network: 'Base Goerli',
iconUrl: 'https://cryptologos.cc/logos/fantom-ftm-logo.svg?v=023',
iconBackground: '#fff',
nativeCurrency: {
decimals: 18,
name: 'Fantom',
symbol: 'FTM',
name: 'F',
symbol: 'F',
},
rpcUrls: {
default: 'https://sepolia.infura.io/v3/6822e4e6edc847829086404ffe6d5b2b',
default: 'https://goerli.base.org',
},
testnet: true,
};
const SepRPC = 'https://sepolia.infura.io/v3/6822e4e6edc847829086404ffe6d5b2b'
const SepA = '0xE565f05422481345b5Fad564DD9Ab7B0cE3Ec017'
const SepM = <MenuItem value={'0xE565f05422481345b5Fad564DD9Ab7B0cE3Ec017'}>Main</MenuItem>
const RPC = 'https://goerli.base.org'
const A = '0xE565f05422481345b5Fad564DD9Ab7B0cE3Ec017'
const M = <MenuItem value={'0xE565f05422481345b5Fad564DD9Ab7B0cE3Ec017'}>Main</MenuItem>
const BSCC: Chain = {
id: 56,
name: 'Binance Chain',
Expand All @@ -52,17 +52,14 @@ const BSCRPC = 'https://bsc-dataseed.binance.org/'
const BSCA = '0x18C519E0dA619d017908aFf504e782E381552620'
const BSCN = '0xB8112446078378f0998FBf834D4683B6C8Ac08C7'
const BSCM = [<MenuItem value={'0x18C519E0dA619d017908aFf504e782E381552620'}>Main</MenuItem>]
const M = [<MenuItem value={'0xE565f05422481345b5Fad564DD9Ab7B0cE3Ec017'}>Main</MenuItem>,
]

const PolyC = chain.polygon
const RPC = 'https://eth.plexnode.wtf'
const A = '0xE565f05422481345b5Fad564DD9Ab7B0cE3Ec017'
const PolyN = '0x99029716DEeE316894DC8ce4f55Ab066222AACe6'
const N = '0x99029716DEeE316894DC8ce4f55Ab066222AACe6'

const envVars = {
chainn:PolyC,//chainn,
chainn:C,//chainn,
rpc: RPC,
createn: PolyN,
createn: N,
contractn: A,
menun:M
}
Expand Down
3 changes: 1 addition & 2 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ const App = ({ Component, pageProps }: AppProps) => {
const [openA, setOpenA] = useState(false);
return (

<ThemeProvider attribute="class">
<div className="m-auto bg-white dark:bg-gray-900 dark:text-white">
<WagmiConfig client={wagmiClient}>
<RainbowKitProvider chains={chains}>
Expand Down Expand Up @@ -441,7 +440,7 @@ const App = ({ Component, pageProps }: AppProps) => {
</RainbowKitProvider>
</WagmiConfig>
</div>
</ThemeProvider>

)
}
export default App