Skip to content

Commit

Permalink
Add Fuse Network
Browse files Browse the repository at this point in the history
  • Loading branch information
MayankMittal1 committed Dec 2, 2022
1 parent 457ec2f commit 204b482
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 1 deletion.
28 changes: 28 additions & 0 deletions src/database/data/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1195,5 +1195,33 @@ export const NETWORKS_CONFIG: NetworkConfig = {
initial: 1
},
supportsEIP1559: true
},
Fuse: {
id: 'Fuse',
name: 'Fuse Chain',
unit: 'FUSE' as TTicker,
chainId: 122,
isCustom: false,
color: '#194675',
blockExplorer: makeExplorer({
name: 'Fuse Explorer',
origin: 'https://explorer.fuse.io'
}),
tokens: [],
contracts: [],
dPaths: {
[WalletId.TREZOR]: DEFAULT_ETH,
[WalletId.LEDGER_NANO_S]: LEDGER_ETH,
[WalletId.TREZOR_NEW]: DEFAULT_ETH,
[WalletId.LEDGER_NANO_S_NEW]: LEDGER_ETH,
[WalletId.GRIDPLUS]: DEFAULT_ETH,
default: DEFAULT_ETH
},
gasPriceSettings: {
min: 10,
max: 20,
initial: 10
},
supportsEIP1559: false
}
};
8 changes: 8 additions & 0 deletions src/database/data/nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,5 +458,13 @@ export const NODES_CONFIG: { [key in NetworkId]: StaticNodeConfig[] } = {
service: 'Apothem.BlocksScan.io',
url: 'https://mycryptoarpc.blocksscan.io'
}
],
Fuse: [
{
name: NetworkUtils.makeNodeName('Fuse', 'rpc.fuse.io'),
type: NodeType.RPC,
service: 'rpc.fuse.io',
url: 'https://rpc.fuse.io'
}
]
};
3 changes: 2 additions & 1 deletion src/types/networkId.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ export type NetworkId =
| 'Fantom'
| 'HECO'
| 'XDC'
| 'XDCApothem';
| 'XDCApothem'
| 'Fuse';

0 comments on commit 204b482

Please sign in to comment.