This package provides a list of default smart contract addresses and official RPC/explorer URLs for the different layers of the Syscoin modular blockchain. The information is regularly updated to ensure that it remains accurate and up-to-date.
You can install Syscoin Networks via npm by running the following command:
yarn add syscoin-networks@https://github.com/SYS-Labs/syscoin-networks
You can import the package and use the following for reference:
const syscoinNetworks = require('syscoin-networks')
await syscoinNetworks.getNetworkByChainId(ChainID, syscoinNetworks.networks)
Syscoin Networks is based on code from Syscoin Bridge app.