quiseos
Version:
EVM Networks & Node Providers Parameters Documentation
75 lines (72 loc) • 2.32 kB
text/typescript
import { BlockExplorerStandard, BlockExplorerType } from '../enums'
import { type Network } from '../types/types'
import { ankr, filecoinProvider } from '../providers'
export const filecoin = {
id: 314,
name: 'Filecoin Mainnet',
network: 'filecoin-mainnet',
infoUrl: 'https://filecoin.io/',
docsUrl: 'https://docs.filecoin.io/',
eipUrl: 'https://github.com/ethereum-lists/chains/blob/master/_data/chains/eip155-314.json',
nativeCurrency: {
name: 'Filecoin',
symbol: 'FIL',
uSymbol: 'aFIL',
decimals: 18,
},
rpcNodes: {
ankr: {
http: ['https://rpc.ankr.com/filecoin/'],
provider: ankr,
authenticated: false,
},
filecoin: {
http: ['https://api.node.glif.io/'],
provider: filecoinProvider,
authenticated: false,
},
public: {
http: ['https://api.node.glif.io/'],
provider: filecoinProvider,
authenticated: false,
},
default: {
http: ['https://api.node.glif.io/'],
provider: filecoinProvider,
authenticated: false,
},
},
blockExplorers: {
glif: {
name: 'Glif Explorer',
type: BlockExplorerType.Independent,
browserUrl: 'https://explorer.glif.io/',
standard: BlockExplorerStandard.None,
},
filscan: {
name: 'Filscan',
type: BlockExplorerType.Independent,
browserUrl: 'https://filscan.io/',
standard: BlockExplorerStandard.None,
},
filscout: {
name: 'Filscout',
type: BlockExplorerType.Independent,
browserUrl: 'https://www.filscout.com/',
standard: BlockExplorerStandard.None,
},
filfox: {
name: 'Filfox',
type: BlockExplorerType.Independent,
browserUrl: 'https://filfox.info/',
standard: BlockExplorerStandard.None,
},
default: {
name: 'Filfox',
type: BlockExplorerType.Independent,
browserUrl: 'https://filfox.info/',
standard: BlockExplorerStandard.None,
},
},
testnet: false,
} as const satisfies Network