Skip to content

Commit

Permalink
chore(fantom): added env
Browse files Browse the repository at this point in the history
  • Loading branch information
D4mph1r committed Oct 25, 2024
1 parent 85c2086 commit e3ad005
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ BASE_RPC=
MATIC_RPC=
HEDERA_RPC=
TON_RPC=
TEZOS_RPC=
TEZOS_RPC=
FANTOM_RPC=
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ export const prodBridgeConfig: IBridgeConfig = {
},
{
chain: "FANTOM",
rpcURL: "https://rpc.fantom.network",
rpcURL: process.env.FANTOM_RPC || "https://rpc.fantom.network",
nativeCoinSymbol: "FTM",
intialFund: "1000000000000000",
contractAddress: "0x2Aa8Dbb7543754d70B5A40D52cB81c2a0bB08B83",
Expand Down
1 change: 1 addition & 0 deletions src/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const Env = z.object({
HEDERA_RPC: z.string().optional(),
TON_RPC: z.string().optional(),
TEZOS_RPC: z.string().optional(),
FANTOM_RPC: z.string().optional(),
});
export type Env = z.infer<typeof Env>;

Expand Down

0 comments on commit e3ad005

Please sign in to comment.