Skip to content

Commit 73b3c8b

Browse files
committed
Add Fuse Network
1 parent 457ec2f commit 73b3c8b

File tree

3 files changed

+38
-1
lines changed

3 files changed

+38
-1
lines changed

src/database/data/networks.ts

+28
Original file line numberDiff line numberDiff line change
@@ -1195,5 +1195,33 @@ export const NETWORKS_CONFIG: NetworkConfig = {
11951195
initial: 1
11961196
},
11971197
supportsEIP1559: true
1198+
},
1199+
Fuse: {
1200+
id: 'Fuse',
1201+
name: 'Fuse Chain',
1202+
unit: 'FUSE' as TTicker,
1203+
chainId: 122,
1204+
isCustom: false,
1205+
color: '#194675',
1206+
blockExplorer: makeExplorer({
1207+
name: 'Fuse Explorer',
1208+
origin: 'https://explorer.fuse.io'
1209+
}),
1210+
tokens: [],
1211+
contracts: [],
1212+
dPaths: {
1213+
[WalletId.TREZOR]: DEFAULT_ETH,
1214+
[WalletId.LEDGER_NANO_S]: LEDGER_ETH,
1215+
[WalletId.TREZOR_NEW]: DEFAULT_ETH,
1216+
[WalletId.LEDGER_NANO_S_NEW]: LEDGER_ETH,
1217+
[WalletId.GRIDPLUS]: DEFAULT_ETH,
1218+
default: DEFAULT_ETH
1219+
},
1220+
gasPriceSettings: {
1221+
min: 10,
1222+
max: 30,
1223+
initial: 10
1224+
},
1225+
supportsEIP1559: false
11981226
}
11991227
};

src/database/data/nodes.ts

+8
Original file line numberDiff line numberDiff line change
@@ -458,5 +458,13 @@ export const NODES_CONFIG: { [key in NetworkId]: StaticNodeConfig[] } = {
458458
service: 'Apothem.BlocksScan.io',
459459
url: 'https://mycryptoarpc.blocksscan.io'
460460
}
461+
],
462+
Fuse: [
463+
{
464+
name: NetworkUtils.makeNodeName('Fuse', 'rpc.fuse.io'),
465+
type: NodeType.RPC,
466+
service: 'rpc.fuse.io',
467+
url: 'https://rpc.fuse.io'
468+
}
461469
]
462470
};

src/types/networkId.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ export type NetworkId =
3939
| 'Fantom'
4040
| 'HECO'
4141
| 'XDC'
42-
| 'XDCApothem';
42+
| 'XDCApothem'
43+
| 'Fuse';

0 commit comments

Comments
 (0)