Skip to content

Commit

Permalink
Moved tx urls to env
Browse files Browse the repository at this point in the history
  • Loading branch information
mvpoyatt authored and mvpoyatt committed Oct 17, 2024
1 parent 195875b commit 3d170e5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function Navbar() {

<div className="flex items-center shrink-0 ml-1 mr-10 pt-1">
<Link href="/">
<Image className="relative dark:invert opacity-95" src={'/Polymer_Logomark_Black.png'} width={32} height={32} alt={'Logo'} />
<Image className="relative dark:invert opacity-95" src={'/logo512.png'} width={32} height={32} alt={'Logo'} />
</Link>
</div>

Expand Down
7 changes: 5 additions & 2 deletions app/utils/chains/configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@ let baseClientName = process.env.BASE_CLIENT_NAME!;
let optimismRPC = process.env.OPTIMISM_RPC!;
let baseRPC = process.env.BASE_RPC!;

let opExplorer = process.env.NEXT_PUBLIC_OP_EXPLORER_URL!;
let baseExplorer = process.env.NEXT_PUBLIC_BASE_EXPLORER_URL!;

export const CHAIN_CONFIGS: {
[key in CHAIN]: Chain;
} = {
optimism: {
id: 11155420,
display: 'Optimism',
rpc: optimismRPC,
txUrl: 'https://optimism-sepolia.blockscout.com/',
txUrl: opExplorer,
dispatchers: [opDispatcher],
clients: [opClientName],
blockTime: 2,
Expand All @@ -29,7 +32,7 @@ export const CHAIN_CONFIGS: {
id: 84532,
display: 'Base',
rpc: baseRPC,
txUrl: 'https://base-sepolia.blockscout.com/',
txUrl: baseExplorer,
dispatchers: [baseDispatcher],
clients: [baseClientName],
blockTime: 2,
Expand Down
Binary file added public/favicon-new.ico
Binary file not shown.
Binary file modified public/favicon.ico
Binary file not shown.
Binary file added public/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"type": "image/x-icon"
},
{
"src": "Polymer_Logomark_Black.png",
"src": "logo512.png",
"type": "image/png",
"sizes": "2000x2286"
}
Expand Down

0 comments on commit 3d170e5

Please sign in to comment.