Skip to content

Commit

Permalink
test-frontend-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfsayo committed May 8, 2024
1 parent 59ff72a commit c180b84
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 21 deletions.
4 changes: 4 additions & 0 deletions web-portal/frontend/sample.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=
NEXT_PUBLIC_RPC_ENDPOINT=
API_ENDPOINT=
NEXT_PUBLIC_APP_URL=
41 changes: 20 additions & 21 deletions web-portal/frontend/utils/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,32 @@ import { IToken } from "./types";

export const portrAddress = "0x54d5f8a0e0f06991e63e46420bcee1af7d9fe944";

export const apiUrl = process.env.NEXT_PUBLIC_API_ENDPOINT!;
export const APP_NAME = "Porters Frontend";
export const metadata = {
title: "Gateway Demo Portal",
description: "Welcome",
title: "Gateway Demo Portal",
description: "Welcome",
};

export const portrTokenData: IToken = {
chainId: 10,
address: portrAddress,
name: "PORTER Gateway",
symbol: "PORTR",
decimals: 18,
logoURI: "/favicon.ico",
chainId: 10,
address: portrAddress,
name: "PORTER Gateway",
symbol: "PORTR",
decimals: 18,
logoURI: "/favicon.ico",
};

export const supportedChains = [
{
id: "10",
name: "optimism",
exchangeProxy: `0xdef1abe32c034e558cdd535791643c58a13acc10` as Address,
portrAddress: "0x54d5f8a0e0f06991e63e46420bcee1af7d9fe944" as Address,
},
{
id: "8543",
name: "base",
exchangeProxy: `0xdef1c0ded9bec7f1a1670819833240f027b25eff` as Address,
portrAddress: "to-be-deployed",
},
{
id: "10",
name: "optimism",
exchangeProxy: `0xdef1abe32c034e558cdd535791643c58a13acc10` as Address,
portrAddress: "0x54d5f8a0e0f06991e63e46420bcee1af7d9fe944" as Address,
},
{
id: "8543",
name: "base",
exchangeProxy: `0xdef1c0ded9bec7f1a1670819833240f027b25eff` as Address,
portrAddress: "to-be-deployed",
},
];

0 comments on commit c180b84

Please sign in to comment.