Using built-in chains
Nexus ships with a handful of built-in chains. These can be accessed via theCHAIN
constant.
Adding custom chains
If your target chain is not supported by Nexus, you can add it as a custom chain. When creating a chain, you need to provide aname
, chainId
, and blockTime
. These values are then used to identify access, and fine-tune caching and other features.