diff --git a/packages/hardhat/hardhat.config.ts b/packages/hardhat/hardhat.config.ts index 445143c..80b258a 100644 --- a/packages/hardhat/hardhat.config.ts +++ b/packages/hardhat/hardhat.config.ts @@ -78,6 +78,10 @@ const config: HardhatUserConfig = { url: `https://polygon-mumbai.g.alchemy.com/v2/${providerApiKey}`, accounts: [deployerPrivateKey], }, + scroll: { + url: `https://rpc.ankr.com/scroll_sepolia_testnet`, + accounts: [deployerPrivateKey], + }, polygonZkEvm: { url: `https://polygonzkevm-mainnet.g.alchemy.com/v2/${providerApiKey}`, accounts: [deployerPrivateKey], diff --git a/packages/nextjs/components/Header.tsx b/packages/nextjs/components/Header.tsx index 0ba7da4..6292906 100644 --- a/packages/nextjs/components/Header.tsx +++ b/packages/nextjs/components/Header.tsx @@ -22,21 +22,21 @@ export const menuLinks: HeaderMenuLink[] = [ href: "/debug", icon: , }, - // { - // label: "Example UI", - // href: "/example-ui", - // icon: , - // }, + { + label: "solidty parser demo", + href: "https://scaffold.movespace.xyz/solidity_code_analyzer", + icon: , + }, // { // label: "ETH-SPACE", // href: "/", // icon: , // }, - // { - // label: "Block Explorer", - // href: "/blockexplorer", - // icon: , - // }, + { + label: "Block Explorer", + href: "https://sepolia-blockscout.scroll.io/address/0xEd6a0A29A962B4296bCeEC4e1E55F5Ec0474EAC7/contracts#address-tabs", + icon: , + }, ]; export const HeaderMenuLinks = () => { diff --git a/packages/nextjs/generated/deployedContracts.ts b/packages/nextjs/generated/deployedContracts.ts index ebe2af2..77380a6 100644 --- a/packages/nextjs/generated/deployedContracts.ts +++ b/packages/nextjs/generated/deployedContracts.ts @@ -1,12 +1,12 @@ const contracts = { // modifile here. - 80001: [ + 534351: [ { - chainId: "80001", - name: "mumbai", + chainId: "534351", + name: "scrollSepolia", contracts: { VectorDBProposalGovernancer: { - address: "0x9d4716Dc798ceac7E40b0B692e7a2fc3A353C4B1", + address: "0xEd6a0A29A962B4296bCeEC4e1E55F5Ec0474EAC7", abi: [ { inputs: [], diff --git a/packages/nextjs/scaffold.config.ts b/packages/nextjs/scaffold.config.ts index 84e9c16..8092926 100644 --- a/packages/nextjs/scaffold.config.ts +++ b/packages/nextjs/scaffold.config.ts @@ -11,7 +11,7 @@ export type ScaffoldConfig = { const scaffoldConfig = { // The network where your DApp lives in - targetNetwork: chains.polygonMumbai, + targetNetwork: chains.scrollSepolia, // The interval at which your front-end polls the RPC servers for new data // it has no effect on the local network