From 39a60725599ee4fe36a7856d189dc8960e919109 Mon Sep 17 00:00:00 2001 From: Esper <81006672+lilesper@users.noreply.github.com> Date: Tue, 1 Feb 2022 02:42:06 -0700 Subject: [PATCH] Add FTM network (#179) * add FTM * Update package.json * Revert "Update package.json" This reverts commit d96e8eeb96cf7e8c959e3939d15570ae5ed0fba2. * fix merge conflicts & full name --- src/chains.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/chains.ts b/src/chains.ts index 63af706..0da494d 100644 --- a/src/chains.ts +++ b/src/chains.ts @@ -55,6 +55,12 @@ const METIS: Currency = { decimals: 18, } +const FTM: Currency = { + name: 'FTM', + symbol: 'FTM', + decimals: 18, +} + const DEV: Currency = { name: 'DEV', symbol: 'DEV', @@ -203,6 +209,15 @@ const CHAIN_INFORMATION = new Map([ testnet: true, }, ], + [250, { + id: 250, + nativeCurrency: FTM, + type: 'fantom', + fullName: 'Fantom Opera Mainnet', + shortName: 'FTM', + explorerUrl: `https://ftmscan.com/`, + testnet: false + }], [ 1666600000, {