From 16ffe882bf1138a79a5ce26eadacb1bf2af75d16 Mon Sep 17 00:00:00 2001 From: pr0toshi <46229158+pr0toshi@users.noreply.github.com> Date: Fri, 27 Jan 2023 14:48:13 +0100 Subject: [PATCH 01/10] Update network.tsx --- config/network.tsx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/config/network.tsx b/config/network.tsx index d2942e824..b275087a8 100644 --- a/config/network.tsx +++ b/config/network.tsx @@ -10,10 +10,10 @@ 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: 5, + name: 'Goerli', + network: 'goerli', iconUrl: 'https://cryptologos.cc/logos/fantom-ftm-logo.svg?v=023', iconBackground: '#fff', nativeCurrency: { @@ -22,13 +22,13 @@ const SepC: Chain = { symbol: 'FTM', }, rpcUrls: { - default: 'https://sepolia.infura.io/v3/6822e4e6edc847829086404ffe6d5b2b', + default: 'https://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161', }, testnet: true, }; -const SepRPC = 'https://sepolia.infura.io/v3/6822e4e6edc847829086404ffe6d5b2b' -const SepA = '0xE565f05422481345b5Fad564DD9Ab7B0cE3Ec017' -const SepM = Main +const RPC = 'https://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161' +const A = '0x7Bae4f06a69C7E6664E52C71465d19ab946F0377' +const M = Main const BSCC: Chain = { id: 56, name: 'Binance Chain', @@ -61,11 +61,11 @@ const PolyA = '0x00f0feed50dcdf57b4f1b532e8f5e7f291e0c84b' const PolyN = '0x99029716DEeE316894DC8ce4f55Ab066222AACe6' const envVars = { - chainn:PolyC,//chainn, - rpc: PolyRPC, + chainn:C,//chainn, + rpc: RPC, createn: PolyN, - contractn: PolyA, - menun:PolyM + contractn: A, + menun:M } export default envVars From 6c65143632120bf6adb53d80e054bb4174cd7996 Mon Sep 17 00:00:00 2001 From: pr0toshi <46229158+pr0toshi@users.noreply.github.com> Date: Fri, 27 Jan 2023 15:02:25 +0100 Subject: [PATCH 02/10] Update _app.tsx --- pages/_app.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/_app.tsx b/pages/_app.tsx index e6a79980d..ccefb171d 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -157,7 +157,7 @@ function useData() { if (loaded == 0) { toast("Loading") } - const provider2 = new ethers.providers.JsonRpcProvider('https://polygon-rpc.com') + const provider2 = new ethers.providers.JsonRpcProvider(rpc) Contract = new ethers.Contract(contractaddrs, Abi, provider2); From 8461415bfa7ad3bc5e04c9fc4c5996ae41985c1d Mon Sep 17 00:00:00 2001 From: pr0toshi <46229158+pr0toshi@users.noreply.github.com> Date: Thu, 9 Feb 2023 09:09:36 +0100 Subject: [PATCH 03/10] Update _app.tsx --- pages/_app.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/_app.tsx b/pages/_app.tsx index ccefb171d..f510b28d3 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -331,8 +331,8 @@ const App = ({ Component, pageProps }: AppProps) => { - - + + From 992eacdb63b297d3b6a0193b9ccb58ebc7b256e8 Mon Sep 17 00:00:00 2001 From: pr0toshi <46229158+pr0toshi@users.noreply.github.com> Date: Thu, 23 Feb 2023 17:02:38 +0000 Subject: [PATCH 04/10] Update network.tsx --- config/network.tsx | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/config/network.tsx b/config/network.tsx index d2942e824..0ceff5038 100644 --- a/config/network.tsx +++ b/config/network.tsx @@ -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 = Main +const RPC = 'https://goerli.base.org' +const A = '0xE565f05422481345b5Fad564DD9Ab7B0cE3Ec017' +const M = Main const BSCC: Chain = { id: 56, name: 'Binance Chain', @@ -61,11 +61,11 @@ const PolyA = '0x00f0feed50dcdf57b4f1b532e8f5e7f291e0c84b' const PolyN = '0x99029716DEeE316894DC8ce4f55Ab066222AACe6' const envVars = { - chainn:PolyC,//chainn, - rpc: PolyRPC, - createn: PolyN, - contractn: PolyA, - menun:PolyM + chainn:C,//chainn, + rpc: RPC, + createn: N, + contractn: A, + menun:M } export default envVars From 1710b5ef809b76cf8563e37408ad910d3a16406e Mon Sep 17 00:00:00 2001 From: pr0toshi <46229158+pr0toshi@users.noreply.github.com> Date: Thu, 23 Feb 2023 19:08:14 +0000 Subject: [PATCH 05/10] Update network.tsx --- config/network.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/network.tsx b/config/network.tsx index 0ceff5038..7ac4514c3 100644 --- a/config/network.tsx +++ b/config/network.tsx @@ -58,7 +58,7 @@ const PolyM = [Ma const PolyC = chain.polygon const PolyRPC = 'https://polygon-rpc.com' const PolyA = '0x00f0feed50dcdf57b4f1b532e8f5e7f291e0c84b' -const PolyN = '0x99029716DEeE316894DC8ce4f55Ab066222AACe6' +const N = '0x99029716DEeE316894DC8ce4f55Ab066222AACe6' const envVars = { chainn:C,//chainn, From baa3e2cd937b4364158841901ac8c12ca0a9926e Mon Sep 17 00:00:00 2001 From: pr0toshi <46229158+pr0toshi@users.noreply.github.com> Date: Fri, 24 Feb 2023 13:34:19 +0000 Subject: [PATCH 06/10] Update network.tsx --- config/network.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/network.tsx b/config/network.tsx index a50ebb42f..cd14ccdd9 100644 --- a/config/network.tsx +++ b/config/network.tsx @@ -60,9 +60,9 @@ const A = '0xE565f05422481345b5Fad564DD9Ab7B0cE3Ec017' const PolyN = '0x99029716DEeE316894DC8ce4f55Ab066222AACe6' const envVars = { - chainn:PolyC,//chainn, - rpc: RPC, - createn: PolyN, + chainn:SepC,//chainn, + rpc: SepRPC, + createn: SepN, contractn: A, menun:M } From d51c6c8ed8defdff8ba521f8c93393eae72be16d Mon Sep 17 00:00:00 2001 From: pr0toshi <46229158+pr0toshi@users.noreply.github.com> Date: Fri, 24 Feb 2023 13:38:52 +0000 Subject: [PATCH 07/10] Update network.tsx --- config/network.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/network.tsx b/config/network.tsx index cd14ccdd9..6ac0aeb5f 100644 --- a/config/network.tsx +++ b/config/network.tsx @@ -57,12 +57,12 @@ const M = [Main Date: Fri, 24 Feb 2023 13:55:54 +0000 Subject: [PATCH 08/10] Update network.tsx --- config/network.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/config/network.tsx b/config/network.tsx index ed5d44db2..bf70916f5 100644 --- a/config/network.tsx +++ b/config/network.tsx @@ -52,11 +52,8 @@ const BSCRPC = 'https://bsc-dataseed.binance.org/' const BSCA = '0x18C519E0dA619d017908aFf504e782E381552620' const BSCN = '0xB8112446078378f0998FBf834D4683B6C8Ac08C7' const BSCM = [Main] -const M = [Main, -] + const PolyC = chain.polygon -const RPC = 'https://eth.plexnode.wtf' -const A = '0xE565f05422481345b5Fad564DD9Ab7B0cE3Ec017' const N = '0x99029716DEeE316894DC8ce4f55Ab066222AACe6' const envVars = { From 263c0bd1b6b8ecd5c096cf0c6947a9a198bf9b27 Mon Sep 17 00:00:00 2001 From: pr0toshi <46229158+pr0toshi@users.noreply.github.com> Date: Fri, 3 Mar 2023 19:20:56 +0000 Subject: [PATCH 09/10] Update _app.tsx --- pages/_app.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pages/_app.tsx b/pages/_app.tsx index a26d93502..25d62278f 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -282,7 +282,6 @@ const App = ({ Component, pageProps }: AppProps) => { const [openA, setOpenA] = useState(false); return ( -
@@ -441,7 +440,7 @@ const App = ({ Component, pageProps }: AppProps) => {
-
+ ) } export default App From f547cfc61fed6c2d782be9df5c0ffbf51002c759 Mon Sep 17 00:00:00 2001 From: pr0toshi <46229158+pr0toshi@users.noreply.github.com> Date: Fri, 3 Mar 2023 19:27:21 +0000 Subject: [PATCH 10/10] tt --- config/network.tsx | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/config/network.tsx b/config/network.tsx index bf70916f5..7d2e43a94 100644 --- a/config/network.tsx +++ b/config/network.tsx @@ -11,24 +11,27 @@ import { useEffect, useState } from "react"; import React from 'react'; const C: Chain = { - id: 5, - name: 'Goerli', - network: 'goerli', + + 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://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161', + + default: 'https://goerli.base.org', }, testnet: true, }; -const RPC = 'https://goerli.infura.io/v3/9aa3d95b3bc440fa88ea12eaa4456161' -const A = '0x7Bae4f06a69C7E6664E52C71465d19ab946F0377' -const M = Main +const RPC = 'https://goerli.base.org' +const A = '0xE565f05422481345b5Fad564DD9Ab7B0cE3Ec017' +const M = Main + const BSCC: Chain = { id: 56, name: 'Binance Chain', @@ -54,13 +57,13 @@ const BSCN = '0xB8112446078378f0998FBf834D4683B6C8Ac08C7' const BSCM = [Main] const PolyC = chain.polygon + const N = '0x99029716DEeE316894DC8ce4f55Ab066222AACe6' const envVars = { chainn:C,//chainn, rpc: RPC, createn: N, - contractn: A, menun:M }