@gxchain2/common

The basic settings of gxchain2, based on @gxchain2-ethereumjs/common
, including parameters of the mainnet and testnet:
chains
Chain information of each chain
genesisStates
Initial state of each chain
GIP
(GXChain2.0 Improvement Proposal) of each chain
hardforks
Fork information of each chain
INSTALL
npm install @gxchain2/common
USAGE
Common.createChainStartCommon("gxc2-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