Network Module

Network is a forta module to get common/popular networks chain properties like name, chainId, rpcURL and explorerURL.

Installation

npm i @forta/network

Getting Started

mport { Rinkeby } from "@forta/network"
const ADDRR = "0x6635f83421bf059cd8111f180f0727128685bae4"
console.log(Rinkeby.getExplorerURL(ADDRR))
// https://rinkeby.etherscan.io/address/0x6635f83421bf059cd8111f180f0727128685bae4