String ('mainnet') or Number (1) or Dictionary with chain params
Returns bootstrap nodes for the current chain
Dict with bootstrap nodes
Returns the Id of current chain
chain Id
Returns the Id of gasCoin for current network
gasCoin Id
Returns the Genesis parameters of current chain
Genesis dictionary
Returns the name of current chain
chain name (lower case)
Returns the Id of current network
network Id
Creates a Chain object for a custom chain, based on a standard one. It uses all the ChainParams params from [[baseChain]] except the ones overridden in [[userConfig]].
The name (mainnet
) or id (1
) of a standard chain used to base the custom
chain params on.
The custom parameters of the chain.
Returns the ChainParams object represents given chain.
Generated using TypeDoc
Chain class to access chain parameters