@rei-network/common
The basic settings of rei, based on @gxchain2-ethereumjs/common
, including parameters of the mainnet and testnet:
chains
Chain information of each chaingenesisStates
Initial state of each chainRIP
(REI-Network Improvement Proposal) of each chainhardforks
Fork information of each chain
INSTALL
npm install @rei-network/common
USAGE
Common.createChainStartCommon("rei-mainnet");
Common.createCommonByBlockNumber(0, 12347);
Common.createCommonByBlockNumber(0, "goerli");
Common.createCommonByBlockNumber(0, {
chain: "mychain",
networkId: 100,
genesis: {
},
hardforks: [],
bootstrapNodes: [],
});
License
GNU General Public License v3.0